mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
16 lines
402 B
Text
16 lines
402 B
Text
// MFC is tested twice - as a library and as a compiler (to distinguish C from
|
|
// C++). Detect it once here.
|
|
|
|
var aMFC;
|
|
if(typeof aMFC==="undefined")
|
|
{
|
|
aMFC=PE.isLibraryPresentExp(/^MFC(\d+?)(u?)(d?)\.dll/i);
|
|
if(!aMFC)
|
|
{
|
|
if(PE.section[".data"]
|
|
&&PE.isSignatureInSectionPresent(PE.section[".data"].Number,"'CMFCComObject'"))
|
|
{
|
|
aMFC=1;
|
|
}
|
|
}
|
|
}
|