Mike Hunhoff
8d39765e7b
ci: bump binja minor version ( #2763 )
2025-11-17 11:10:46 -07:00
Mike Hunhoff
42b6d8106a
binja: update core version info check ( #2709 )
2025-08-20 11:56:56 -06:00
Mike Hunhoff
96d1eb64c3
update binja core version ( #2670 )
...
* update binja core version
* update CHANGELOG
2025-05-30 10:52:56 -06:00
Ana Maria Martinez Gomez
3cd97ae9f2
[copyright + license] Fix headers
...
Replace the header from source code files using the following script:
```Python
for dir_path, dir_names, file_names in os.walk("capa"):
for file_name in file_names:
# header are only in `.py` and `.toml` files
if file_name[-3:] not in (".py", "oml"):
continue
file_path = f"{dir_path}/{file_name}"
f = open(file_path, "rb+")
content = f.read()
m = re.search(OLD_HEADER, content)
if not m:
continue
print(f"{file_path}: {m.group('year')}")
content = content.replace(m.group(0), NEW_HEADER % m.group("year"))
f.seek(0)
f.write(content)
```
Some files had the copyright headers inside a `"""` comment and needed
manual changes before applying the script. `hook-vivisect.py` and
`pyinstaller.spec` didn't include the license in the header and also
needed manual changes.
The old header had the confusing sentence `All rights reserved`, which
does not make sense for an open source license. Replace the header by
the default Google header that corrects this issue and keep capa
consistent with other Google projects.
Adapt the linter to work with the new header.
Replace also the copyright text in the `web/public/index.html` file for
consistency.
2025-01-15 08:52:42 -07:00
Xusheng
d7cf8d1251
Revert "skip test where BN misses the function"
...
This reverts commit 9ad3f06e1d .
2024-12-04 09:36:08 +01:00
mr-tz
9ad3f06e1d
skip test where BN misses the function
2024-12-03 11:09:38 +00:00
Xusheng
28fcd10d2e
Add a unit test for Binary Ninja database
2024-12-02 23:34:07 +08:00
Xusheng
ca7580d417
Update Binary Ninja version to 4.2 ( #2499 )
2024-11-25 21:50:53 +01:00
xusheng
da6c6cfb48
Update Binary Ninja version to 4.1 and use Python 3.9 to test it ( #2212 )
2024-07-19 02:28:10 +02:00
Xusheng
bf4695c6bf
binja: update binja version check after 4.0 release
2024-02-29 16:54:54 +08:00
Willi Ballenthin
09b54a86f0
Merge branch 'master' into test_binja_forwarded_export
2023-09-21 12:10:13 +02:00
Xusheng
55af6f052f
binja: add support for symtab names. Fix #1504
2023-09-21 17:24:42 +08:00
Xusheng
d2d32f88ef
binja: add support for forwarded exports
2023-09-21 15:32:55 +08:00
Xusheng
59d03b3ba3
binja: bump Binary Ninja version to 3.5
2023-09-20 21:00:04 +08: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
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
c86ab51210
fix copyright headers everywhere
2023-07-13 05:03:33 +02:00
Willi Ballenthin
a32f2cc0f8
tests: fix type error
2023-07-13 04:19:09 +02:00
Aayush Goel
8e346cb411
Merge branch 'Aayush-Goel-04/Issue#1534' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#1534
2023-07-11 00:59:21 +05:30
Willi Ballenthin
430f9da449
Merge branch 'master' into fix/issue-1579
2023-07-10 11:09:25 +02:00
Moritz
4a2902512e
Update test_binja_features.py ( #1595 )
...
temporarily skip stack string test, while we wait for #1473
2023-07-07 14:01:50 +02:00
Willi Ballenthin
a43d2c115f
tests: fix fixture imports
2023-07-06 19:04:53 +02:00
Willi Ballenthin
47074fd129
fix ruff issues
2023-07-06 17:49:40 +02:00
Aayush Goel
c0d712acea
Changes os.path to pathlib.Path usage
...
changed args.rules , args.signatures types in handle_common_args.
2023-07-06 05:12:50 +05:30
Xusheng
a74911e926
Add a test that asserts on the binja version
2023-06-09 13:44:07 +08:00
Aayush Goel
e428b74657
run test on PMA 01-01.exe_
2023-05-16 12:23:00 +05:30
Aayush Goel
ce56ab71d4
Update test_binja_features.py
...
Not sure which file to use to test capa.main
2023-05-12 02:17:09 +05:30
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
Xusheng
4a698ffdff
Add a Binary Ninja backend for capa
2023-03-05 12:52:49 +08:00