mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 13:39:46 +00:00
remove myinttypes.h
This commit is contained in:
parent
9ec3345ed6
commit
3f461adae3
@ -60,7 +60,6 @@ set(HEADERS_ENGINE
|
||||
MCInstrDesc.h
|
||||
SStream.h
|
||||
cs_priv.h
|
||||
myinttypes.h
|
||||
include/platform.h
|
||||
)
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include "myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "SStream.h"
|
||||
#include "cs_priv.h"
|
||||
#include "utils.h"
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#ifdef CAPSTONE_HAS_ARM64
|
||||
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "ARMAddressingModes.h"
|
||||
#include "ARMBaseInfo.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <stdio.h> // DEBUG
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "ARMInstPrinter.h"
|
||||
#include "ARMAddressingModes.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "../../utils.h"
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#ifdef CAPSTONE_HAS_MIPS
|
||||
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h> // debug
|
||||
#include <string.h>
|
||||
|
@ -10,7 +10,7 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h> // debug
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
/// printInstruction - This method is automatically generated by tablegen
|
||||
/// from the instruction set description.
|
||||
|
@ -10,7 +10,7 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h> // debug
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
|
||||
/// printInstruction - This method is automatically generated by tablegen
|
||||
|
@ -10,7 +10,7 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h> // debug
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
|
||||
/// printInstruction - This method is automatically generated by tablegen
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "SystemZInstPrinter.h"
|
||||
#include "../../MCInst.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#if !defined(CAPSTONE_HAS_OSXKERNEL)
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
#if defined(CAPSTONE_HAS_OSXKERNEL)
|
||||
#include <libkern/libkern.h>
|
||||
#else
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#ifdef CAPSTONE_HAS_X86
|
||||
|
||||
#include "../../myinttypes.h" // debug
|
||||
#include <string.h>
|
||||
|
||||
#include "../../cs_priv.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#if !defined(CAPSTONE_HAS_OSXKERNEL)
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
#if defined(CAPSTONE_HAS_OSXKERNEL)
|
||||
#include <libkern/libkern.h>
|
||||
#else
|
||||
|
@ -10,7 +10,7 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h> // debug
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
|
||||
/// printInstruction - This method is automatically generated by tablegen
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../../myinttypes.h"
|
||||
#include <platform.h>
|
||||
|
||||
#include "XCoreInstPrinter.h"
|
||||
#include "../../MCInst.h"
|
||||
|
10
myinttypes.h
10
myinttypes.h
@ -1,10 +0,0 @@
|
||||
/* Capstone Disassembly Engine */
|
||||
/* By Axel Souchet, 2014 */
|
||||
|
||||
#ifndef CS_MYINTTYPES_H
|
||||
#define CS_MYINTTYPES_H
|
||||
|
||||
// The contents of myinttype.h are moved to platform.h
|
||||
#include <platform.h>
|
||||
|
||||
#endif
|
@ -9,8 +9,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
static csh handle;
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
static void test()
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
static csh handle;
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
static csh handle;
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -4,8 +4,8 @@
|
||||
// This sample code demonstrates the APIs cs_malloc() & cs_disasm_iter().
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -2,8 +2,8 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013> */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -2,8 +2,8 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -2,8 +2,8 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
static csh handle;
|
||||
|
@ -2,8 +2,8 @@
|
||||
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "../myinttypes.h"
|
||||
|
||||
#include <platform.h>
|
||||
#include <capstone.h>
|
||||
|
||||
struct platform {
|
||||
|
@ -308,7 +308,6 @@
|
||||
DC474F6B19DE6F3B00BCA449 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
DC5BFF4019EE544E008CA585 /* test_iter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test_iter; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DC5BFF4819EE54BE008CA585 /* test_iter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = test_iter.c; path = ../tests/test_iter.c; sourceTree = "<group>"; };
|
||||
DC696C5E1AD4600200A56306 /* myinttypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = myinttypes.h; path = ../myinttypes.h; sourceTree = "<group>"; };
|
||||
DCFE23BD19DDCC2D00EF8EA9 /* libcapstone.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcapstone.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DCFE23CD19DDCC9500EF8EA9 /* libcapstone.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcapstone.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DCFE23DD19DDCD8700EF8EA9 /* AArch64AddressingModes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AArch64AddressingModes.h; sourceTree = "<group>"; };
|
||||
@ -617,7 +616,6 @@
|
||||
DCFE24B719DDCE1E00EF8EA9 /* MCInstrDesc.h */,
|
||||
DCFE24A019DDCDEE00EF8EA9 /* MCRegisterInfo.c */,
|
||||
DCFE24B819DDCE1E00EF8EA9 /* MCRegisterInfo.h */,
|
||||
DC696C5E1AD4600200A56306 /* myinttypes.h */,
|
||||
DCFE24A119DDCDEE00EF8EA9 /* SStream.c */,
|
||||
DCFE24B919DDCE1E00EF8EA9 /* SStream.h */,
|
||||
DCFE24A219DDCDEE00EF8EA9 /* utils.c */,
|
||||
|
Loading…
Reference in New Issue
Block a user