flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Symbolic Symbol Understanding

Author
Thread Post new topic Reply to topic
Yardman



Joined: 12 Apr 2005
Posts: 244
Location: US
Yardman 19 Mar 2010, 03:46
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:21; edited 1 time in total
Post 19 Mar 2010, 03:46
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 19 Mar 2010, 13:45
Yes, you are right. The fasm formatter (FORMATS.INC) writes down the name of the default section to the final binary file, so the ".flat" never appears on the symbol tables. In other words, it is bypassed by the "dump_symbols" function.

IMHO it should be corrected for completness: the fas file should describe univocally the file that is going to be debugged.

(Note: topic moved to Compiler Internals)
Post 19 Mar 2010, 13:45
View user's profile Send private message Yahoo Messenger Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 244
Location: US
Yardman 19 Mar 2010, 20:00
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:21; edited 1 time in total
Post 19 Mar 2010, 20:00
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 19 Mar 2010, 21:01
The "sections" in .fas file correspond only to object file linkable sections, that may be a base symbols for some relocations. In case of executable files there's no such need, as PE sections are not relocated separately.
Post 19 Mar 2010, 21:01
View user's profile Send private message Visit poster's website Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 244
Location: US
Yardman 19 Mar 2010, 21:34
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:22; edited 1 time in total
Post 19 Mar 2010, 21:34
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 19 Mar 2010, 22:06
The .fas is meant to supplement output, not replace it. Note that sections list in .fas is merely for the purpose of references by some other symbols, you won't find information like section flags and other such specific things in the .fas file, you have to look them up in the output file.
Post 19 Mar 2010, 22:06
View user's profile Send private message Visit poster's website 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.