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
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
Willi Ballenthin
18e0408577
contributing: document CLA
2023-07-18 11:18:28 +02:00
Mike Hunhoff
6ce897e39b
merge upstream
2023-07-13 17:57:34 +00:00
Willi Ballenthin
b9090b86ce
tests: make fixtures available via conftest.py
...
closes #1592
2023-07-13 09:37:39 +02: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
Willi Ballenthin
b285985a79
flake8: configure copyright header for our project
...
closes #1594
2023-07-13 05:16:59 +02:00
Willi Ballenthin
e987fc2034
flake8: initial copyright config
2023-07-13 04:57:36 +02:00
Mike Hunhoff
eeb0f78564
merge upstream
2023-07-12 17:57:35 +00:00
Willi Ballenthin
65e8300145
introduce flake8-simplify
2023-07-12 11:40:44 +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
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
Willi Ballenthin
4a49543d12
introduce flake8-print linter
2023-07-09 22:44:47 +02:00
Willi Ballenthin
106b12e2a4
move flake8 config to its own config file
2023-07-09 22:35:53 +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
a43d2c115f
tests: fix fixture imports
2023-07-06 19:04:53 +02:00
Willi Ballenthin
e675bef062
ci: invoke linter directly
2023-07-06 18:14:14 +02:00
Willi Ballenthin
47074fd129
fix ruff issues
2023-07-06 17:49:40 +02:00
Willi Ballenthin
f17edb3151
ci: use pre-commit to invoke linters
2023-07-06 17:12:19 +02:00
Willi Ballenthin
691ef1c72f
remove old linter configs
2023-07-06 17:12:00 +02:00
Willi Ballenthin
25a6d78b88
ruff: update config
2023-07-06 16:32:31 +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
colton-gabertan
b849cfd4a5
ghidra ci setup, test files in development
2023-06-02 22:41:29 -07:00
Willi Ballenthin
236c1c9d17
tests: refine the IDA test runner
...
ref #1364
2023-06-02 10:40:47 +02: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
2401dc785c
update viv dependencies and fix ( #1342 )
...
* update dependencies and fix
* pyinstaller: add hook for new viv pas
* pyinstaller: hooks: remove duplicate entries and old analysis pass
* Update setup.py
* update hidden imports
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2023-04-25 06:34:40 +02:00
Moritz
259dfaed11
Update tests.yml
2023-04-21 17:24:06 +02:00