Fariss
2e5da3e2bd
Add deptry support ( #2085 )
...
* Add deptry support
This commit resolves #1497 .
Note: known_first_party refers to modules that are supposed to be
local, i.e. idaapi, ghidra, java, binaryninja, ... etc.
* adjust running stages for deptry hook
* adjust deptry exclusions, and humanize dependency
---------
Co-authored-by: Soufiane Fariss <soufiane.fariss@um5s.net.ma >
2024-05-31 09:43:10 +02:00
Moritz
0ac21f036c
update to Ubuntu 22.04 for Binary Ninja tests
2024-05-29 14:21:02 +02:00
Moritz
8fe8981570
Update scorecard.yml ( #2033 )
...
* Update scorecard.yml
2024-03-22 08:57:29 +01:00
P.Sahithi Reddy
04e3f268f3
Update github ci workflow to reflect new ghidrathon installation ( #2020 )
...
* Update github ci workflow to reflect new ghidrathon release installation
* Update CHANGELOG
2024-03-01 16:24:02 -07:00
Ana Maria Martinez Gomez
3a90247e5b
[CI] Update github/codeql-action/upload-sarif
...
The old version was using a deprecated version of Node.
2024-02-27 12:46:41 +01:00
Ana Maria Martinez Gomez
bb0dff0610
[CI] Update gradle/gradle-build-action
...
Replace gradle/gradle-build-action by gradle/gradle-build-action, which
supersedes it since v3. The previous version used a deprecated version
of Node.
2024-02-27 12:46:41 +01:00
Ana Maria Martinez Gomez
610a86e5e2
[CI] Update ad-m/github-push-action
...
The old version was using a deprecated version of Node.
2024-02-27 12:46:40 +01:00
Ana Maria Martinez Gomez
cabb9c0975
[CI] Update Ana06/get-changed-files
...
Update Ana06/get-changed-files to the latest version that I released
yesterday using Node 20. The old version was using a deprecated version
of Node.
2024-02-27 12:46:40 +01:00
Ana Maria Martinez Gomez
8857511e55
[CI] Fix CHANGELOG PR review
...
Sending a PR review with a message about the CHANGELOG needing to be
updated has been broken since July, where the permissions were changed.
2024-02-23 16:25:49 +01:00
Ana Maria Martinez Gomez
ffcabf1e0b
[CI] Update Ana06/automatic-pull-request-review
...
The old version was using a deprecated version of Node.
2024-02-23 15:49:28 +01:00
Sahil
5e85fc9ede
update github workflows to use latest version for depricated actions (checkout, setup-python, upload-artifact, download-artifact)
2024-02-23 02:57:07 +05:30
aaronatp
f9bceaa3d7
Enable tracebacks on PR build attempts
2024-01-22 04:42:39 -06:00
Moritz
fbe0440361
add build for Python 3.11 for linux ( #1877 )
...
* add build for Python 3.11 for linux
2023-11-29 22:42:56 +01:00
mr-tz
73ea822123
Merge branch 'master' into dynamic-feature-extraction
2023-11-29 16:17:09 +01:00
Willi Ballenthin
3c159a1f52
ci: revert temporary CI event subscription
2023-11-29 14:26:53 +00:00
doomedraven
a5e1eca8cc
Create pip-audit.yml
2023-11-16 13:27:25 +01:00
Willi Ballenthin
c724a4b311
ci: only run BN and Ghidra tests after others complete
...
these are much less likely to fail because they're
changed less often, so don't run them until we know
other tests also pass.
2023-10-19 11:35:42 +00:00
Willi Ballenthin
b6a0d6e1f3
pre-commit: fix stages
2023-10-19 11:26:22 +00:00
Willi Ballenthin
2cc6a37713
ci: run fast tests before the full suite
2023-10-19 10:23:03 +00:00
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