逆向工程核心原理书本案例

第二单元:helloword.c

#include "windows.h"
#include "tchar.h"
int _tmain(int argc,TCHAR *argv[])
{
	MessageBox(NULL,
				"Hello world!",
				"WWW.baidu.com",
				MB_OK);
	return 0;
} 

第三单元:LittleEndian.cpp  

#include "windows.h"

BYTE b = 0x12;
WORD w = 0x1234;
DWORD dw = 0x12345678;
char str[]="abcde";

int main(int argc,CHAR *argv[])
{
	byte lb = b;
	WORD lw = 0x1234;
	DWORD ldw = dw;
	char *lstr = str;
	
	return 0;
} 

  

猜你喜欢

转载自www.cnblogs.com/chrysanthemum/p/11780321.html