emproof-com / nyxstone

Nyxstone: assembly / disassembly library based on LLVM, implemented in C++ with Rust and Python bindings, maintained by emproof.com
https://www.emproof.com
MIT License
231 stars 6 forks source link

Some assembly inputs grow LLVM SmallVector beyond its capacity #17

Closed stuxnot closed 1 week ago

stuxnot commented 8 months ago

For the string "a a*", LLVM reports that it cannot grow a SmallVector beyond its capacity instead of correctly identifying the string as invalid.

stuxnot commented 1 week ago

This is an issue in LLVM (tracked here). Fixing this would force us to parse the supplied assembly, which goes beyond what nyxstone should provide.