Commit Graph

81 Commits

Author SHA1 Message Date
N0stalgikow 0eb4291b25 Updating copyright across all files based on when it was first introduced. (#2027)
* updating copyright, back to the date of origin of file

* updating regex to account for linter violation
2024-03-13 14:04:53 +01:00
Rohit Konakalla 9a449b6bd9 Load .json.gz files directly (#1990)
* Load .json.gz files directly

* Add helper function to load .json and replace json.load references

* add test and update change log

* add .json.gz in EXTENSIONS_DYNAMIC

Co-authored-by: Moritz <mr-tz@users.noreply.github.com>

---------

Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2024-02-25 16:01:36 +01:00
Yacine Elhamer 37caeb2736 capabilities: add a test file for the new capabilities module, and move the corresponding tests from main to there 2023-10-19 10:54:53 +02:00
Yacine Elhamer 5c48f38208 capa/main.py: add a capabilities module and move all of the capability extraction there 2023-10-19 10:39:14 +02:00
Yacine 9609d63f8a Update tests/test_main.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2023-10-19 08:10:29 +02:00
Yacine Elhamer 46217a3acb test_main.py: remove unused pytest 2023-08-24 14:47:40 +02:00
Yacine Elhamer 42689ef1da test_main.py: revert ruleset-related xfails 2023-08-24 13:30:22 +02:00
Willi Ballenthin 6de23a9748 tests: main: demonstrate CAPE analysis (and bug #1702) 2023-08-11 08:56:06 +00:00
Yacine Elhamer 8b36cd1e35 add call-scope tests 2023-08-04 16:20:37 +01:00
Yacine Elhamer 16e32f8441 add tests 2023-07-27 10:31:45 +01:00
Yacine Elhamer 1029b369f2 Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into find-dynamic-capabilities 2023-07-20 20:02:49 +01:00
Yacine Elhamer e38e56ccf6 Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into sync-1657 2023-07-20 09:33:48 +01:00
Yacine Elhamer c5d08ec0d1 update extractors and tests 2023-07-19 14:00:45 +01:00
Yacine Elhamer e5d7903475 add removed tests 2023-07-18 20:38:54 +01:00
Willi Ballenthin b9090b86ce tests: make fixtures available via conftest.py
closes #1592
2023-07-13 09:37:39 +02:00
Willi Ballenthin c86ab51210 fix copyright headers everywhere 2023-07-13 05:03:33 +02:00
Yacine Elhamer 12c9154f55 fix flake8 linting issues 2023-07-11 14:40:56 +01:00
Yacine Elhamer 6feb9f540f fix ruff linting issues 2023-07-11 10:58:00 +01:00
Yacine Elhamer f86ecfe446 Merge remote-tracking branch 'parentrepo/dynamic-feature-extraction' into analysis-flavor 2023-07-11 10:43:31 +01: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 72e123e319 sync master 2023-07-10 02:50:18 +02:00
Aayush Goel 673af45c55 Update args.sample type to Path and str vs as_posix comparisons 2023-07-09 16:02:28 +05:30
Willi Ballenthin 13a8e252f0 introduce flake8-comprehensions 2023-07-06 20:04:27 +02:00
Yacine Elhamer a8f722c4de xfail tests that require the old ruleset 2023-07-06 18:15:02 +01:00
Willi Ballenthin a43d2c115f tests: fix fixture imports 2023-07-06 19:04:53 +02:00
Yacine Elhamer 32f936ce8c address review comments 2023-07-06 17:17:18 +01:00
Willi Ballenthin 47074fd129 fix ruff issues 2023-07-06 17:49:40 +02:00
Yacine Elhamer 2b163edc0e add thread scope 2023-06-28 13:08:11 +01:00
Yacine Elhamer 0e01d91cec update changelog 2023-06-28 01:39:11 +01:00
Willi Ballenthin a64a88981f tests: add another test demonstrating rd format output 2023-04-03 15:35:20 +02:00
Harsh Mehta 74009eb4a4 Updated Copyright (#1383)
* Updated Copyright
2023-03-14 17:58:43 +01:00
Moritz 0a78187c69 optimize tests to speed them up (#1287)
* optimize tests to speed them up

Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
2023-01-23 11:25:04 +01:00
Willi Ballenthin ed24db4460 extractors: remove SMDA backend
closes #1210
closes #1062
2022-12-06 15:33:17 +00:00
Mike Hunhoff 3c1cd67f60 dotnet: support property feature extraction (#1168) 2022-09-09 12:09:41 -06:00
Moritz 3976e5858d feat: verify rule metadata format on load (#1160) 2022-09-08 10:56:59 -06:00
Willi Ballenthin 3103307601 tests: fix reference error 2022-06-10 14:58:26 -06:00
Willi Ballenthin 1c771da848 pep8 2022-06-10 14:47:23 -06:00
William Ballenthin c3418fddb5 tests: json: fix address representation 2022-06-08 13:29:04 -06:00
William Ballenthin faf414e3d8 tests: add more dotnet tests 2022-06-08 13:28:53 -06:00
Willi Ballenthin 0987141970 tests: add tests demonstrating rending of .NET samples 2022-06-06 15:13:20 -06:00
Willi Ballenthin b35fe6cdb2 json, render: work with and serialize addresses 2022-05-24 13:52:56 -06:00
Willi Ballenthin 49adb8de0c pep8 2022-03-29 13:00:28 -06:00
Willi Ballenthin fb6b60bee3 tests: add tests demonstrating instruction (sub)scope matching 2022-03-29 12:58:38 -06:00
William Ballenthin b1f4a2853e Merge branch 'master' of github.com:fireeye/capa into fix-802 2021-10-27 09:25:29 -06:00
William Ballenthin 07412f047d tests: fix check of status code E_MISSING_FILE 2021-10-27 09:24:22 -06:00
William Ballenthin 4451b76f89 pep8 2021-10-26 15:21:28 -06:00
William Ballenthin a1075b63ec tests: add demonstration of bb layout 2021-10-26 15:20:08 -06:00
William Ballenthin ac59e50b5f move capa/features/__init__.py logic to common.py
also cleanup imports across the board,
thanks to pylance.
2021-06-09 22:20:53 -06:00
Moritz Raabe 94089ff43f parse att&ck for output doc 2021-06-02 10:37:19 +02:00
Moritz Raabe 8a386b6909 improve progress bar output 2021-05-20 13:56:29 +02:00