Detect-It-Easy/db/FPC
DosX 33711a0407 Add standard DiE-JS framework header to db files
Added a standard header comment to all db framework and detection rule files, indicating they are part of the Detect It Easy (DiE-JS) framework and warning against unauthorized changes. This improves consistency and clarifies file purpose for maintainers.
2025-08-27 23:21:24 +03:00

14 lines
No EOL
453 B
Text
Executable file

// Detect It Easy: DiE-JS framework file
// Don't change anything unless you're sure about what you're doing
// Free Pascal
// Author: Rinat Aminow <rinat84.a@gmail.com>
var bFPC;
if (typeof bFPC === "undefined" && typeof PE !== "undefined") {
if (PE.section[".data"]) {
var nOffset = PE.section[".data"].FileOffset + PE.section[".data"].FileSize - 0x1024;
bFPC = PE.findString(nOffset, 0x1024, "FPC ") != -1;
}
}