File: SHDisassembler.h

package info (click to toggle)
capstone 5.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,188 kB
  • sloc: ansic: 96,086; cpp: 67,489; cs: 29,510; python: 25,829; pascal: 24,412; java: 15,582; ml: 14,473; makefile: 1,275; sh: 479; ruby: 386
file content (19 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh, 2018 */

#ifndef CS_SHDISASSEMBLER_H
#define CS_SHDISASSEMBLER_H

#include "../../MCInst.h"

typedef struct sh_info {
	cs_sh op;
} sh_info;

bool SH_getInstruction(csh ud, const uint8_t *code, size_t code_len,
		MCInst *instr, uint16_t *size, uint64_t address, void *info);

void SH_reg_access(const cs_insn *insn,
		   cs_regs regs_read, uint8_t *regs_read_count,
		   cs_regs regs_write, uint8_t *regs_write_count);
#endif