Delete platform.h and fix wrong identation.

test2
YUHANG TANG 8 years ago committed by Nguyen Anh Quynh
parent 61e5054b63
commit a7b4852453
  1. 6
      cstool/cstool.c
  2. 2
      cstool/cstool_arm.c
  3. 2
      cstool/cstool_arm64.c
  4. 2
      cstool/cstool_mips.c
  5. 1
      cstool/cstool_ppc.c
  6. 2
      cstool/cstool_sparc.c
  7. 2
      cstool/cstool_systemz.c
  8. 3
      cstool/cstool_x86.c
  9. 3
      cstool/cstool_xcore.c

@ -1,4 +1,4 @@
/* Tang Yuhang <1648200150@qq.com> 2016 */
/* Tang Yuhang <tyh000011112222@gmail.com> 2016 */
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
@ -7,7 +7,7 @@
#include <capstone/capstone.h>
#define VERSION "1.0"
#define VERSION "2.0"
void print_insn_detail_x86(csh ud, cs_mode mode, cs_insn *ins);
void print_insn_detail_arm(csh handle, cs_insn *ins);
@ -228,7 +228,7 @@ int main(int argc, char **argv)
}
if (!strcmp(mode, "x16")) {
md = CS_MODE_64;
md = CS_MODE_16;
arch = "x86";
err = cs_open(CS_ARCH_X86, CS_MODE_16, &handle);
}

@ -1,10 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -4,10 +4,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -4,10 +4,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -3,7 +3,6 @@
#include <stdio.h>
#include <platform.h>
#include <capstone.h>
static csh handle;

@ -3,10 +3,8 @@
#include <stdio.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -3,10 +3,8 @@
#include <stdio.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -4,11 +4,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

@ -2,11 +2,8 @@
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */
#include <stdio.h>
#include <platform.h>
#include <capstone.h>
static void print_string_hex(char *comment, unsigned char *str, size_t len)
{
unsigned char *c;

Loading…
Cancel
Save