mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
15 lines
No EOL
354 B
JavaScript
Executable file
15 lines
No EOL
354 B
JavaScript
Executable file
init("compiler", "Watcom");
|
|
|
|
function detect() {
|
|
var nData = ELF.getSectionNumber(".data");
|
|
|
|
var nOffset = ELF.getSectionFileOffset(nData);
|
|
var nSize = ELF.getSectionFileSize(nData);
|
|
if (ELF.findString(nOffset, nSize, "WATCOM") != -1) {
|
|
bDetected = true;
|
|
}
|
|
|
|
_setLang("C/C++", bDetected);
|
|
|
|
return result();
|
|
} |