Skip to content

Recognize files compiled by Metrowerks CodeWarrior #117

Open
@jacobleeharris

Description

@jacobleeharris

DIE incorrectly recognizes a MWCC-compiled binary as compiled by GCC.

One method of identifying a MWCC-compiled binary is to check the .comment section which has the string
"MW CodeWarrior".

In stripped binaries, this is unfortunately not available. Another method of identifying MWCC is that MWCC uses a single section binary with the default linker script. Additionally, the last method I know of to detect MWCC is that MWCC uses a custom padding for executables.

As MWCC is a proprietary compiler, I unfortunately do not have access to any executables I could redistribute myself.

Here is an image of a MWCC-compiled executable being incorrectly designated as GCC:
MWCC Binary in DIE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions