Willi Ballenthin
613ce92cfd
tests: remove old debugging statements
2023-03-23 14:14:04 +01:00
Willi Ballenthin
d8aa276f25
tests: debug binja api
2023-03-23 14:04:14 +01:00
Willi Ballenthin
1a29077b45
tests: binja: don't crash on bad license - log instead
2023-03-23 12:38:52 +01:00
Willi Ballenthin
c249b841e8
tests: binja: ensure the license is valid
2023-03-23 12:37:06 +01:00
Willi Ballenthin
7d12942cf7
Merge branch 'binja_backend' of github.com:Vector35/capa into Vector35-binja_backend
2023-03-23 11:31:25 +01:00
manasghandat
1336796c0c
code style : update remaining files ( #1353 )
...
* code style: update string formatting using fstrings
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-03-16 11:16:18 +01:00
Harsh Mehta
74009eb4a4
Updated Copyright ( #1383 )
...
* Updated Copyright
2023-03-14 17:58:43 +01:00
Xusheng
c648af2cb4
Select a different test file for the nzxor feature
2023-03-05 12:52:49 +08:00
Xusheng
4a698ffdff
Add a Binary Ninja backend for capa
2023-03-05 12:52:49 +08:00
Moritz
52de09a032
Fix byte/string extraction and unit tests ( #1339 )
...
* Fix wrong expected results on string and bytes tests. Fix https://github.com/mandiant/capa/issues/1336
* Fix IDA insn/byte extractor checks wrong address. Fix https://github.com/mandiant/capa/issues/1327
* fix vivisect string check and tests
---------
Co-authored-by: Xusheng <xusheng@vector35.com >
2023-03-02 10:33:14 +01:00
Mike Hunhoff
a07ca443f0
update OS to match OS_ANY for all supported OSes ( #1324 )
2023-02-24 07:51:40 -07:00
Capa Bot
b9edb6dbc9
Sync capa-testfiles submodule
2023-02-16 10:31:51 +00:00
Capa Bot
eac3d8336d
Sync capa-testfiles submodule
2023-02-15 10:56:23 +00:00
Capa Bot
00ecfe7a80
Sync capa-testfiles submodule
2023-02-15 10:22:12 +00:00
Capa Bot
1b191b5aea
Sync capa-testfiles submodule
2023-02-10 08:52:58 +00:00
Moritz
6a222a6139
Update black ( #1307 )
...
* build(deps-dev): bump black from 22.12.0 to 23.1.0
Bumps [black](https://github.com/psf/black ) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* reformat black 23.1.0
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 15:50:15 +01:00
Capa Bot
8aaa8809e6
Sync capa-testfiles submodule
2023-02-07 11:21:49 +00:00
Capa Bot
22b8c594b8
Sync capa-testfiles submodule
2023-02-06 20:47:00 +00:00
Capa Bot
8cb8cfdb46
Sync capa-testfiles submodule
2023-02-06 15:21:58 +00:00
Capa Bot
2235417a25
Sync capa-testfiles submodule
2023-02-06 14:07:24 +00:00
Capa Bot
ce449790df
Sync capa-testfiles submodule
2023-02-06 14:03:55 +00:00
Capa Bot
79e36ab11d
Sync capa-testfiles submodule
2023-02-06 13:52:53 +00:00
Capa Bot
dde3abdfa0
Sync capa-testfiles submodule
2023-02-06 09:07:31 +00:00
Capa Bot
f00e44aba6
Sync capa-testfiles submodule
2023-02-01 15:28:22 +00:00
Willi Ballenthin
70f568b1cc
Merge pull request #1291 from mandiant/rules-cache
...
cache rule set across invocations of capa
2023-01-25 17:52:34 +01:00
Capa Bot
c586166006
Sync capa-testfiles submodule
2023-01-25 16:45:08 +00:00
Moritz
0a78187c69
optimize tests to speed them up ( #1287 )
...
* optimize tests to speed them up
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-01-23 11:25:04 +01:00
Willi Ballenthin
6d16cafbc8
cache: handle invalid caches
2023-01-21 18:14:12 +01:00
Willi Ballenthin
a7afdec2e1
cache: accept cache_dir parameter
2023-01-20 16:10:41 +01:00
Willi Ballenthin
f451fe68e1
pep8/mypy
2023-01-20 15:42:22 +01:00
Willi Ballenthin
c423ccec67
add tests for ruleset caching
2023-01-20 15:20:26 +01:00
Willi Ballenthin
6ad471a914
Merge branch 'master' into rules-cache
2023-01-20 14:51:32 +01:00
Willi Ballenthin
4b7a9e149f
rules: move to directory structure
2023-01-20 13:27:30 +01:00
Moritz
fa0ddba436
add format to global features and code refactors ( #1284 )
...
* refactor: get format handling
* add format to global features
2023-01-19 13:31:00 +01:00
Willi Ballenthin
5513d4ca43
viv: insn: string: handle viv bug around substrings ( #1273 )
...
* viv: insn: string: handle viv bug around substrings
closes #1271
* use minimum string length 4
* update overlapping string test and fixup vivisect elf analysis missing function
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-01-19 13:02:53 +01:00
Capa Bot
12f8588c03
Sync capa-testfiles submodule
2023-01-12 12:59:01 +00:00
Moritz
5fa2a87747
fix dotnet and pe format handling ( #1256 )
2023-01-04 17:46:51 +01:00
Willi Ballenthin
94a712b820
Merge pull request #1213 from mandiant/fix-1062
...
remove SMDA backend
2023-01-04 14:48:41 +01:00
Capa Bot
a74b8e6328
Sync capa-testfiles submodule
2023-01-04 09:09:57 +00:00
Willi Ballenthin
ff773695d0
Merge pull request #1260 from jsoref/spelling
...
Spelling
2023-01-04 08:58:21 +01:00
Josh Soref
6932df3564
spelling: import
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-01-04 00:32:39 -05:00
mr-tz
eba1989c9f
Merge branch 'master' into fix-1062
2023-01-03 18:46:41 +01:00
Capa Bot
2219139605
Sync capa-testfiles submodule
2023-01-03 10:20:18 +00:00
Capa Bot
5f39083df6
Sync capa-testfiles submodule
2023-01-03 10:17:36 +00:00
Mike Hunhoff
b68be0c2ce
dotnet: emit namespace/class features for type references ( #1242 )
...
* dotnet: emit namespace/class features for type references
* dotnet: pre-compute .NET token caches
2022-12-21 15:59:29 -07:00
Mike Hunhoff
50490e6a93
dotnet: emit namespace/class features for ldvirtftn/ldftn instructions ( #1241 )
...
* dotnet: emit namespace/class features for ldvirtftn/ldftn instructions
* dotnet: add unit tests for ldftn/ldvirtftn namespace/class features
2022-12-20 13:29:29 -07:00
Mike Hunhoff
4ece47c64c
dotnet: emit calls to/from MethodDef methods ( #1236 )
...
* dotnet: emit calls to/from MethodDef methods
* dotnet: update function.py copyright header
2022-12-19 15:06:16 -07:00
Mike Hunhoff
e0491097b0
dotnet: emit API features for generic methods ( #1231 )
...
* dotnet: emit API features for generic methods
* dotnet: improve type checking
* dotnet: emit namespace/class features for generic methods
* dotnet: update for dnfile 0.13.0
* dotnet: refactor property extraction
2022-12-19 14:45:21 -07:00
Willi Ballenthin
613c185428
tests: fix broken test
2022-12-14 11:51:25 +01:00
Willi Ballenthin
81500a4d1d
black
2022-12-14 10:48:00 +01:00