Willi Ballenthin
182a9868ca
merge master
2023-10-17 10:32:25 +00:00
Mike Hunhoff
b0d55143a4
ghidra: update CI to use /Ghidra/Extensions ( #1782 )
2023-09-05 13:21:52 -06:00
Mike Hunhoff
0ffd631606
Update .github/workflows/tests.yml
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-08-29 09:00:14 -06:00
Colton Gabertan
6d3f649a0c
remove backend-ghidra from CI
2023-08-28 12:21:30 -07:00
Colton Gabertan
e00608e298
ghidra hotfix: fix ghidrathon download ( #1771 )
...
* hotfix: fix ghidrathon download
2023-08-28 12:19:45 -07:00
Mike Hunhoff
7bd2467074
remove backend-ghidra from workflows
2023-08-28 12:32:52 -06:00
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
Willi Ballenthin
8cd5e03e87
ci: pre-commit: show-diff-on-failure
2023-08-18 08:19:27 +00:00
Yacine Elhamer
e38e56ccf6
Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into sync-1657
2023-07-20 09:33:48 +01:00
Mike Hunhoff
c0e126f812
merge upstream
2023-07-19 14:56:39 +00:00
Willi Ballenthin
70a1e66020
ci: publish: remove dev code
2023-07-18 14:02:35 +00:00
Willi Ballenthin
91b65d1d7f
ci: publish: remove old commented code
2023-07-18 14:01:58 +00:00
Willi Ballenthin
25624a1b46
ci: publish: dev release
2023-07-18 13:38:05 +00:00
Willi Ballenthin
e3c8cb74df
ci: publish: dev release
2023-07-18 13:33:01 +00:00
Willi Ballenthin
33cb81449c
ci: publish: try to fix perm errors
2023-07-18 13:21:47 +00:00
Willi Ballenthin
dbfcbaa98e
ci: publish: fix file name globbing
2023-07-18 12:23:15 +00:00
Willi Ballenthin
15caa9ee6e
ci: publish: remove incorrect name
2023-07-18 13:35:24 +02:00
Mike Hunhoff
6ce897e39b
merge upstream
2023-07-13 17:57:34 +00:00
Willi Ballenthin
36a840cb2c
ci: set top level permissions to satisfy code scanning
2023-07-13 06:12:42 +02:00
Willi Ballenthin
c29d0a4f56
Update .github/workflows/tests.yml
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-07-13 10:45:43 +02:00
Willi Ballenthin
797021874b
ci: use latest python for best performance
2023-07-13 05:37:22 +02:00
colton-gabertan
785825d77e
Merge branch 'master' into backend-ghidra
2023-07-11 01:00:55 -07:00
Willi Ballenthin
454b6d1aca
Merge branch 'master' into fix/issue-1616
2023-07-10 14:03:39 +02:00
Willi Ballenthin
320539bd26
Merge branch 'master' into fix/issue-1491
2023-07-10 13:48:15 +02:00
Willi Ballenthin
72e123e319
sync master
2023-07-10 02:50:18 +02:00
Willi Ballenthin
dc1f2e728d
ci: restrict permissions of GITHUB_TOKEN
...
closes #1616
2023-07-10 02:43:48 +02:00
Willi Ballenthin
81b964386f
ci: publish to PyPI using trusted publishing
...
closes #1491
2023-07-10 02:06:06 +02:00
Willi Ballenthin
cb289e3fc5
ci: publish: use trusted publishing
2023-07-10 01:57:42 +02:00
Willi Ballenthin
dd2bbc9a48
migrate to pyproject.toml
...
closes #1301
2023-07-10 01:44:38 +02:00
mr-tz
f3135630d1
Merge branch 'master' into sync-master
2023-07-07 14:28:13 +02:00
colton-gabertan
1f631b3ed1
bump min Python3 version to 3.8
2023-07-06 15:42:04 -07:00
colton-gabertan
1ea91d60ac
Merge branch 'master' into backend-ghidra
2023-07-06 15:40:09 -07:00
Willi Ballenthin
e675bef062
ci: invoke linter directly
2023-07-06 18:14:14 +02:00
Willi Ballenthin
f17edb3151
ci: use pre-commit to invoke linters
2023-07-06 17:12:19 +02:00
Colton Gabertan
855463b319
Add Ghidra Backend CI configuration, fix CHANGELOG ( #1529 )
...
* ghidra-backend ci working, fix CHANGELOG
* temp: Add backend-ghidra to CI test workflow & add versioning to matrix
* lint to avoid failure
* linting for CI
* cleanup CI, integrate actions, simplify installations
* fix gradle repo
* fix typo
* fix submodule checkout for rules & test data
* fix relative test data path
* remove unnecessary steps
* add flag to mkdir to resolve pipeline failure
2023-07-05 18:48:45 -06:00
Willi Ballenthin
5d1e26a95e
update minimum supported python version to 3.8
2023-07-05 18:34:41 +02:00
Willi Ballenthin
8119aa6933
ci: do tests on dynamic-feature-extraction branch
2023-06-15 12:17:02 +02:00
colton-gabertan
b849cfd4a5
ghidra ci setup, test files in development
2023-06-02 22:41:29 -07:00
colton-gabertan
16444fe5ed
first working CI install
2023-06-01 11:24:21 -07:00
colton-gabertan
5af1a42bf1
reverting tests.yml
2023-05-29 20:24:37 -07:00
colton-gabertan
73183e9c19
run tests.yml on workflow dispatch
2023-05-29 20:16:10 -07:00
colton-gabertan
b35cfdaf6a
workflow_dispatch - temp
2023-05-29 20:13:35 -07:00
colton-gabertan
8c40e82796
configuring runner for ghidra tests
2023-05-29 19:58:59 -07:00
colton-gabertan
78bd5e1e3b
colton: tests.yml installs Java, Ghidra, and Ghidrathon
2023-05-28 19:04:31 -07:00
Moritz
ed5dabe432
Update tests.yml
2023-05-03 18:16:23 +02:00
Moritz
8e80bc844d
Test BN 2 ( #1462 )
...
* Update .github/workflows/tests.yml
2023-04-25 11:35:07 +02:00
Moritz
259dfaed11
Update tests.yml
2023-04-21 17:24:06 +02:00
Moritz
88c78bb411
only test binaryninja on non-forks
2023-04-21 16:15:27 +02:00
ooprathamm
6641c8c9c9
fixing error issue
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-04-04 23:07:04 +05:30