add new API
This commit is contained in:
@@ -383,5 +383,13 @@ int main(int argc, char* argv[]) {
|
||||
printf("result: %d \n", result);
|
||||
//DetectMalwareInDirectory(filePath);
|
||||
*/
|
||||
auto peInfo = getPeInfo("x");
|
||||
if (peInfo == nullptr) {
|
||||
return 0;
|
||||
}
|
||||
Sandbox se;
|
||||
se.InitEnv(peInfo);
|
||||
se.Run(0x7880);
|
||||
//se.Run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user