trailofbits/binary_type_inference

Zexts/Sexts should be included in type constraints.

Closed this issue · 1 comments

Currently we ignore sign extend and zero extended copies and not emitting type constraints, we should infer from this behavior that the target is integral and match up the portion extended in the constraint. This issue is backlogged until the solver is implemented.

This is partially fixed in f915967 by assuming that any truncated or extended operation is the weakest integer type.