Skip to content

Commit c358f39

Browse files
committed
add detection rule for FFmpeg/Lego1 (ELF)
Introduces new ELF signatures, those were mostly ported from the PE variant
1 parent 711d9d0 commit c358f39

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

db/ELF/FFmpeg.4.sg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Detect It Easy: detection rule file
2+
// Author: BJNFNE <[email protected]>
3+
4+
// https://ffmpeg.com/
5+
meta("library", "FFmpeg");
6+
7+
function detect() {
8+
if (ELF.isLibraryPresent("libffmpeg.so")) {
9+
bDetected = true;
10+
}
11+
12+
return result();
13+
}

db/ELF/Lego1.4.sg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Detect It Easy: detection rule file
2+
// Author: BJNFNE <[email protected]>
3+
4+
// https://github.com/isledecomp/isle-portable
5+
meta("library", "Lego1");
6+
7+
function detect() {
8+
if (ELF.isLibraryPresent("liblego1.so")) {
9+
bDetected = true;
10+
}
11+
12+
return result();
13+
}

0 commit comments

Comments
 (0)