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

Implement a scalable way to dispatch recompiled code execution #6

Closed
DCNick3 opened this issue Apr 27, 2021 · 1 comment
Closed

Implement a scalable way to dispatch recompiled code execution #6

DCNick3 opened this issue Apr 27, 2021 · 1 comment

Comments

@DCNick3
Copy link
Owner

DCNick3 commented Apr 27, 2021

Currently a large switch-case is generated in uwin-remill. This is fine with small executables, but fails miserably with larger ones (order of 100,000s of recompiled functions) due to scalability problems in modern C++ compilers (see gcc bug). Either using binary trees or perfect hashing might be a good idea.

(For now perfec hashing seems very promising)

@DCNick3
Copy link
Owner Author

DCNick3 commented May 9, 2021

Related paper: https://programming.sirrida.de/hashsuper.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant