lifting-bits / remill

Library for lifting machine code to LLVM bitcode
Apache License 2.0
1.22k stars 142 forks source link

Fix Type Info for Register Variable GEPs #620

Closed 2over12 closed 1 year ago

2over12 commented 1 year ago

This PR closes #618 by returning the type from the arches reg info rather than the inferred type of the GEP.

2over12 commented 1 year ago

Hmm looks like this approach introduces a bug... not sure will have to look into it

EDIT: Ok the problem here is metavariables, ive pushed up a PR that uses the gep type for metavariables, but there may be cases where this falls over?