Commit Graph

967 Commits

Author SHA1 Message Date
William Ballenthin
9aba2eb3a5 rules: range: correct handling of range with min==0
closes #57
2020-06-30 00:44:22 -06:00
William Ballenthin
970977ade5 tests: demonstrate a bit more depth to namespace matching 2020-06-30 00:20:40 -06:00
William Ballenthin
e2296f0f40 Merge branch 'master' of github.com:fireeye/capa into match-namespaces 2020-06-30 00:18:44 -06:00
Moritz Raabe
5cee0d9b80 add lint negative numbers and cleanup tests 2020-06-30 22:17:42 +02:00
William Ballenthin
990c2010e9 pep8 2020-06-29 05:57:46 -06:00
William Ballenthin
3d0bd64e1b engine, rules: support matching namespaces, not just rule names
closes #37
2020-06-29 05:54:56 -06:00
William Ballenthin
07daf3d46b rule: fmt: support pulling meta from the rule instance 2020-06-21 16:57:58 -06:00
William Ballenthin
23037ad763 tests: fmt: fix expected format 2020-06-21 16:56:17 -06:00
William Ballenthin
fea1177c5e add tests for formatting 2020-06-21 13:03:07 -06:00
Ana María Martínez Gómez
7e1e9e6618 Get rid of the Element class
The `Element` class is just used for testing. By using `Element` we are
not testing the actual code. Also, every time we implement a new feature
for the `Feature` class, we need to implement it for `Element` as well.
Replace `Element` by `Integer`.
2020-06-24 18:05:52 +02:00
Willi Ballenthin
53f374024b Merge branch 'master' into doc/code-review-improvements 2020-06-24 08:22:52 -06:00
Moritz Raabe
beba3fb3c7 double to single quotes 2020-06-24 15:00:35 +02:00
Moritz Raabe
d2d1f26e7b update documentation 2020-06-24 12:55:35 +02:00
William Ballenthin
60d7c87379 sync testfiles 2020-06-18 11:30:01 -06:00
William Ballenthin
add3537447 import source files, forgetting about 938 prior commits 2020-06-18 09:13:19 -06:00
William Ballenthin
b7bb912f46 update submodules 2020-06-17 16:15:16 -06:00
William Ballenthin
632e5b23f6 init 2020-06-17 16:08:47 -06:00