| 8 | #include "format.h" |
| 9 | |
| 10 | void disassemble(uint64_t addr, uint8_t *data, int len, char *result, bool verbose) |
| 11 | { |
| 12 | Instruction instr; |
| 13 | memset(&instr, 0, sizeof(instr)); |
| 14 | |
| 15 | aarch64_decompose(*(uint32_t *)data, &instr, addr); |
| 16 | |
| 17 | aarch64_disassemble(&instr, result, 1024); |
| 18 | } |
| 19 | |
| 20 | uint32_t get_encoding(uint8_t *data) |
| 21 | { |
nothing calls this directly
no test coverage detected