2023-10-16 11:16:47 -07:00
|
|
|
binfmt-detector-cli
|
2014-08-13 12:08:26 +01:00
|
|
|
|
|
|
|
This utility determines the Microsoft PE executable file's
|
2023-10-16 11:16:47 -07:00
|
|
|
type (Native or .NET CLR).
|
|
|
|
|
|
|
|
It is inteded to be used as a filter a Linux binfmt
|
|
|
|
configuration, since binfmt itself is incapable of reliably
|
|
|
|
distinguishing between various PE file types (since they have
|
|
|
|
no different "magic string").
|
|
|
|
|
2014-08-13 12:08:26 +01:00
|
|
|
Technical information
|
|
|
|
|
|
|
|
The file's type is determined from certain characteristics
|
|
|
|
in the PE / COFF file header. It should be noted that the
|
|
|
|
techniques used might not be standard and are not throughtly
|
|
|
|
tested to work, so false detections might occur.
|
2023-10-16 11:16:47 -07:00
|
|
|
|
|
|
|
To be considered a CLR executable, the PE header's directory
|
|
|
|
entry for the "CLR Header" must have a non-zero address and
|
|
|
|
a non-zero size.
|
|
|
|
|
|
|
|
Original Author
|
2014-08-13 12:08:26 +01:00
|
|
|
|
|
|
|
Ilya Konstantinov <future@shiny.co.il>
|
2023-10-16 11:16:47 -07:00
|
|
|
|
2014-08-13 12:08:26 +01:00
|
|
|
Licenses
|
|
|
|
|
|
|
|
This utility is covered by the GPL license.
|