Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes improper compartmentalization of project computations #1238

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

ivg
Copy link
Member

@ivg ivg commented Nov 12, 2020

This PR fixes a bug reported by @jtpaash (with a nicely reproducible
demo). The bug was introduced when we switched to lazy computations so
that now symtab and program data structures computations were delayed
and could be run in a different state than the disassembly. The main
culprit was that those computations were forgetting to properly open
the current package to be able to access the objects of the currently
disassembled program (they were instead picking those objects from the
lastly disassembled program). Fortunately the fix is obvious and
simple.

This PR fixes a bug reported by @jtpaash (with a nicely reproducible
demo). The bug was introduced when we switched to lazy computations so
that now symtab and program data structures computations were delayed
and could be run in a different state than the disassembly. The main
culprit was that those computations were forgetting to properly open
the current package to be able to access the objects of the currently
disassembled program (they were instead picking those objects from the
lastly disassembled program). Fortunately the fix is obvious and
simple.
@ivg ivg merged commit acf162d into BinaryAnalysisPlatform:master Nov 12, 2020
@ivg ivg deleted the fix-packages branch March 9, 2022 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant