diff options
Diffstat (limited to 'arch/powerpc/assembler.h')
| -rw-r--r-- | arch/powerpc/assembler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/assembler.h b/arch/powerpc/assembler.h new file mode 100644 index 00000000..950386a9 --- /dev/null +++ b/arch/powerpc/assembler.h @@ -0,0 +1,6 @@ +/* this is intended for use by BINJA */ +int assemble_multiline(const std::string& code, std::vector<uint8_t>& result, std::string& err); + +/* this is lower level API intended to be use by benchmarking tools (eg: test_asm.cpp) */ +int assemble_single(std::string src, uint32_t addr, uint8_t *result, std::string& err, int& failures); +int disasm_capstone(uint8_t *data, uint32_t addr, std::string& result, std::string& err); |
