circuitous icon indicating copy to clipboard operation
circuitous copied to clipboard

Explicit instruction_length

Open pgoodman opened this issue 3 years ago • 0 comments

Right now things look at bit like this: image What it should look like is that there is a named advice node called instruction_length, and then each DecoderResult node should have an extra condition, e.g. instruction_length == 5, and then we should instead see (add rip instruction_length) rather than (add rip 5). Anywhere where there is a use of NEXT_PC in remill should then rely on the (add rip instruction_length) as the value for NEXT_PC.

pgoodman avatar Jul 12 '22 17:07 pgoodman