flat assembler
Message board for the users of flat assembler.

Index > Windows > crc32 self-check

Author
Thread Post new topic Reply to topic
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
Hello!

i making crc32 self-check program (everything is ready, but this), this programm mapping self to memory and then count crc, check starts at first section after pe-header.

Question: how to get pe-header size, before first section

ps. sorry for my pure english
ps. thanks to answers

_________________
[not enough memory]
Post 05 Oct 2004, 13:20
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
it is always static
sizeof(IMAGE_NT_HEADERS)
Post 05 Oct 2004, 15:31
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
comrade wrote:
it is always static
sizeof(IMAGE_NT_HEADERS)


and not depended on numbers of section?

_________________
[not enough memory]
Post 05 Oct 2004, 17:41
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
Vasilev Vjacheslav wrote:
and not depended on numbers of section?


Vasilev Vjacheslav wrote:
Question: how to get pe-header size, before first section


Apparentely not Smile

including the sections, it would be:
sizeof(IMAGE_NT_HEADERS) + IMAGE_NT_HEADERS.FileHeader.NumberOfSections * sizeof(IMAGE_SECTION_HEADER)

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 05 Oct 2004, 22:18
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
i found this site recently

http://www.magma.ca/~wjr

PEview Version 0.8.0 ( 29KB ) - my quick and easy way to view the structure and content of 32-bit Portable Executable (PE) and Component Object File Format (COFF) files which supports the viewing of EXE, DLL, OBJ, LIB, DBG, and other file types.

http://www.magma.ca/~wjr/PEview.zip

sincerely,
sulaiman chang
Post 06 Oct 2004, 02:50
View user's profile Send private message Visit poster's website Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav
comrade, ok, thank you, now i understand
vbVeryBeginner, thank you too, but lordpe and hiew is better and powerfull

_________________
[not enough memory]
Post 06 Oct 2004, 05:31
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
Try=> http://protools.cjb.net/
LOTs of utilities
Post 07 Oct 2004, 11:29
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
CRC and how to Reverse it
A CRC Tutorial & The c00l way to Reverse CRC
http://www.woodmann.com/fravia/crctut1.htm
Post 07 Oct 2004, 14:20
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.