reversing a PE file into it's obj's?

Programming, for all ages and all languages.
User avatar
Sam111
Member
Member
Posts: 385
Joined: Mon Nov 03, 2008 6:06 pm

Re: reversing a PE file into it's obj's?

Post by Sam111 »

I believe I have answered this question previously.
Yes, I believe you did but I don't seem to full understand.

You have .rdata and symbol tables which are used in the obj's when linking to produce an exe file.
I would think the linker use the symbol table of each object and creates the .rdata for the exe on the file.

My confusion is how the obj's get linked to a exe file?
If you could explain one more time based on my simple example above I think I would be all set.

It must have to merge the sections first and then resolve symbols and create the .rdata section for the .exe file.
If that's all it does then how does it resolve symbols and how does it know if a symbol is not resolved.
I have seen something like symbol ???? but what happens if the symbol is at the address ?????
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: reversing a PE file into it's obj's?

Post by Combuster »

/me wonders what http://wiki.osdev.org/Getting_Started#R ... _Knowledge was again meant for

Edit: and google :(
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: reversing a PE file into it's obj's?

Post by JohnnyTheDon »

Post Reply