Skip to content

Where is the format spec for release version object file? #17

Description

@alanccw

I try to use this document https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#coff-file-header-object-and-image

This spec works for debug version (Generated by VC++ 2008) object files. But not work for the release version.

I find the release version has an extra header with 6 bytes 00 00 FF FF 01 00, then followed by the target machine type(2 bytes), then the following 2 bytes are not the correct number of sections. So I think this is a separate spec for release version of .OBJ file, not follow or partially follow the COFF spec

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions