flat assembler
Message board for the users of flat assembler.
Index
> Windows > Make dmp file |
Author |
|
comrade 07 Mar 2011, 08:14
You mean like a process crash dump? For that you can use the MiniDumpWriteDump API.
But from looking at the source context, it sounds like I may have mistaken the context of your question. What kind of .dmp file? What for? |
|||
07 Mar 2011, 08:14 |
|
typedef 07 Mar 2011, 20:34
Are you trying to create your own file ?. Use Win32 API CreateFile, WriteFile, CloseHandle...
xm_lib file 'ufmod.dmp' ; must be at 0x00401000 !!! ^^^That seems like you are trying to extract the file from some place. If you know the structure of the file then you just move that offset into a register, EBX (I also rec. you push EBX first)... and then access the file contents by their address for ex. Code: ;assuming you have the file address in EAX MOV EBX,EAX MOV EAX,[EBX+nBytes_Of_Item_here] MOV dword[Some_Variable],EAX JMP .WriteSomeVariableToFileAndComeBack Is that it ? |
|||
07 Mar 2011, 20:34 |
|
asmhack 07 Mar 2011, 23:56
Just download ufmod package and look inside, there are some fasm examples inside to get you started. The source you posted is pretty outdated IIRC.
http://ufmod.sourceforge.net/ |
|||
07 Mar 2011, 23:56 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.