mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
actually get global feature values
This commit is contained in:
@@ -41,7 +41,9 @@ class CapeExtractor(DynamicFeatureExtractor):
|
||||
)
|
||||
)
|
||||
self.report: CapeReport = report
|
||||
self.global_features = capa.features.extractors.cape.global_.extract_features(self.report)
|
||||
|
||||
# pre-compute these because we'll yield them at *every* scope.
|
||||
self.global_features = list(capa.features.extractors.cape.global_.extract_features(self.report))
|
||||
|
||||
def get_base_address(self) -> Union[AbsoluteVirtualAddress, _NoAddress, None]:
|
||||
# value according to the PE header, the actual trace may use a different imagebase
|
||||
|
||||
Reference in New Issue
Block a user