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
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: 786 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
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
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: 17248
Location: In your JS exploiting you and your system
revolution
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
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
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
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
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: 140
Location: Severodvinsk, Russia
SFeLi
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 Visit poster's website ICQ Number Reply with quote
Minas



Joined: 02 Apr 2010
Posts: 4
Minas
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: 421 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-2020, Tomasz Grysztar.

Powered by rwasa.