add new API

This commit is contained in:
huoji
2025-05-22 17:37:52 +08:00
parent fd9cb016e1
commit db8082d04a
5 changed files with 167 additions and 59 deletions

View File

@@ -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;
}