How to call _HeapAlloc@12 & _HeapReAlloc@16 ?
Posted: Mon Dec 31, 2012 1:08 pm
I can use calling:
!PUSH dword [_PB_MemoryBase]
!CALL _HeapDestroy@4
I can use calling:
!PUSH dword 0
!PUSH dword 4096
!PUSH dword 8
!CALL _HeapCreate@12
!MOV [PB_MemoryBase], EAX
But can't calling:
!CALL _HeapAlloc@12
&
!CALL _HeapReAlloc@16
Error: undefined symbol
How to call _HeapAlloc@12 & _HeapReAlloc@16 ?
!PUSH dword [_PB_MemoryBase]
!CALL _HeapDestroy@4
I can use calling:
!PUSH dword 0
!PUSH dword 4096
!PUSH dword 8
!CALL _HeapCreate@12
!MOV [PB_MemoryBase], EAX
But can't calling:
!CALL _HeapAlloc@12
&
!CALL _HeapReAlloc@16
Error: undefined symbol
How to call _HeapAlloc@12 & _HeapReAlloc@16 ?