mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Rename many db/MSDOS detection rules to include category prefixes (e.g. compiler_, extender_, immunizer_, linker_, protector_, other_) for clearer organization. Add sLang assignment for Microsoft_C rule to set "C" or "C/C++" based on sName. Normalize formatting/whitespace in several scripts and remove executable bit from a few rule files. No detection logic changes besides the explicit sLang assignment.
20 lines
No EOL
624 B
JavaScript
20 lines
No EOL
624 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
meta("compiler", "Pascal/MT+86");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("e8$$$$8cc82e0306....2e0306....2e0306....2e0306....3b06....76..2ea1....2d....2ea3....3d....7f..1ee8")) {
|
|
sVersion = "3.1";
|
|
sOptions = "1982 by Digital Research, Inc.";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e8$$$$8cc82e0306....2e0306....2e0306....2e0306....3b06....76..1ee8")) {
|
|
sVersion = "3.01";
|
|
sOptions = "1982 by Digital Research, Inc.";
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Pascal";
|
|
|
|
return result();
|
|
} |