Valhalla Legends Forums Archive | Java Programming | PE Files, IAT

AuthorMessageTime
HdxBmx27
Well, I've been poking around the PE file header specs.
And I ran across a problem.
When loading a file myself into memory. (Not for use for data access only)
I have to populate the IAT myself.
My question is this. What methods do you guys propose to populate the IAT table.
I *could* parse each of the file's the main file references, and calculate the addresses myself.
But that would either require a  large database of address->name combos.
Which is plausible due to the fact that no window's dll's overlap.
Or, I could do it a runtime, but that would require the users to have numerous more dll files...
Meh, just looking for ideas.

I don't want to use System.loadlibrary() as i do not fully know how loading a windows executable in a linux environment would work (IAT again)
~Hdx
June 28, 2007, 10:46 PM

Search