xed
xed copied to clipboard
How to make the xed.lib file size MUCH smaller ?
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 ?
Please check:
- https://github.com/intelxed/xed#binary-size
- https://intelxed.github.io/build-manual/index.html#SHARED
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.
Hi, You can use the "--no-encoder" build knob. Please note the latest External Release v2023.06.07 improves decoder code size.