Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinExport2 backend #1950

Merged
merged 252 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from 221 commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
ad732fc
elf: os: detect Android via clang compiler .ident note
williballenthin Jan 25, 2024
270956b
elf: os: detect Android via dependency on liblog.so
williballenthin Jan 25, 2024
e064ce8
main: split main into a bunch of "main routines"
williballenthin Jan 25, 2024
30fe988
Merge branch 'feat/1813' into feat/1755
williballenthin Jan 25, 2024
e1186c5
features: add BinExport2 declarations
williballenthin Jan 25, 2024
3acdd28
BinExport2: initial skeleton of feature extraction
williballenthin Jan 25, 2024
ebdc5fc
main: remove references to wip BinExport2 code
williballenthin Jan 25, 2024
4b039cd
changelog
williballenthin Jan 25, 2024
dfa6c28
main: rename first position argument "input_file"
williballenthin Jan 25, 2024
8c2c486
main: linters
williballenthin Jan 25, 2024
a9e1fd9
main: move rule-related routines to capa.rules
williballenthin Jan 25, 2024
d8d7f28
main: extract routines to capa.loader module
williballenthin Jan 25, 2024
256d478
add loader module
williballenthin Jan 26, 2024
f652b36
Merge branch 'master' of public.github.com:mandiant/capa into feat/1813
williballenthin Jan 26, 2024
554df5c
loader: learn to load freeze format
williballenthin Jan 26, 2024
2d190aa
freeze: use new cli arg handling
williballenthin Jan 26, 2024
247209b
Update capa/loader.py
williballenthin Jan 26, 2024
0a979a3
main: remove duplicate documentation
williballenthin Jan 26, 2024
44faf00
Merge branch 'feat/1813' of public.github.com:mandiant/capa into feat…
williballenthin Jan 26, 2024
4183f86
main: add doc about where some functions live
williballenthin Jan 26, 2024
d536b9a
scripts: migrate to new main wrapper helper functions
williballenthin Jan 26, 2024
43bb9e7
scripts: port to main routines
williballenthin Jan 26, 2024
786cbb8
main: better handle auto-detection of backend
williballenthin Jan 26, 2024
0cb1f9e
scripts: migrate bulk-process to main wrappers
williballenthin Jan 26, 2024
b3b1943
scripts: migrate scripts to main wrappers
williballenthin Jan 26, 2024
189ae24
main: rename *_from_args to *_from_cli
williballenthin Jan 26, 2024
7d80c91
changelog
williballenthin Jan 26, 2024
435a3ca
cache-ruleset: remove duplication
williballenthin Jan 26, 2024
3b4d2f4
main: fix tag handling
williballenthin Jan 26, 2024
2b86c6e
cache-ruleset: fix cli args
williballenthin Jan 26, 2024
e3c8018
cache-ruleset: fix special rule cli handling
williballenthin Jan 26, 2024
de45f20
scripts: fix type bytes
williballenthin Jan 26, 2024
051b336
Merge remote-tracking branch 'origin/feat/1813' into feat/1755
williballenthin Jan 26, 2024
9c61809
main: nicely format debug messages
williballenthin Jan 26, 2024
10c2e87
helpers: ensure log messages aren't very long
williballenthin Jan 26, 2024
b97d6c5
flake8 config
williballenthin Jan 26, 2024
7573c94
binexport2: formatting
williballenthin Jan 26, 2024
f01de85
loader: learn to load BinExport2 files
williballenthin Jan 26, 2024
40bcb1a
main: debug log the format and backend
williballenthin Jan 29, 2024
edbebb7
Merge branch 'master' of public.github.com:mandiant/capa into feat/1755
williballenthin Jan 29, 2024
453094b
elf: add more arch constants
williballenthin Jan 29, 2024
6cb9175
binexport: parse global features
williballenthin Jan 29, 2024
dbdf33d
binexport: extract file features
williballenthin Jan 29, 2024
9681c53
binexport2: begin to enumerate function/bb/insns
williballenthin Jan 29, 2024
d71d087
binexport: pass context to function/bb/insn extractors
williballenthin Jan 29, 2024
a7a6e53
binexport: linters
williballenthin Jan 30, 2024
217a9a9
binexport: linters
williballenthin Jan 30, 2024
f236ff2
scripts: add script to inspect binexport2 file
williballenthin Jan 30, 2024
2202dc7
inspect-binexport: fix xref symbols
williballenthin Jan 30, 2024
265ffe1
inspect-binexport: factor out the index building
williballenthin Jan 30, 2024
27f60f3
binexport: move index to binexport extractor module
williballenthin Jan 30, 2024
5d510c1
binexport: implement ELF/aarch64 GOT/thunk analyzer
williballenthin Jan 30, 2024
162a0e8
binexport: implement API features
williballenthin Jan 30, 2024
3a943bf
binexport: record the full vertex for a thunk
williballenthin Jan 30, 2024
f318129
binexport: learn to extract numbers
williballenthin Jan 30, 2024
afbff1b
binexport: number: skipped mapped numbers
williballenthin Jan 30, 2024
eb72d41
binexport: fix basic block address indexing
williballenthin Jan 31, 2024
24ebea8
binexport: rename function
williballenthin Jan 31, 2024
e9e93da
binexport: extract operand numbers
williballenthin Jan 31, 2024
a405d4c
binexport: learn to extract calls from characteristics
williballenthin Jan 31, 2024
874fa89
binexport: learn to extract mnemonics
williballenthin Jan 31, 2024
159a796
pre-commit: skip protobuf file
williballenthin Jan 31, 2024
a1ad2d0
binexport: better search for sample file
williballenthin Jan 31, 2024
673048f
loader: add file extractors for BinExport2
williballenthin Jan 31, 2024
0f5d47c
binexport: remove extra parameter
williballenthin Jan 31, 2024
ffce03b
new black config
williballenthin Jan 31, 2024
249398a
binexport: index string xrefs
williballenthin Jan 31, 2024
5e9b308
binexport: learn to extract bytes and strings
williballenthin Jan 31, 2024
4645363
binexport: cache parsed PE/ELF
williballenthin Jan 31, 2024
373e944
Merge branch 'master' into feat/1755
williballenthin Jan 31, 2024
d2c744a
binexport: handle Ghidra SYMBOL numbers
williballenthin Jan 31, 2024
1835587
binexport2: handle binexport#78 (Ghidra only uses SYMBOL expresssions)
williballenthin Feb 1, 2024
af4882d
Merge branch 'master' into feat/1755
williballenthin Feb 1, 2024
933c9b1
main: write error output to stderr, not stdout
williballenthin Feb 1, 2024
f067f77
scripts: add example detect-binexport2-capabilities.py
williballenthin Feb 1, 2024
fead3a6
detect-binexport2-capabilities: more documentation/examples
williballenthin Feb 1, 2024
cc135df
Merge branch 'master' into feat/1755
williballenthin Feb 2, 2024
8387be5
elffile: recognize more architectures
williballenthin Feb 2, 2024
457df8a
binexport: handle read_memory errors
williballenthin Feb 2, 2024
03c5130
binexport: index flow graphs by address
williballenthin Feb 2, 2024
8283e36
binexport: cleanup logging
williballenthin Feb 2, 2024
5ea8826
binexport: learn to extract function names
williballenthin Feb 2, 2024
6a54e06
binexport: learn to extract all function features
williballenthin Feb 2, 2024
4b45156
binexport: learn to extract bb tight loops
williballenthin Feb 2, 2024
fdf5305
elf: don't require vivisect just for type annotations
williballenthin Feb 14, 2024
a95e46c
main: remove unused imports
williballenthin Feb 14, 2024
1813091
rules: don't eagerly import ruamel until needed
williballenthin Feb 14, 2024
365b712
loader: avoid eager imports of some backend-related code
williballenthin Feb 14, 2024
a20fef5
changelog
williballenthin Feb 14, 2024
44b3d85
fmt
williballenthin Feb 14, 2024
d5c4f78
Merge branch 'lazy-imports' into feat/1755
williballenthin Feb 14, 2024
5c417cc
binexport: better render optional fields
williballenthin Mar 18, 2024
6e497ed
merge upstream
mike-hunhoff Mar 22, 2024
0d9d4c6
fix merge conflicts
mike-hunhoff Mar 22, 2024
9c66b3a
fix formatting
mike-hunhoff Mar 22, 2024
59775b2
remove Ghidra data reference madness
mike-hunhoff Mar 22, 2024
d39358e
handle PermissionError when searching sample file for BinExport2 file
mr-tz Apr 3, 2024
c1243cd
handle PermissionError when searching sample file for BinExport2 file
mr-tz Apr 3, 2024
b1d9554
add Android as valid OS
mr-tz Apr 4, 2024
cd62b87
Merge branch 'feat/1755' of github.com:mandiant/capa into feat/1755
mr-tz Apr 4, 2024
14ff189
inspect-binexport: strip strings
williballenthin Apr 8, 2024
10291e7
inspect-binexport: render operands
williballenthin Apr 9, 2024
2783b10
fix lints
williballenthin Apr 9, 2024
a7447ed
ruff: update config layout
williballenthin Apr 9, 2024
82dd3d7
inspect-binexport: better align comments/xrefs
williballenthin Apr 9, 2024
8ed84f1
Merge branch 'master' into feat/1755
mr-tz Apr 9, 2024
221eaa2
use explicit search paths to get sample for BinExport file
mr-tz Apr 9, 2024
85f72ec
add initial BinExport tests
mr-tz Apr 9, 2024
172b66d
add/update BinExport tests and minor fixes
mr-tz Apr 9, 2024
b07b498
inspect-binexport: add perf tracking
williballenthin Apr 12, 2024
14116f7
inspect-binexport: cache rendered operands
williballenthin Apr 12, 2024
971ff49
Merge branch 'feat/1755' of github.com:mandiant/capa into feat/1755
williballenthin Apr 12, 2024
26d4bad
lints
williballenthin Apr 12, 2024
29c2cbd
do not extract number features for ret instructions
mr-tz Apr 22, 2024
9543e46
Fix BinExport's "tight loop" feature extraction.
larchchen Apr 22, 2024
e59a64a
Merge pull request #2050 from larchchen/feat/1755
mr-tz Apr 22, 2024
498ff72
inspect-binexport: better render data section
williballenthin Apr 23, 2024
2321395
Merge branch 'feat/1755' of github.com:mandiant/capa into feat/1755
williballenthin Apr 23, 2024
f83da38
linters
williballenthin Apr 23, 2024
992049d
main: accept --format=binexport2
williballenthin Apr 23, 2024
0dea7a3
binexport: insn: add support for parsing bare immediate int operands
williballenthin Apr 23, 2024
966e62d
binexport2: bb: fix tight loop detection
williballenthin Apr 23, 2024
dc8c7e8
binexport: api: generate variations of Win32 APIs
williballenthin Apr 23, 2024
f37dd70
lints
williballenthin Apr 23, 2024
b4558df
binexport: index: don't assume instruction index is 1:1 with address
williballenthin Apr 24, 2024
9c99af9
be2: index instruction addresses
mike-hunhoff Apr 30, 2024
1fea6ab
be2: temp remove bytes feature processing
mike-hunhoff Apr 30, 2024
a5f26e3
merge upstream
mike-hunhoff May 2, 2024
8760481
binexport: read memory from an address space extracted from PE/ELF
williballenthin May 3, 2024
37aca87
be2: resolve thunks to imported functions
mike-hunhoff May 3, 2024
1fcb272
merge upstream
mike-hunhoff May 3, 2024
89c9126
be2: check for be2 string reference before bytes/string extraction ov…
mike-hunhoff May 3, 2024
bf33db8
be2: remove unneeded check
mike-hunhoff May 3, 2024
8050a2f
be2: do not process thunks
mike-hunhoff May 3, 2024
45d39cf
merge upstream
mike-hunhoff May 3, 2024
2924bc3
Merge branch 'master' into feat/1755
williballenthin May 7, 2024
5390e1a
be2: insn: polish thunk handling a bit
williballenthin May 7, 2024
9a9d5a2
be2: pre-compute thunk targets
mike-hunhoff May 7, 2024
136cac9
merge upstream
mike-hunhoff May 7, 2024
054f39b
Merge branch 'master' into feat/1755
williballenthin May 14, 2024
48881a2
Merge branch 'master' into feat/1755
williballenthin May 22, 2024
68e8506
Merge branch 'master' into feat/1755
mr-tz May 23, 2024
8a3b267
parse negative numbers
mr-tz May 23, 2024
0ad7aea
update tests to use Ghidra-generated BinExport file
mr-tz May 23, 2024
b364485
remove unused import
mr-tz May 23, 2024
674a89b
black reformat
mr-tz May 23, 2024
2b0cc2c
run tests always (for now)
mr-tz May 23, 2024
51578ca
binexport: tests: fix test case
mike-hunhoff May 24, 2024
a80bcc7
binexport: extractor: fix insn lint
mike-hunhoff May 24, 2024
510aed2
binexport: addressspace: use base address recovered from binexport file
mike-hunhoff May 24, 2024
9066a21
Add nzxor charecteristic in BinExport extractor.
larchchen May 8, 2024
bba29f4
add tests, fix stack cookie detection
mr-tz May 28, 2024
58a8118
test BinExport feature PRs
mr-tz May 28, 2024
b92eba7
reformat and fix
mr-tz May 28, 2024
3ed0075
Merge pull request #2073 from larchchen/feat/1755
mr-tz May 28, 2024
6449520
Merge branch 'master' into feat/1755
mr-tz May 28, 2024
acbbca2
complete TODO descriptions
mr-tz May 28, 2024
70891e4
wip tests
mr-tz May 29, 2024
b578c4d
merge upstream
mike-hunhoff May 29, 2024
1d25c45
merge upstream
mike-hunhoff May 31, 2024
cbe83dd
binexport: add typing where applicable (#2106)
mike-hunhoff May 31, 2024
bb4e892
binexport2: revert import names from BinExport2 proto
williballenthin Jun 3, 2024
8deb280
fix stack offset numbers and disable offset tests
mr-tz Jun 3, 2024
a2dc855
xfail OperandOffset
mr-tz Jun 3, 2024
36cb7d9
generate symbol variants
mr-tz Jun 3, 2024
f98465a
wip: read negative numbers
mr-tz Jun 3, 2024
fe2e80f
update tight loop tests
mr-tz Jun 4, 2024
798894a
binexport: fix function loop feature detection
mike-hunhoff Jun 4, 2024
9e94987
binexport: update binexport function loop tests
mike-hunhoff Jun 4, 2024
45b7b59
binexport: fix lints and imports
mike-hunhoff Jun 4, 2024
e7e786c
binexport: add back assert statement to thunk calculation
mike-hunhoff Jun 4, 2024
427aad4
binexport: update tests to use Ghidra binexport file
mike-hunhoff Jun 4, 2024
78665fc
merge upstream
mike-hunhoff Jun 4, 2024
6efb46e
binexport: add additional debug info to thunk calculation assert
mike-hunhoff Jun 5, 2024
207a48e
Merge branch 'master' into feat/1755
williballenthin Jun 6, 2024
869b2f6
binexport: update unit tests to focus on Ghidra
mike-hunhoff Jun 6, 2024
76a9f06
Merge branch 'feat/1755' of github.com:mandiant/capa into feat/1755
mike-hunhoff Jun 6, 2024
d14ce78
Merge branch 'master' into feat/1755
mr-tz Jun 7, 2024
8527a3e
merge upstream
mike-hunhoff Jun 11, 2024
b70225d
merge upstream
mike-hunhoff Jun 14, 2024
2e555d6
binexport: merge upstream
mike-hunhoff Jun 18, 2024
efde143
Merge branch 'master' into feat/1755
williballenthin Jul 24, 2024
a46257b
binexport: merge upstream
mike-hunhoff Aug 2, 2024
f8b0f50
binexport: fix lints
mike-hunhoff Aug 2, 2024
227fdeb
binexport: remove Ghidra symbol madness and fix x86/amd64 stack offse…
mike-hunhoff Aug 2, 2024
446a500
binexport: use masking for Number features
mike-hunhoff Aug 2, 2024
5836b36
binexport: ignore call/jmp immediates for intel architecture
mike-hunhoff Aug 2, 2024
dfda0de
binexport: check if immediate is a mapped address
mike-hunhoff Aug 2, 2024
7260c29
binexport: emit offset features for immediates likely structure offsets
mike-hunhoff Aug 2, 2024
fc3be31
binexport: add twos complement wrapper insn.py
mike-hunhoff Aug 2, 2024
21d2b99
binexport: add support for x86 offset features
mike-hunhoff Aug 6, 2024
210f127
binexport: code refactor
mike-hunhoff Aug 6, 2024
877134e
binexport: init refactor for multi-arch instruction feature parsing
mike-hunhoff Aug 6, 2024
eb64254
binexport: merge upstream
mike-hunhoff Aug 12, 2024
be5f49a
binexport: intel: emit indirect call characteristic
mike-hunhoff Aug 12, 2024
08c3429
binexport: use helper method for instruction mnemonic
mike-hunhoff Aug 12, 2024
a388b71
binexport: arm: emit offset features from stp instruction
mike-hunhoff Aug 12, 2024
d74c1da
binexport: arm: emit indirect call characteristic
mike-hunhoff Aug 12, 2024
fe48a75
binexport: arm: improve offset feature extraction
mike-hunhoff Aug 12, 2024
c22f773
binexport: add workaroud for Ghidra bug that results in empty operand…
mike-hunhoff Aug 15, 2024
1660f2a
binexport: merge upstream
mike-hunhoff Aug 15, 2024
a9b7713
binexport: skip x86 stack string tests
mike-hunhoff Aug 15, 2024
5488d83
binexport: merge upstream
mike-hunhoff Aug 15, 2024
65e320e
binexport: update mimikatz.exe_ feature count tests for Ghidra
mike-hunhoff Aug 15, 2024
1f10519
core: loader: update binja import
mike-hunhoff Aug 15, 2024
5d89c29
core: loader: update binja imports
mike-hunhoff Aug 15, 2024
a10efe0
binexport: arm: ignore number features for add instruction manipulati…
mike-hunhoff Aug 15, 2024
1fa7f02
binexport: update unit tests
mike-hunhoff Aug 15, 2024
5624d9f
binexport: arm: ignore number features for sub instruction manipulati…
mike-hunhoff Aug 15, 2024
c9d58a3
binexport: arm: emit offset features for add instructions
mike-hunhoff Aug 15, 2024
f4f39d2
binexport: merge upsream
mike-hunhoff Aug 16, 2024
981e93a
binexport: remove TODO from tests workflow
mike-hunhoff Aug 16, 2024
afa0215
binexport: update CHANGELOG
mike-hunhoff Aug 16, 2024
bfbd4ad
binexport: remove outdated TODOs
mike-hunhoff Aug 16, 2024
7c8f7c9
binexport: merge upstream
mike-hunhoff Aug 16, 2024
5ea55d1
binexport: re-enable support for data references in inspect-binexport…
mike-hunhoff Aug 16, 2024
80cbe2a
binexport: skip data references to code
mike-hunhoff Aug 16, 2024
1de3617
binexport: merge upstream
mike-hunhoff Aug 16, 2024
7123f1f
binexport: remove outdated TODOs
mike-hunhoff Aug 16, 2024
eaa8945
Merge branch 'master' into feat/1755
williballenthin Aug 22, 2024
1a3e63f
Update scripts/inspect-binexport2.py
williballenthin Aug 23, 2024
210ba48
Update CHANGELOG.md
williballenthin Aug 23, 2024
a4f849c
Update capa/helpers.py
williballenthin Aug 23, 2024
f0fc44e
Update capa/features/extractors/common.py
williballenthin Aug 23, 2024
5b3962f
Update capa/features/extractors/binexport2/extractor.py
williballenthin Aug 23, 2024
7b7a680
Update capa/features/extractors/binexport2/arch/arm/insn.py
mike-hunhoff Aug 27, 2024
577577b
initial add
mr-tz Aug 29, 2024
5fd16c8
test binexport scripts
mr-tz Aug 29, 2024
b1211d9
add tests using small ARM ELF
mr-tz Sep 3, 2024
c662176
add method to get instruction by address
mr-tz Sep 3, 2024
bf38f22
index instructions by address
mr-tz Sep 4, 2024
3c97edc
adjust and extend tests
mr-tz Sep 4, 2024
7142bf7
handle operator with no children bug
mr-tz Sep 4, 2024
23f8541
Merge branch 'master' into feat/1755
mr-tz Sep 9, 2024
8e29295
Merge branch 'feat/1755' into tests/add-binexport
mr-tz Sep 9, 2024
fb6c628
Merge branch 'master' into feat/1755
mr-tz Sep 9, 2024
5756ecf
Merge branch 'feat/1755' into tests/add-binexport
mr-tz Sep 9, 2024
2c8b3ff
Merge pull request #2340 from mandiant/tests/add-binexport
mr-tz Sep 11, 2024
9eaaa13
Merge branch 'master' into feat/1755
mr-tz Sep 11, 2024
e4d1b04
binexport: use instruction address index
williballenthin Sep 9, 2024
0a5cc8e
inspect binexport: handle lsl with no children
williballenthin Sep 9, 2024
c59ed87
binexport: consolidate expression tree logic into helpers
williballenthin Sep 9, 2024
b5ec35d
binexport: index instruction indices by address
williballenthin Sep 11, 2024
38dab5c
binexport: introduce instruction pattern matching
williballenthin Sep 9, 2024
fabe67d
Merge branch 'master' into feat/1755
williballenthin Sep 12, 2024
90d500c
binexport: helpers: fix missing comment words
williballenthin Sep 12, 2024
b675808
Merge branch 'master' into feat/1755
williballenthin Sep 12, 2024
38dad41
binexport: update tests to reflect updated test files
mike-hunhoff Sep 12, 2024
765f434
Merge branch 'feat/1755' of github.com:mandiant/capa into feat/1755
mike-hunhoff Sep 12, 2024
b21d1c0
remove testing of feature branch
mr-tz Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'doc/**'
- '**.md'
pull_request:
branches: [ master ]
branches: [ master, feat/1755 ]
Copy link
Collaborator Author

@williballenthin williballenthin Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • remove this before merge

paths-ignore:
- 'web/**'
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ repos:
- "--config"
- ".github/flake8.ini"
- "--extend-exclude"
- "capa/render/proto/capa_pb2.py"
- "capa/render/proto/capa_pb2.py,capa/features/extractors/binexport2/binexport2_pb2.py"
- "capa/"
- "scripts/"
- "tests/"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- webui: explore capa analysis results in a web-based UI online and offline #2224 @s-ff
- support analyzing DRAKVUF traces #2143 @yelhamer
- IDA extractor: extract names from dynamically resolved APIs stored in renamed global variables #2201 @Ana06
- support analyzing BinExport2 files generated by Ghidra #1950 @williballenthin @mehunhoff @mr-tz


### Breaking Changes
Expand Down
5 changes: 4 additions & 1 deletion capa/features/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,11 @@ def __init__(self, value: str, description=None):
OS_WINDOWS = "windows"
OS_LINUX = "linux"
OS_MACOS = "macos"
OS_ANDROID = "android"
# dotnet
OS_ANY = "any"
VALID_OS = {os.value for os in capa.features.extractors.elf.OS}
VALID_OS.update({OS_WINDOWS, OS_LINUX, OS_MACOS, OS_ANY})
VALID_OS.update({OS_WINDOWS, OS_LINUX, OS_MACOS, OS_ANY, OS_ANDROID})
# internal only, not to be used in rules
OS_AUTO = "auto"

Expand Down Expand Up @@ -462,6 +463,7 @@ def evaluate(self, features: "capa.engine.FeatureSet", short_circuit=True):
FORMAT_SC64 = "sc64"
FORMAT_CAPE = "cape"
FORMAT_DRAKVUF = "drakvuf"
FORMAT_BINEXPORT2 = "binexport2"
FORMAT_FREEZE = "freeze"
FORMAT_RESULT = "result"
STATIC_FORMATS = {
Expand All @@ -472,6 +474,7 @@ def evaluate(self, features: "capa.engine.FeatureSet", short_circuit=True):
FORMAT_DOTNET,
FORMAT_FREEZE,
FORMAT_RESULT,
FORMAT_BINEXPORT2,
}
DYNAMIC_FORMATS = {
FORMAT_CAPE,
Expand Down
Loading