IDA使用教程 一些数据类型定义

typedef          long long ll;

typedef unsigned long long ull;

#define __int64 long long

#define __int32 int

#define __int16 short

#define __int8  char

typedef __int64 ll;

typedef unsigned __int64 ull;

 

typedef unsigned int uint;

typedef unsigned char uchar;

typedef unsigned short ushort;

typedef unsigned long ulong;

 

typedef          char   int8;

typedef   signed char   sint8;

typedef unsigned char   uint8;

typedef          short  int16;

typedef   signed short  sint16;

typedef unsigned short  uint16;

typedef          int    int32;

typedef   signed int    sint32;

typedef unsigned int    uint32;

typedef ll              int64;

typedef ll              sint64;

typedef ull             uint64;

 

#define _BYTE  uint8

#define _WORD  uint16

#define _DWORD uint32

#define _QWORD uint64

 

因此DWORD是unsigned int,WORD是unsigned short,BYTE是unsigned char

 

LPDWORD为长指针,PDWORD为短指针。指针类型的命名方式一般是在其指向的数据类型前加LP或P,LP为长指针,P为短指针。但是,在32位系统中已经不再区分,都是一样的长度。

猜你喜欢

转载自blog.csdn.net/m0_43406494/article/details/109110983