flat assembler
Message board for the users of flat assembler.

Index > Main > IDA script which adds FASM debug info

Author
Thread Post new topic Reply to topic
southdy



Joined: 03 Sep 2010
Posts: 2
southdy 03 Sep 2010, 13:07
An IDC script which add fasm labels from fas file.
Please let me know if you met any problem.


Description: IDA script which adds FASM debug info
Download
Filename: loadfas.zip
Filesize: 972 Bytes
Downloaded: 1370 Time(s)

Post 03 Sep 2010, 13:07
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 03 Sep 2010, 13:54
Nice idea. I just can't imagine scenario where this would be useful.
Post 03 Sep 2010, 13:54
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
southdy



Joined: 03 Sep 2010
Posts: 2
southdy 03 Sep 2010, 14:24
vid wrote:
Nice idea. I just can't imagine scenario where this would be useful.


Maybe for somebody who use IDA for debugging?? Sad
Post 03 Sep 2010, 14:24
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 03 Sep 2010, 15:02
southdy wrote:
Maybe for somebody who use IDA for debugging?? Sad
Indeed. Don't worry about vid's comment (he must be having a bad hair day Razz).

Tomasz has already added this thread to the list of tools for debugging.
Post 03 Sep 2010, 15:02
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 03 Sep 2010, 15:50
Oh yeah, I absolutely forgot IDA can also be used for debugging now. I only use it for static disassembly.

My lack of imagination shouldn't have been viewed as discouragement in the first place Wink
Post 03 Sep 2010, 15:50
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Minas



Joined: 02 Apr 2010
Posts: 4
Minas 23 Nov 2010, 01:36
southdy, thank you very much for this script!
It helps me to rid of writing something like that manually Smile

PS In ideal world Tomasz would provide .map file generator initially
Post 23 Nov 2010, 01:36
View user's profile Send private message Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest 10 Feb 2012, 15:03
I have problems with this script.
I load .exe file to IDA (6.1), then use this script (File->Script file...->LoadFas.idc), choose .FAS file and get message "Symbol file C:/FASM/Projects/1212.fas has been loaded successfully." But nothing changes. No symbols are really loaded.
Post 10 Feb 2012, 15:03
View user's profile Send private message Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest 13 Feb 2012, 13:37
Does anyone use this script?.. I still need answer.
Post 13 Feb 2012, 13:37
View user's profile Send private message Reply with quote
SFeLi



Joined: 03 Nov 2004
Posts: 138
SFeLi 13 Feb 2012, 16:22
A temporary solution is to add fixups to your program:
Code:
data fixups
end data
; or
section '.relocs' fixups data discardable    
Post 13 Feb 2012, 16:22
View user's profile Send private message Reply with quote
Minas



Joined: 02 Apr 2010
Posts: 4
Minas 05 May 2015, 02:29
I updated the script to load not only first segment symbols ( code normally) but all segments (particularly data segments) -- see attachment
( plus few comments).


Description: Ida Pro IDC script to load fas file symbols of FASM, version 2: loads all segments
Download
Filename: ida_load_fas2.zip
Filesize: 1.63 KB
Downloaded: 985 Time(s)

Post 05 May 2015, 02:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.