0
ASM을 처음 사용하고 계속하기 전에 내가 이것을 작성했을 때 모든 것을 이해했는지 알아야합니다. 현재 코드는 다음과 같습니다 :ASM : LoadLibrary & GetProcAddress
push 0xDEADBEEF ; address of library name
mov eax, 0xDEADBEEF ; address of LoadLibraryA
call eax ; call LoadLibraryA
mov esi, eax ; store returned address
push 0xDEADBEEF ; address of function name
push esi
mov eax, 0xDEADBEEF ; address of GetProcAddress
call eax ; call GetProcAddress
mov esi, eax ; store returned address
push 0
push 0
push 0
call esi ; call the function returned by GetProcAddress
0xDEADBEEF는 나중에 패치 할 더미 주소입니다. 잘못된 것이 있습니까? =)
을 참조하십시오. 특별한 문제가 있습니까? –
@Michael 나는 내가 작성한 코드가 올바르게 작동하는지 (필자가 실제로 컴파일하고 더미 주소를 패치하기 전에) 알아야한다. – thatoneguy