flat assembler
Message board for the users of flat assembler.
Index
> Windows > adding windows debug info into .obj file generated fasm Goto page Previous 1, 2, 3 |
Author |
|
habran 17 Mar 2009, 12:42
Hi revolution, I solved problem with the VC2005 Error spawning 'cmd.exe'.
(I am not that smart, I found it on the web) solution: Quote:
and now I am happy _________________ down under |
|||
17 Mar 2009, 12:42 |
|
revolution 17 Mar 2009, 13:15
Oh, a compiler problem. Hehe, well, thankfully, I have never used that compiler. Well done on solving the problem. Looks like the compiler doesn't know how to set it self up properly. Doesn't say much good about the automated installer from MS.
|
|||
17 Mar 2009, 13:15 |
|
habran 17 Mar 2009, 13:42
You are right, but I enjoyed programing C# with it
|
|||
17 Mar 2009, 13:42 |
|
comrade 17 Mar 2009, 13:43
That means he has something else named cmd.exe in his PATH. Since %SystemRoot%\system32 is the first thing there. Definitely not a good idea.
|
|||
17 Mar 2009, 13:43 |
|
habran 17 Mar 2009, 13:51
If you have %SystemRoot%\system32 instead of $(SystemRoot)\System32
then you are in deep trouble |
|||
17 Mar 2009, 13:51 |
|
onlytest2 15 Apr 2009, 10:58
Terrible code. Real programmer's horror.
|
|||
15 Apr 2009, 10:58 |
|
revolution 15 Apr 2009, 11:42
onlytest2 wrote: Terrible code. Real programmer's horror. |
|||
15 Apr 2009, 11:42 |
|
Dreamz 17 Apr 2009, 01:50
hey, im no expert(but use to be a 3D modeler), but isnt .obj a 3d model file?
|
|||
17 Apr 2009, 01:50 |
|
revolution 17 Apr 2009, 02:23
.obj could be anything. But in the programming world, .obj usually means an intermediate file that can be linked into an executable.
|
|||
17 Apr 2009, 02:23 |
|
chenhy 20 Oct 2009, 03:01
Hi Sir:
Where can I get the pecvt.exe utility or source code of it? Please tell me , thank you. My email is chychen.chen@msa.hinet.net |
|||
20 Oct 2009, 03:01 |
|
chenhy 20 Oct 2009, 03:05
Ok, after i Register an login account and I get all the code I need, thank you all!
|
|||
20 Oct 2009, 03:05 |
|
n1kt0 22 Nov 2009, 10:32
how can I automate this process (*.fas2pdb) in the sheaf radasm+ollydbg? Manually this process is a very slow & labor-consuming
|
|||
22 Nov 2009, 10:32 |
|
n1kt0 22 Nov 2009, 15:54
D:\1\tools>FASM.EXE -s "C:\Documents and Settings\admin\Рабочий стол\some_progra
m.fas" "C:\Documents and Settings\admin\Рабочий стол\some_program.Asm" "C:\Docum ents and Settings\admin\Рабочий стол\some_program.obj" flat assembler version 1.68 (1144758 kilobytes memory) 2 passes, 0.1 seconds, 1024 bytes. D:\1\tools>pecvt.exe -v "C:\Documents and Settings\admin\Рабочий стол\some_progr am.fas" incorrect fas file signature D:\1\tools>pecvt.exe -v "C:\Documents and Settings\admin\Рабочий стол\some_progr am.fas" incorrect fas file signature D:\1\tools>pecvt.exe -v "C:\Documents and Settings\admin\Рабочий стол\some_progr am.fas" "C:\Documents and Settings\admin\Рабочий стол\some_program.obj" incorrect fas file signature What I do wrang ? |
|||
22 Nov 2009, 15:54 |
|
tooros 28 Apr 2010, 13:54
i recompile pecvt with if(head.signature!=0x1A736166) and now get error Unsupported machine type
use fasm 168 |
|||
28 Apr 2010, 13:54 |
|
alorent 29 Jan 2011, 19:33
Hello,
I'm trying to use this nice tool "pecvt.exe" on a file assembled with FASM 1.69.29 but I get "incorrect fas file signature" I have older version of FASM 1.68 but it also says the same error. Any help in making "pecvt.exe" to work with FASM 1.69.29? Thanks! |
|||
29 Jan 2011, 19:33 |
|
SFeLi 30 Jan 2011, 09:46
alorent, hex-edit pecvt.exe. Search for byte sequence 66 61 73 1b and replace 1b with 1a. Or you can fix it in the source: file fas_dispatcher.cpp line 312.
|
|||
30 Jan 2011, 09:46 |
|
alorent 30 Jan 2011, 10:51
Thanks SFeLi!!! That did the trick!
|
|||
30 Jan 2011, 10:51 |
|
alorent 06 Feb 2011, 11:14
Hello again,
I have seen that debug information for procedures ("proc") parameters and local variables in procedures are not added in the debug information with "pecvt". Would it be possible to add it to the debug ouput? Thanks! |
|||
06 Feb 2011, 11:14 |
|
r88 26 Feb 2016, 08:10
pectv file.fas file.obj
I'm debbugin in ollydbg and reading topic after. for pecvt15-03-09-SE: 004046C9 |. 8D77 09 LEA ESI,DWORD PTR DS:[EDI+9] ; | 004046CC |. 6A 38 PUSH 38 ; |size = 38 (56.) 004046CE |. 56 PUSH ESI ; |ptr 004046CF |. FF15 44D14000 CALL DWORD PTR DS:[<&MSVCR80.fread>] ; \fread 004046D5 |. 83C4 10 ADD ESP,10 004046D8 |. 813E 6661731B CMP DWORD PTR DS:[ESI],1B736166 004046DE |. 74 25 JE SHORT pecvt.00404705 004046E0 |. 68 98D44000 PUSH pecvt.0040D498 ; /format = "incorrect fas file signature " 004046E5 |. FF15 A4D04000 CALL DWORD PTR DS:[<&MSVCR80.printf>] ; \printf 004046EB |. 83C4 04 ADD ESP,4 004046EE |. 68 58DC4000 PUSH pecvt.0040DC58 need for pectv 1B736166, in *.fas 1A736166 search for 813E6661731B in winhex and replace 1B on 1A |
|||
26 Feb 2016, 08:10 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.