Skip to content
Snippets Groups Projects
  • Daniel Chen's avatar
    6cb3e237
    Rework the assembly-string->binary conversion. · 6cb3e237
    Daniel Chen authored and Jason Hiser's avatar Jason Hiser committed
    The old method involved writing assembly to a file, asking an external assembler to do the conversion, then processing the binary file to read the binary instructions back out.  This method is slow and relies on nasm, which isn't available on all machines or for the full variety of supported architectures.  The replacement is keystone, a 3rd party library that is linked to provide assembly->binary conversion.
    6cb3e237
    History
    Rework the assembly-string->binary conversion.
    Daniel Chen authored and Jason Hiser's avatar Jason Hiser committed
    The old method involved writing assembly to a file, asking an external assembler to do the conversion, then processing the binary file to read the binary instructions back out.  This method is slow and relies on nasm, which isn't available on all machines or for the full variety of supported architectures.  The replacement is keystone, a 3rd party library that is linked to provide assembly->binary conversion.