Skip to content

Fix Type Info for Register Variable GEPs#620

Merged
2over12 merged 3 commits intomasterfrom
ian/opaque_pointer_variable_find_bug
Aug 20, 2022
Merged

Fix Type Info for Register Variable GEPs#620
2over12 merged 3 commits intomasterfrom
ian/opaque_pointer_variable_find_bug

Conversation

@2over12
Copy link
Contributor

@2over12 2over12 commented Aug 20, 2022

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

@2over12 2over12 requested review from pgoodman and tetsuo-cpp August 20, 2022 13:58
@2over12 2over12 changed the title Ian/opaque pointer variable find bug Fix Type Info for Register Variable GEPs Aug 20, 2022
@2over12
Copy link
Contributor Author

2over12 commented Aug 20, 2022

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?

@2over12 2over12 merged commit 1f55826 into master Aug 20, 2022
@pgoodman pgoodman deleted the ian/opaque_pointer_variable_find_bug branch August 22, 2022 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants