flat assembler
Message board for the users of flat assembler.

Index > Main > How to find EOF ?

Author
Thread Post new topic Reply to topic
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz 27 Apr 2011, 12:07
Hello everyone, I have bit problem here.. I have executable file (eg. 1.exe) and adding some data variables in EOF but I can't find it from memory.. How can I do that ? Sad I mean, finding EOF of file in memory, is that even possible ?
Post 27 Apr 2011, 12:07
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 27 Apr 2011, 14:41
yes......
but i don't think you can read it directly from a structute formatted file.
just read the file into the structure.
if it's not that kind of file then get that memory space size. where it ends that is the EOF
Post 27 Apr 2011, 14:41
View user's profile Send private message Reply with quote
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz 27 Apr 2011, 17:22
typedef
How I guess, after EOF nothing are loaded in memory. So, I did it with opening current file + adding current size = EOF. Solved but not so cool ))
Post 27 Apr 2011, 17:22
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.