2013-11-27 12:11:31 +08:00
|
|
|
//===- ARMInstPrinter.h - Convert ARM MCInst to assembly syntax -*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This class prints an ARM MCInst to a .s file.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
/* Capstone Disassembler Engine */
|
|
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */
|
|
|
|
|
|
|
|
#ifndef CS_ARMINSTPRINTER_H
|
|
|
|
#define CS_ARMINSTPRINTER_H
|
|
|
|
|
|
|
|
#include "../../MCInst.h"
|
|
|
|
#include "../../MCRegisterInfo.h"
|
|
|
|
#include "../../SStream.h"
|
|
|
|
|
|
|
|
void ARM_printInst(MCInst *MI, SStream *O, void *Info);
|
2014-05-19 16:46:31 +08:00
|
|
|
void ARM_post_printer(csh handle, cs_insn *pub_insn, char *mnem, MCInst *mci);
|
2013-11-27 12:11:31 +08:00
|
|
|
|
2014-03-11 00:18:50 +08:00
|
|
|
// setup handle->get_regname
|
|
|
|
void ARM_getRegName(cs_struct *handle, int value);
|
|
|
|
|
2013-11-27 12:11:31 +08:00
|
|
|
#endif
|