Files
Tyler Wilding bfc4c18ada goalc: replicate tests for the majority of ARM64 non-simd cases (#4377)
- Adds `capstone` as a disassembling library that could eventually
replace Zydis (for now left that alone)
- Replicates all of the existing x86 tests to ARM64, fixed a bunch of
underlying issues along the way
- There are a very small handful of tests remaining that need to be
enabled / fixed
2026-08-16 15:34:37 -04:00

20 lines
482 B
C
Vendored
Generated

/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh, 2018 */
#include "EVMInstPrinter.h"
#include "EVMMapping.h"
void EVM_printInst(MCInst *MI, struct SStream *O, void *PrinterInfo)
{
SStream_concat0(O, EVM_insn_name((csh)MI->csh, MI->Opcode));
if (MI->Opcode >= EVM_INS_PUSH1 && MI->Opcode <= EVM_INS_PUSH32) {
unsigned int i;
SStream_concat0(O, "\t");
for (i = 0; i < MI->Opcode - EVM_INS_PUSH1 + 1; i++) {
SStream_concat(O, "%02x", MI->evm_data[i]);
}
}
}