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

Reduce memory use of x86 disassembly #1697

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

RyanGlScott
Copy link
Contributor

This patch brings in the changes from GaloisInc/flexdis86#43, which redesigns the x86_64 disassembler in flexdis86 to use a substantially smaller lookup table, thereby saving a fair bit of resident memory when doing x86-related proofs.

This patch brings in the changes from GaloisInc/flexdis86#43, which redesigns
the x86_64 disassembler in `flexdis86` to use a substantially smaller lookup
table, thereby saving a fair bit of resident memory when doing x86-related
proofs.
@robdockins robdockins mentioned this pull request Jul 1, 2022
@RyanGlScott
Copy link
Contributor Author

I was hoping that this might save enough memory to get PRs like #1689 to run within the memory limits of GitHub Actions runners. Alas, this doesn't appear to be the case. This PR would still be worthwhile on its own merits, however. For instance, @robdockins reports that a large SAW proof he is working on went from using 16+ GB of RAM to using only ~12.5 GB after this patch.

@RyanGlScott RyanGlScott requested a review from chameco July 5, 2022 11:56
@RyanGlScott RyanGlScott added the ready-to-merge If at least one person approves this PR, automatically merge it when CI finishes successfully. label Jul 5, 2022
@mergify mergify bot merged commit e0cdfa4 into master Jul 5, 2022
@mergify mergify bot deleted the x86-disassembly-memory-usage branch July 5, 2022 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge If at least one person approves this PR, automatically merge it when CI finishes successfully.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants