mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
9daa1ffbac
* Refactor HPPA * Add full HPPA 1.1 instructions support * Add HPPA 1.1 cs tests * Fix HPPA dissassembler * Add HPPA 2.0 instructions * Add HPPA tests * Fix HPPA disasm & printer * Update HPPA tests * Remove unused code * Add implicit register access info & Refactor HPPA main files * Add python bindings/tests and cstests * Fix HPPA disasm wrong decoding * Rewrite invalid test cases * Update HPPA python constants * Make HPPA python test executable * Change HPPA python tests sequence to match c tests * Refactor HPPA main files * Write target instead of offset in details * Add HPPA detail function support in cstest * Rewrite targets in branch tests * Make correct string modifier addition * Add hppa test calls * Add zero operands check * Remove MCOperand array * Change immediate values printing * Add HPPA 2.0 wide support * Fix invalid break instruction decode Remove unused code * Add HPPA to fuzzing tests * Add HPPA to options * Add HPPA to docs * Refactor HPPA * Fix invalid branch insn decoding * Add HPPA to labeler * clang-format hppa files * Document internal structures and minor refactoring * Add missing default statements * Fix invalid default statement
26 lines
509 B
C
26 lines
509 B
C
/* Capstone Disassembly Engine */
|
|
/* By Dmitry Sibirtsev <sibirtsevdl@gmail.com>, 2023 */
|
|
|
|
#ifndef CS_HPPAINSTPRINTER_H
|
|
#define CS_HPPAINSTPRINTER_H
|
|
|
|
#include <capstone/capstone.h>
|
|
|
|
#include "../../MCInst.h"
|
|
#include "../../SStream.h"
|
|
|
|
struct pa_insn {
|
|
hppa_insn insn;
|
|
hppa_insn_group grp;
|
|
};
|
|
|
|
struct pa_insn_fmt {
|
|
hppa_insn insn_id;
|
|
const char *format;
|
|
bool is_alternative; ///< true if some completer affects the instruction format
|
|
};
|
|
|
|
void HPPA_printInst(MCInst *MI, SStream *O, void *Info);
|
|
|
|
#endif
|