Re: How to find file size from pe32 header
- From: "Ole Nielsby" <spamtrap@xxxxxxxxxx>
- Date: Thu, 29 Dec 2005 00:58:14 +0100
"be.geek" <spamtrap@xxxxxxxxxx> wrote:
> This may not be the right forum (pls. point me if not)
>
> Is it possible to find the size of a pe32 file just from the header
> information?
>
> This question is pertinent when the file is not on the disk but rather
> embedded in a network flow, and I want to know where it begins and
> where it ends.
You need to walk the segment descriptors and find the last segment.
The info you need is in a sdk header file, winnt.h or something like that.
.
- Follow-Ups:
- Re: How to find file size from pe32 header
- From: spamtrap
- Re: How to find file size from pe32 header
- References:
- How to find file size from pe32 header
- From: be.geek
- How to find file size from pe32 header
- Prev by Date: How to find file size from pe32 header
- Next by Date: Troubles with Tlink
- Previous by thread: How to find file size from pe32 header
- Next by thread: Re: How to find file size from pe32 header
- Index(es):