Commit Graph

426 Commits

Author SHA1 Message Date
Ana María Martínez Gómez 85ff03215e Update CI badge in README
- Give it a better name after rule linter and tests have been added to
CI.
- Change the URL to only show result of commits pushed to master
2020-07-22 19:36:54 +02:00
Ana María Martínez Gómez def4ad68c3 ci: Run tests in master and PRs
Add the tests to the CI GitHub action. Only run the tests if code style
and rule linter succeed, as tests take some time to run.

A similar actions should be added to `capa-testfiles`.
2020-07-22 19:36:51 +02:00
Ana María Martínez Gómez 7d58d3244c setup: Add vivisect installation to setup.py
Vivisect is not available on PyPI. Tell `pip` in `setup.py` where to
find it so that it is not needed to do it as a separate step.
2020-07-20 22:19:31 +02:00
Moritz 9b873aeba7 Update README.md 2020-07-22 09:18:33 +02:00
Capa Bot c2c56ba40d Sync capa rules submodule 2020-07-19 21:56:31 +00:00
Willi Ballenthin 1f2c155b22 Merge pull request #171 from psifertex/master
add explanation to documentation about bypassing gatekeeper
2020-07-19 15:49:55 -06:00
Jordan Wiens 2a7d4e7fca add explanation to documentation about bypassing gatekeeper 2020-07-17 14:41:17 -04:00
Capa Bot bd2303d3a7 Sync capa rules submodule 2020-07-17 17:35:56 +00:00
Capa Bot f383181fed Sync capa-testfiles submodule 2020-07-17 17:34:44 +00:00
Capa Bot 72a850f2c6 Sync capa rules submodule 2020-07-17 15:52:09 +00:00
Capa Bot 96453db3be Sync capa rules submodule 2020-07-17 13:53:07 +00:00
Moritz fabab6ac13 Merge pull request #166 from Ana06/rules-linter
Fix rule linter and run it in the CI GitHub action
2020-07-17 15:27:12 +02:00
Ana María Martínez Gómez e744652999 Run rules linter in master and PRs
Add the rule linter to the CI GitHub action. A similar actions should be
added to `capa-rules` as well.
2020-07-17 14:20:37 +02:00
Ana María Martínez Gómez ab1dc3b804 Fix rule linter
Prevent the linter to raise an exception if `examples` is `None`, as it
for example currently happens in:
`capa-rules/nursery/hash-data-using-murmur2.yml`

We could also remove the `examples` tag in those cases, but the linter
shouldn't break in any case.
2020-07-17 14:01:07 +02:00
Ana María Martínez Gómez 9701d611f2 Merge pull request #151 from fireeye/ana-ci-badge 2020-07-16 23:00:36 +02:00
Ana María Martínez Gómez 81f943d39f Add CI status badge to README
Add a GitHub action status badge for `CI` to README.
2020-07-16 22:57:11 +02:00
Willi Ballenthin cc2929ca8a readme: fix url 2020-07-16 14:43:35 -06:00
Ana María Martínez Gómez ef44e7e813 Merge pull request #150 from fireeye/ana-code-style 2020-07-16 22:19:51 +02:00
Ana María Martínez Gómez 4ab97ec910 ci: Add GitHub action for style checkers
Run isort and black for every pull request or push.
2020-07-16 22:05:17 +02:00
Ana María Martínez Gómez 07764fb31f Use isort 5
Run `isort --profile black --length-sort --line-width 120 .`

Update documentation as well.
2020-07-16 22:02:53 +02:00
Moritz a02ed5c367 Update README.md 2020-07-16 18:19:41 +02:00
Ana María Martínez Gómez e7a6e31a8e Merge pull request #161 from fireeye/ana-license-badge 2020-07-16 17:22:06 +02:00
Ana María Martínez Gómez 0a0de53fe4 Add license badge to README
Use https://shields.io/category/license
2020-07-16 16:29:52 +02:00
Willi Ballenthin 97b8a5ea63 Merge pull request #160 from fireeye/doc/add-license
doc: add license
2020-07-16 08:14:52 -06:00
Willi Ballenthin 862d740292 readme: comment out links to nightlies until those are setup 2020-07-16 08:14:36 -06:00
Moritz Raabe bdf472e82a doc: add license 2020-07-16 15:02:12 +02:00
William Ballenthin f1fa4e134a submodule: testfiles update 2020-07-15 19:11:39 -06:00
William Ballenthin 5b0b00b0e7 main: skip .github directory for rules 2020-07-15 18:50:41 -06:00
William Ballenthin c83742f76e version: remove commit field
not used anywhere
2020-07-15 18:41:11 -06:00
William Ballenthin 187d5b59ac pyinstaller: update program icon 2020-07-15 18:40:45 -06:00
William Ballenthin 8ee41596cd submodule: rules update 2020-07-15 18:36:32 -06:00
William Ballenthin c89c7f7c08 pyinstaller: update version format embedded in standalone exe 2020-07-15 18:35:50 -06:00
William Ballenthin 3af38dc618 pep8 v1.0.0 2020-07-15 18:28:47 -06:00
William Ballenthin 1066707fdd version: v1.0.0 2020-07-15 18:28:22 -06:00
Willi Ballenthin 3bf030c2d4 Merge pull request #155 from fireeye/ana-desc-regex
Enable descriptions for regular expressions
2020-07-15 15:22:50 -06:00
Ana María Martínez Gómez 80ba19a466 Do not initialize Regex match
It is not used until it has a value.
2020-07-15 23:02:06 +02:00
Michael Hunhoff 67cfb3866c support regex feature capa explorer 2020-07-15 14:55:29 -06:00
Ana María Martínez Gómez 78dae308c2 Add test for RegExp descriptions
Now that RegExp are a feature, ensure that descriptions are working.
2020-07-15 22:37:38 +02:00
Ana María Martínez Gómez 6fe56f6224 Make Regex a Feature
This enables description for regular expressions and simplifies the code.
2020-07-15 22:37:35 +02:00
Willi Ballenthin 881ca88bfe Merge pull request #146 from fireeye/capa-explorer-export-json-results
capa explorer: add file menu option to export capa results
2020-07-15 14:28:17 -06:00
William Ballenthin a88ada3562 Merge branch 'master' into capa-explorer-export-json-results 2020-07-15 14:26:14 -06:00
William Ballenthin 940137fad8 explorer: use binary mode when opening files 2020-07-15 14:25:39 -06:00
William Ballenthin cc3e5fd7c6 explorer: use binary mode for opening files 2020-07-15 14:25:04 -06:00
William Ballenthin e09979720a pep8 2020-07-15 14:16:21 -06:00
William Ballenthin 3faf175da7 *: add license header
closes #144
2020-07-15 14:14:53 -06:00
Ana María Martínez Gómez a28baf09d6 Merge pull request #153 from fireeye/fix/version-option 2020-07-15 16:40:24 +02:00
Moritz Raabe 7863b78a68 main: fix version and reorder options 2020-07-15 15:15:36 +02:00
Willi Ballenthin c083303f31 Merge pull request #145 from fireeye/bug-fix-for-101
bug fix: remove lazy map() eval
2020-07-14 23:19:13 -06:00
Willi Ballenthin bc85cd1297 Merge pull request #147 from fireeye/improve-handling-of-features-without-value
improve rendering of features with no value
2020-07-14 23:18:24 -06:00
Michael Hunhoff d0f3a90aef adding code to handle features with no value e.g. basic block features 2020-07-14 21:41:02 -06:00