largely completed virus total logic

began implementing sorting logic (just for top pane)
This commit is contained in:
Patrick Wardle
2015-06-21 21:37:52 -10:00
parent 014f70da94
commit ff77a49ed5
20 changed files with 1020 additions and 287 deletions
+4 -9
View File
@@ -110,22 +110,17 @@
goto bail;
}
//indicate that binary is a task (main) executable
self.binary.isTaskBinary = YES;
//add to queue
// ->this will processing
[((AppDelegate*)[[NSApplication sharedApplication] delegate]).taskEnumerator.binaryQueue enqueue:self.binary];
//add to VT queue
// ->this will trigger background submission to VT
[((AppDelegate*)[[NSApplication sharedApplication] delegate]).taskEnumerator.binaryQueue enqueue:self.binary];
//add it to 'global' list
existingBinaries[taskPath] = self.binary;
}
//indicate that binary is a task (main) executable
//self.binary.isTaskBinary = YES;
}//init self
//bail
@@ -404,7 +399,7 @@ bail:
//add to task's dylibs
[self.dylibs addObject:dylib];
}
}
} //all dylibs
//sync to sort
@synchronized(self.dylibs)