Colton Gabertan
|
19b8000c00
|
Ghidra: Fixes & Enhancements (#1733)
* restore from corrupted .git
* lint repo
* temp: remove lint failing rule
* implement dereferencing, clean up extractors
* implement proper dereferencing routines as applicable
* fix nzxor implementation, remediate ghidra analysis issues
* lint repo
* Assert typing, lint repo
* avoid extracting pointers in bytes extraction
* attempt to recover submodule
* implement GhidraFeatureExtractor & ghidra_main()
* lint repo
* document examples, clean-up & testing
* lint repo
* properly map import dict
* properly map fake addresses
* fix fake addr mapping
* properly map externs
* re-align consistency with other backends
* lint repo
* fix dereferencing routine
* clean up helpers
* fix format string
* disable progress bar to exit gracefully
* enable pbar in headless runtime mode
* implement fixture test script
* implement ghidra unit test script
* refactor repo for breaking Ghidrathon change
* bump ghidrathon CI version, run unit test in CI
* change CI config
* fix wget line for ghidrathon
* fix unzip paths
* fix ghidra import issue
* disable pytest faulthandler module
* fix dereference function
* fix ghidra state variables
* implement dereferencing for string extraction
* use toAddr
* restructure for consistency
* Bump Ghidrathon version for CI, fix pytest ghidra runtime detection
* fix number & offset extractors
* yield both signed & unsgned values for offset extraction
* add LEA insn handling to number & offset extraction
* fix indirect call extraction
* implement thunk function checking for dereferences
* revise ghidra feature count tests, pass unit testing
* fix feature test format
* implement additional support for dereferencing thunked functions
* integrate external locations into find_file_imports
* change api yield string for .elf samples to match other extractors
* fix potential NoneType errors during dereferencing
* user helper in global_
* fix GHIDRAIO class, implement in global_
* comment on getOriginalByte
* simplify get_file_imports
* implement explicit thunk chain handling
* simplify LEA number extraction
* simplify thunk handling
* temp: demonstrate CI failure & output
* fix log path
* run new test against mimikatz
|
2023-08-23 14:35:18 -06:00 |
|
Colton Gabertan
|
058c1fefd2
|
ghidra: unit tests (#1727)
* restore from corrupted .git
* lint repo
* temp: remove lint failing rule
* implement dereferencing, clean up extractors
* implement proper dereferencing routines as applicable
* fix nzxor implementation, remediate ghidra analysis issues
* lint repo
* Assert typing, lint repo
* avoid extracting pointers in bytes extraction
* attempt to recover submodule
* implement GhidraFeatureExtractor & ghidra_main()
* lint repo
* document examples, clean-up & testing
* lint repo
* properly map import dict
* properly map fake addresses
* fix fake addr mapping
* properly map externs
* re-align consistency with other backends
* lint repo
* fix dereferencing routine
* clean up helpers
* fix format string
* disable progress bar to exit gracefully
* enable pbar in headless runtime mode
* implement fixture test script
* implement ghidra unit test script
* refactor repo for breaking Ghidrathon change
* bump ghidrathon CI version, run unit test in CI
* change CI config
* fix wget line for ghidrathon
* fix unzip paths
* fix ghidra import issue
* disable pytest faulthandler module
* fix ghidra state variables
* use toAddr
* restructure for consistency
* Bump Ghidrathon version for CI, fix pytest ghidra runtime detection
|
2023-08-21 12:16:13 -06:00 |
|
Yacine
|
d71ecc7a79
|
Update tests/test_ida_features.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
|
2023-08-15 12:26:19 +02:00 |
|
Willi Ballenthin
|
e6d64ef561
|
pydantic: remove use of deprecated routines
closes #1718
|
2023-08-15 08:41:56 +00:00 |
|
Willi Ballenthin
|
408c5076c6
|
tests: ida: don't collect tests as pytest tests
closes #1719
|
2023-08-15 08:26:59 +00:00 |
|
Willi Ballenthin
|
8479bc2f1f
|
Merge pull request #1720 from mandiant/fix/issue-1705
elf: detect Android OS via note and dependencies
|
2023-08-14 13:11:23 +02:00 |
|
Capa Bot
|
7c1522d84d
|
Sync capa-testfiles submodule
|
2023-08-14 11:11:05 +00:00 |
|
Willi Ballenthin
|
e6cb3d3b3b
|
os: detect Android via dependencies, too
|
2023-08-14 10:27:19 +00:00 |
|
Capa Bot
|
e5efc158b7
|
Sync capa-testfiles submodule
|
2023-08-10 07:26:08 +00:00 |
|
Aayush Goel
|
232c9ce35c
|
Add test for script & output rendered
|
2023-08-07 22:43:25 +05:30 |
|
Willi Ballenthin
|
74d9b06835
|
Merge pull request #1679 from Aayush-Goel-04/Aayush-Goel-04/Issue#1582
bump pydantic to 2.1.1
|
2023-08-07 12:02:53 +02:00 |
|
Capa Bot
|
2c8f99143a
|
Sync capa-testfiles submodule
|
2023-08-05 16:40:13 +00:00 |
|
Capa Bot
|
ee68031d19
|
Sync capa-testfiles submodule
|
2023-08-05 16:37:46 +00:00 |
|
Aayush Goel
|
2bed3468f6
|
bump pydantic to 2.1.1
|
2023-08-03 17:21:46 +05:30 |
|
Willi Ballenthin
|
727ece499a
|
Merge pull request #1662 from Aayush-Goel-04/Aayush-Goel-04/Issue#1607
ELF: Implement file import and export name extractor
|
2023-08-02 13:15:32 +02:00 |
|
Aayush Goel
|
62f50265bc
|
Resolved Import address
|
2023-08-02 16:41:24 +05:30 |
|
Capa Bot
|
d18224eac6
|
Sync capa-testfiles submodule
|
2023-08-02 11:03:16 +00:00 |
|
Aayush Goel
|
26935ee6e6
|
Update test_elffile_features.py
|
2023-08-02 13:51:51 +05:30 |
|
Aayush Goel
|
f8c499fb43
|
Added test for elf import/export handling
|
2023-08-02 11:52:27 +05:30 |
|
Capa Bot
|
d12185d851
|
Sync capa-testfiles submodule
|
2023-08-01 11:21:02 +00:00 |
|
Xusheng
|
8f826cb92d
|
Fix binja backend stack string detection. Re-enable binja stack string unit test
|
2023-07-24 19:15:35 +08:00 |
|
Willi Ballenthin
|
40793eeefb
|
tests: bn: update link to tracking issue
|
2023-07-17 18:07:25 +02:00 |
|
Willi Ballenthin
|
221a5a9f03
|
tests: xfail binja forwarded exports
|
2023-07-17 17:56:33 +02:00 |
|
Willi Ballenthin
|
ebae5e5ca0
|
Merge branch 'master' into fix/issue-1624
|
2023-07-13 16:51:41 +02:00 |
|
Capa Bot
|
244d56e32a
|
Sync capa-testfiles submodule
|
2023-07-13 14:50:40 +00:00 |
|
Willi Ballenthin
|
5f2b92de40
|
Merge branch 'master' into fix/issue-1624
|
2023-07-13 16:50:35 +02:00 |
|
Capa Bot
|
1065ff9779
|
Sync capa-testfiles submodule
|
2023-07-13 14:49:40 +00:00 |
|
Willi Ballenthin
|
82223dcdc9
|
conftest: isort
|
2023-07-13 13:12:13 +00:00 |
|
Willi Ballenthin
|
724f9e4b81
|
conftest: isort
|
2023-07-13 14:52:05 +02:00 |
|
Willi Ballenthin
|
c4da4bcfe7
|
conftest: update noqa ignores
|
2023-07-13 14:35:09 +02:00 |
|
Willi Ballenthin
|
fd36946c4b
|
conftest: import symbols prefixed with _
|
2023-07-13 14:32:24 +02:00 |
|
Willi Ballenthin
|
394c3807c1
|
Merge branch 'master' into fix/issue-1624
|
2023-07-13 11:55:46 +02:00 |
|
Willi Ballenthin
|
21b2aac8b5
|
fixtures: add test cases for forwarded exports
|
2023-07-13 10:31:52 +02:00 |
|
Willi Ballenthin
|
b9090b86ce
|
tests: make fixtures available via conftest.py
closes #1592
|
2023-07-13 09:37:39 +02:00 |
|
Willi Ballenthin
|
7665d56f93
|
Merge branch 'master' into feat/issue-1594
|
2023-07-13 10:18:44 +02:00 |
|
Willi Ballenthin
|
ad6b475dfe
|
Merge pull request #1630 from mandiant/fix/issue-1629
fix binja test type error
|
2023-07-13 10:14:22 +02:00 |
|
Capa Bot
|
f897f00227
|
Sync capa-testfiles submodule
|
2023-07-13 08:11:11 +00:00 |
|
Capa Bot
|
5088f45b6a
|
Sync capa-testfiles submodule
|
2023-07-13 07:19:20 +00:00 |
|
Capa Bot
|
ea51801806
|
Sync capa-testfiles submodule
|
2023-07-13 07:06:30 +00:00 |
|
Willi Ballenthin
|
2370c5b50d
|
Merge branch 'master' of personal.github.com:mandiant/capa into feat/issue-1594
|
2023-07-13 05:19:38 +02:00 |
|
Willi Ballenthin
|
c86ab51210
|
fix copyright headers everywhere
|
2023-07-13 05:03:33 +02:00 |
|
Willi Ballenthin
|
a28000b41a
|
Merge branch 'master' into fix/issue-1629
|
2023-07-13 04:24:51 +02:00 |
|
Willi Ballenthin
|
560dc358fa
|
Merge branch 'master' into fix/issue-1629
|
2023-07-13 04:20:04 +02:00 |
|
Willi Ballenthin
|
a32f2cc0f8
|
tests: fix type error
|
2023-07-13 04:19:09 +02:00 |
|
Willi Ballenthin
|
65e8300145
|
introduce flake8-simplify
|
2023-07-12 11:40:44 +02:00 |
|
Capa Bot
|
7526ff876f
|
Sync capa-testfiles submodule
|
2023-07-12 09:09:04 +00:00 |
|
Willi Ballenthin
|
d438b90879
|
Merge branch 'master' into Aayush-Goel-04/Issue#1534
|
2023-07-11 12:30:13 +02:00 |
|
Capa Bot
|
c1cd272865
|
Sync capa-testfiles submodule
|
2023-07-11 08:29:10 +00:00 |
|
Capa Bot
|
fdb53d97ce
|
Sync capa-testfiles submodule
|
2023-07-11 08:28:43 +00:00 |
|
Capa Bot
|
db5e735928
|
Sync capa-testfiles submodule
|
2023-07-11 08:28:27 +00:00 |
|