mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
improve gcc MACH signature
Change bDetected types to = true to sync our coding standards, remove an duplicated MACH variant which is already in use by the signature
This commit is contained in:
parent
82469c4924
commit
6b276f63cb
1 changed files with 4 additions and 8 deletions
|
|
@ -1,5 +1,6 @@
|
|||
// Detect It Easy: detection rule file
|
||||
// Author: horsicq <horsicq@gmail.com>
|
||||
// Improved by: BJNFNE
|
||||
|
||||
meta("compiler", "gcc");
|
||||
|
||||
|
|
@ -7,22 +8,17 @@ function detect() {
|
|||
/* if(MACH.isLibraryPresent("libstdc++.6.dylib"))
|
||||
{
|
||||
sOptions="libstdc++";
|
||||
bDetected=1;
|
||||
bDetected = true;
|
||||
}
|
||||
else if(MACH.isLibraryPresent("libc++.1.dylib"))
|
||||
{
|
||||
sOptions="C++";
|
||||
bDetected=1;
|
||||
}
|
||||
else if(MACH.isLibraryPresent("libgcc_s.1.dylib"))
|
||||
{
|
||||
sOptions="C/C++";
|
||||
bDetected=1;
|
||||
bDetected = true;
|
||||
}
|
||||
else if(MACH.isLibraryPresent("libobjc.A.dylib"))
|
||||
{
|
||||
sOptions="Objective-C";
|
||||
bDetected=1;
|
||||
bDetected = true;
|
||||
} */
|
||||
|
||||
if (MACH.isLibraryPresent("libgcc_s.1.dylib")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue