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

How to make the xed.lib file size MUCH smaller ? #296

Open
Victor6799 opened this issue Feb 27, 2023 · 3 comments
Open

How to make the xed.lib file size MUCH smaller ? #296

Victor6799 opened this issue Feb 27, 2023 · 3 comments
Assignees
Labels

Comments

@Victor6799
Copy link

Right now as it stands this file sits at nearly 16MB. All that I would like to accomplish is to decode (disassemble) binary code on the fly 1-15 bytes at a time. Is it possible to statically link the xed.lib file with my project and still have the overall size no larger than 1-2MB ?

@marjevan
Copy link
Member

marjevan commented Feb 27, 2023

@marjevan marjevan self-assigned this Feb 27, 2023
@Victor6799
Copy link
Author

Thanks again @marjevan. I need to statically link the xed.lib file for windows into my KMDF device driver project. Where can I find any documentation on how to strip the binaries or make just the decoder no encoder ? Thank you.

@marjevan
Copy link
Member

marjevan commented Jun 8, 2023

Hi,
You can use the "--no-encoder" build knob.
Please note the latest External Release v2023.06.07 improves decoder code size.

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

No branches or pull requests

2 participants