mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
Merge branch 'wb-proto' of personal.github.com:mandiant/capa into wb-proto
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## master (unreleased)
|
||||
|
||||
### New Features
|
||||
- add protobuf format for result documents #1219 @williballenthin
|
||||
- add protobuf format for result documents #1219 @williballenthin @mr-tz
|
||||
|
||||
- new cli flag `--os` to override auto-detected operating system for a sample @captainGeech42
|
||||
|
||||
|
||||
@@ -1109,10 +1109,7 @@ def _039a6_dotnetfile_extractor():
|
||||
|
||||
|
||||
def get_result_doc(path):
|
||||
with open(path, "rb") as f:
|
||||
buf = f.read()
|
||||
src = buf.decode("utf-8")
|
||||
return capa.render.result_document.ResultDocument.parse_raw(src)
|
||||
return capa.render.result_document.ResultDocument.parse_file(path)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user