Commit Graph

727 Commits

Author SHA1 Message Date
William Ballenthin
216e288ade unpack: add can_unpack routine 2020-08-29 21:38:26 -06:00
William Ballenthin
ec55a9c482 unpack: aspack: add doc 2020-08-26 15:15:06 -06:00
William Ballenthin
e5136683e6 unpack: aspack: add documentation 2020-08-26 14:26:36 -06:00
William Ballenthin
63561b73c1 unpack: aspack: split into its own module 2020-08-26 14:07:25 -06:00
William Ballenthin
b700ad1655 unpack: aspack: fixup PE imports after dumping 2020-08-26 13:49:08 -06:00
William Ballenthin
52eef09c8b unpack: aspack: split dump from fixup 2020-08-25 19:08:00 -06:00
William Ballenthin
de3f223bb5 unpack: aspack: fixup the PE header for OEP 2020-08-25 18:57:11 -06:00
William Ballenthin
6a2e5ad530 unpack: use speakeasy to find aspack OEP 2020-08-25 18:50:15 -06:00
William Ballenthin
5575166b7a unpack: flesh out tests 2020-08-25 12:53:43 -06:00
William Ballenthin
8a2ba9cd71 Merge branch 'backend-lancelot' into fix-46 2020-08-25 12:43:45 -06:00
William Ballenthin
e523c6cb50 init unpack module 2020-08-25 12:43:40 -06:00
Capa Bot
8be1c84fd2 Sync capa rules submodule 2020-08-25 16:35:30 +00:00
Capa Bot
739100d481 Sync capa-testfiles submodule 2020-08-25 16:34:26 +00:00
Willi Ballenthin
fd7d9aafe9 Merge pull request #247 from Ana06/test-pythons
Test all supported Python versions
2020-08-21 07:55:08 -06:00
Ana María Martínez Gómez
a39e3cca79 ci: test all supported Python versions
I assume once we migrate to Python3, we want to support Python 3.6-9.
Python 3.5 will stop receiving security fixes next month, so I don't
think we need to support it.

As running the test as many times as we want is free, run them for all
supported versions to ensure capa work in all of them.
2020-08-21 15:39:13 +02:00
Ana María Martínez Gómez
ad011b08f6 ci: use matrix in tests workflow to avoid duplication
Use a matrix with the Python version to avoid duplication when testing
different Python versions.
2020-08-21 15:00:06 +02:00
William Ballenthin
854e3d7774 submodule: rules update 2020-08-20 15:15:14 -06:00
Capa Bot
b4fa6fc954 Sync capa rules submodule 2020-08-20 10:06:04 +00:00
Willi Ballenthin
585a9c167f Merge pull request #243 from fireeye/fix-241
fix 241: string counting exception
2020-08-18 12:09:52 -06:00
Willi Ballenthin
5f731f72ed Merge pull request #239 from fireeye/backport-py3-fixes
backport py3 testing enhancements
2020-08-18 12:09:22 -06:00
Willi Ballenthin
385c956184 fixtures: fix doc 2020-08-17 20:53:34 -06:00
Willi Ballenthin
d8f2b7b4df Merge pull request #236 from fireeye/fix-225
fix 225: declarative tests
2020-08-17 10:06:22 -06:00
Willi Ballenthin
b49ed276a9 Merge pull request #238 from Ana06/zip-binaries
Fix build workflow & zip binaries
2020-08-17 07:47:08 -06:00
Ana María Martínez Gómez
a2da55fb6f Add version number to zip in build workflow
Relay in `github.ref` (the release tag).
2020-08-17 11:59:04 +02:00
William Ballenthin
1b6ac29053 Merge branch 'master' into backend-lancelot 2020-08-17 00:04:57 -06:00
William Ballenthin
d3dad3a66a rules: fix bug in string counting
closes #241
2020-08-16 21:38:13 -06:00
William Ballenthin
b084f7cb9b pep8 2020-08-16 05:18:39 -06:00
William Ballenthin
89edaf4c5c tests: xfail things that won't work on py3 2020-08-16 05:17:17 -06:00
William Ballenthin
6cd2931645 ci: test on both py2 and py3 2020-08-16 05:04:19 -06:00
William Ballenthin
295d3fee5d tests: limit tests to py2/py3 2020-08-16 05:03:57 -06:00
William Ballenthin
0af6386693 tests: fixtures: add ctxmgr for catching xfail 2020-08-16 05:03:23 -06:00
William Ballenthin
1873d0b7c5 *: py3 compat 2020-08-16 05:03:08 -06:00
William Ballenthin
c032d556fb tests: freeze: make py3 compatible 2020-08-16 05:02:35 -06:00
William Ballenthin
d7f1c23f4d tests: show found number of features when unexpected 2020-08-16 05:01:20 -06:00
William Ballenthin
df4c75882d dos2unix 2020-08-16 04:58:35 -06:00
William Ballenthin
0cfbed05b4 ci: install pefile on py3 2020-08-16 01:41:25 -06:00
William Ballenthin
ca95512811 ci: test on both py2 and py3 2020-08-16 01:36:25 -06:00
William Ballenthin
bb9803fcc0 tests: limit tests to py2/py3 2020-08-16 01:10:10 -06:00
William Ballenthin
1fe945e3ed tests: main: xfail sc analysis on py3 2020-08-16 01:09:40 -06:00
William Ballenthin
6ba4798822 tests: fixtures: add ctxmgr for catching xfail 2020-08-16 01:09:06 -06:00
William Ballenthin
f424dd126f *: py3 compat 2020-08-16 00:05:26 -06:00
William Ballenthin
9fa128b27d tests: freeze: make py3 compatible 2020-08-16 00:05:04 -06:00
William Ballenthin
09bca1e5f7 setup: bump lancelot dep version 2020-08-16 00:04:39 -06:00
William Ballenthin
c623791a84 tests: lancelot: use common harness from fixtures 2020-08-15 23:32:50 -06:00
William Ballenthin
980a34adca setup: bump lancelot dep version 2020-08-15 23:32:35 -06:00
William Ballenthin
8721eb05eb tests: show found number of features when unexpected 2020-08-15 23:32:13 -06:00
William Ballenthin
512ea89662 Merge branch 'backend-lancelot' of github.com:fireeye/capa into backend-lancelot 2020-08-15 21:52:53 -06:00
William Ballenthin
15259d455c Merge branch 'master' into backend-lancelot 2020-08-15 21:52:28 -06:00
Willi Ballenthin
1e097ef759 setup: add pylancelot dep on py3 2020-08-15 11:13:06 -06:00
Ana María Martínez Gómez
f7925c2990 Fix pypinstaller to version 3 in build workflow
pyinstaller 4 doesn't support Python 2.7. Without a version, it takes
the last version making the workflow fail.
2020-08-15 12:28:51 +02:00