摘要:
xxx.asm: %define p1 ebp+8 %define p2 ebp+12 %define p3 ebp+16 section .text global dllmain dllmain: mov eax,1 ret 12 aat: push ebp mov ebp,esp ; 函数必须保 阅读全文
摘要:
制作DLL xxx.asm: %macro fb 0 push ebp mov ebp,esp %endmacro %macro fa 1 mov esp,ebp pop ebp ret %1 %endmacro section .text global dllmain dllmain: mov e 阅读全文
摘要:
hello.asm: extern MessageBoxA extern ExitProcess section .data title db "caption.",0 message db "hello world....",0 section .text global main main: pu 阅读全文
摘要:
#pragma warning( disable : 4996) #include <winsock2.h> #include <ws2tcpip.h> #include <iphlpapi.h> #include <stdio.h> #include <string> #include <vect 阅读全文
摘要:
>netstat -aon | findstr 11380 TCP 191.127.1.7:57936 29.225.107.216:3734 ESTABLISHED 11380 过滤器: tcp&&ip.addr==191.127.1.7&&tcp.port==57936&&ip.dst==29. 阅读全文
摘要:
以太网 class Ethernet { static readonly size = 14; get Destination(): string { return [ this.view.getUint8(0), this.view.getUint8(1), this.view.getUint8( 阅读全文
摘要:
赋值过程 int a = 1; int b = a++; x86 反汇编: int a = 1; 00D06428 C7 45 F8 01 00 00 00 mov dword ptr [a],1 int b = a++; 00D0642F 8B 45 F8 mov eax,dword ptr [a 阅读全文
摘要:
TCP/IP传输层 文档 随便找了个发送的TCP: 70 89 cc ee 84 2c 3c 2c 30 a6 a2 d0 08 00 45 00 00 4c c7 a8 40 00 80 06 00 00 c0 a8 01 06 31 eb 6b da b6 ef 0e 96 37 84 39 6 阅读全文
摘要:
参考手册 hello.dll #include "pch.h" #include "lua.hpp" #pragma comment(lib, "lua.lib") BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LP 阅读全文
摘要:
char text[2014]; GetModuleBaseNameA(GetCurrentProcess(), 0, text, 1024); HMODULE hModule = GetModuleHandleA(text); HMODULE hModule = GetModuleHandleA( 阅读全文