Willi Ballenthin
8938744e3e
Merge pull request #497 from fireeye/williballenthin-patch-1
...
ida: support 7.6
2021-04-13 08:54:51 -06:00
Moritz
3023634536
build using Py3.8 and test across more OSs ( #506 )
...
* build using Py3.8 and test across more OSs
* enable for release
* test builds on push to master
2021-04-13 15:42:58 +02:00
Moritz
a11d04e92b
Merge pull request #525 from fireeye/dependabot/pip/smda-1.5.14
...
build(deps): bump smda from 1.5.13 to 1.5.14
2021-04-12 14:13:36 +02:00
dependabot[bot]
2140a3d762
build(deps): bump smda from 1.5.13 to 1.5.14
...
Bumps [smda](https://github.com/danielplohmann/smda ) from 1.5.13 to 1.5.14.
- [Release notes](https://github.com/danielplohmann/smda/releases )
- [Commits](https://github.com/danielplohmann/smda/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-12 06:32:25 +00:00
Willi Ballenthin
1f6debc6e0
Merge pull request #524 from fireeye/mr-tz-patch-1
...
Update pull_request_template.md
2021-04-09 15:03:13 -06:00
Moritz
eb5c705083
Update pull_request_template.md
2021-04-09 15:03:43 +02:00
Capa Bot
f01044e453
Sync capa rules submodule
2021-04-09 11:19:42 +00:00
Moritz
8ef3eb85a2
Merge pull request #523 from fireeye/auto-detect-sc-extension-2
...
move auto format check
2021-04-09 13:16:12 +02:00
Moritz Raabe
d1cd4ef259
move auto format check
2021-04-09 11:59:30 +02:00
Capa Bot
a8bef0d9c0
Sync capa rules submodule
2021-04-09 09:21:00 +00:00
Moritz
309a9abb8a
Merge pull request #521 from fireeye/auto-detect-sc-extension
...
auto detect shellcode file extensions
2021-04-09 11:13:25 +02:00
Moritz
cc13a7681a
Merge pull request #522 from fireeye/explorer/update-docs
...
updating capa explorer doc
2021-04-09 10:31:03 +02:00
Michael Hunhoff
503a723611
updating capa explorer doc
2021-04-08 14:06:23 -06:00
Moritz Raabe
998f4a6bad
auto detect shellcode file extensions
2021-04-08 18:49:22 +02:00
Willi Ballenthin
1be3613063
changelog: describe #519
2021-04-08 09:10:14 -06:00
Willi Ballenthin
9ffbe5cd76
Merge pull request #519 from fireeye/dependabot/pip/ruamel-yaml-0.17.4
...
build(deps): bump ruamel-yaml from 0.17.0 to 0.17.4
2021-04-08 09:06:14 -06:00
Ana María Martínez Gómez
255d6ea176
Merge pull request #517 from Ana06/better-tag
...
ci: add capa release link to capa-rules tag
2021-04-08 10:49:07 +02:00
dependabot[bot]
628e2ef3f4
build(deps): bump ruamel-yaml from 0.17.0 to 0.17.4
...
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree ) from 0.17.0 to 0.17.4.
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-08 08:49:03 +00:00
Ana María Martínez Gómez
64465a7a31
Merge pull request #480 from Ana06/py3-only
2021-04-08 10:48:15 +02:00
Ana Maria Martinez Gomez
9d79baa96a
ci: add capa release link to capa-rules tag
...
GitHub displays the commit's message of the tag if no description is
given, which is ugly. Use annotated tags which include a message. Use
the release link as message, as this is useful information.
2021-04-07 18:46:51 +02:00
Ana Maria Martinez Gomez
3013269a1c
changelog: Update changelog
...
Add `drop Python 2 support` entry.
2021-04-07 18:24:52 +02:00
Ana Maria Martinez Gomez
bbff3016fe
doc: Update Python 2 related documentation
...
Update documentation and code comments which mention Python 2.
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
e9d190799e
py3: use Python 3.6 to publish capa
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
0465333aa4
py3: Python 3 knows about cp65001
...
Python 2 doesn't know about `cp65001`. But Python 3 does. Since Python
3.8 `cp65001` is an alias to `utf_8`. But not before Python 3.8 and it
used to cause some problems:
https://bugs.python.org/issue36778
Keep this code to ensure same behavior for all Python versions.
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
28406dafa1
py3: codecs.decode doesn't raise TypeError
...
`codecs.decode` doesn't raise `TypeError` in Python 3. Just obey the
comment!
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
73a49c6a1f
py3: remove rstrip("L") needed in Python 2
...
In Python 3, long integers are not formatted with a trailing `L`, so
this code is not longer needed.
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
4028171f59
py3: use python3 in shebang
2021-04-07 18:20:08 +02:00
Ana Maria Martinez Gomez
5d341ba078
py3: remove six
...
As we are not supporting Python 2 any longer, we can stop using six and
use the equivalent Python 3 method instead.
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
dfb7cf4888
py3: set and document env
...
Document how to use env now that we are Python3 only. Adapt
`scripts/ci.sh`.
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
d640c57e29
py3: Update setup.py
...
Require Python 3.6+ in setup.py
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
c0d6468347
py3: Remove Python 2 tests
...
Tests don't need to support Python 2 any longer. Do not run tests with
Python 2.
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
058b61b10c
py3: prevent that capa is run with Python2
...
Raise an exception from main if capa is run with Python < 3.6 to avoid
any silly issues reported to GitHub.
2021-04-07 18:20:07 +02:00
Ana Maria Martinez Gomez
aa4d6305af
py3: remove py2/3 branches
...
Remove `if-else`s with a condition like `sys.version_info >= (3, 0)`.
2021-04-07 18:20:06 +02:00
Ana María Martínez Gómez
407ecab162
Merge pull request #515 from Ana06/v1-6-1
v1.6.1
2021-04-07 18:03:56 +02:00
Ana Maria Martinez Gomez
cbc1f57b21
changelog: add master (unreleased) to CHANGELOG
...
Add placeholder for master (unreleased changes) in CHANGELOG. Document
this in the release checklist.
2021-04-07 17:50:19 +02:00
Ana Maria Martinez Gomez
374a9e4337
changelog: v1.6.1
...
This release includes several bug fixes, such as a vivisect fix for a bug, which caused that capa didn't work on Windows with Python 3. It also adds 17 new rules and a bunch of improvements in the rules and IDA rule generator. We appreciate everyone who opened issues, provided feedback, and contributed code and rules.
This is the very last capa release that supports Python 2.
2021-04-07 17:50:16 +02:00
Capa Bot
83e2f80d10
Sync capa-testfiles submodule
2021-04-07 13:53:32 +00:00
Ana Maria Martinez Gomez
576211c4ef
version: bump to v1.6.1
2021-04-07 11:11:43 +02:00
Ana María Martínez Gómez
31fc5a31d6
Merge pull request #513 from Ana06/ping-dependencies
...
setup: pin dependencies
2021-04-07 10:19:04 +02:00
Ana Maria Martinez Gomez
eb08943d4f
setup: pin dependencies
...
Pin all dependencies in setup to the currently used version to avoid
that a new release breaks capa without being noticed.
Closes https://github.com/fireeye/capa/issues/498
2021-04-07 09:40:13 +02:00
Ana María Martínez Gómez
c36ed71353
Merge pull request #470 from fireeye/ci/test-windows
2021-04-07 09:38:34 +02:00
Ana Maria Martinez Gomez
fa52dbcf84
ci: skip smda tests in win32
...
Due to a bug, two `test_smda_features` tests are failing:
https://github.com/danielplohmann/smda/issues/20
Disable them until the bug is fixed.
2021-04-06 21:53:22 +02:00
Ana Maria Martinez Gomez
d412e66cea
ci: do not test Python 2.7 with Windows
...
The Python 2.7 tests fail in Windows with vivisect because the Windows
filesystem encoding is not UTF-8. This shouldn't be a problem when using
capa as the given filename most likely uses the same encoding, but we
force UTF-8 in our tests. As we are planing to remove Python 2 support
is not wortwhile to invest time in making this test working. Instead,
test Python 2.7 only in Ubuntu.
2021-04-06 21:39:01 +02:00
Moritz Raabe
efe50d3313
ci: test on Windows and macOS
...
Run the tests on Windows and macOS to avoid failures OS related.
closes #460
2021-04-06 21:38:07 +02:00
Ana María Martínez Gómez
1062ba995e
doc: add milestones link to release checklist
...
This makes it a bit easier to check if all milestoned issues/PRs are addressed, or reassign to a new milestone.
I am committing directly to master as this is a minor change which doesn't need review.
2021-04-06 10:21:43 +02:00
Ana María Martínez Gómez
7f93bd5b59
Merge pull request #512 from fireeye/williballenthin-patch-2
...
setup: bump viv to v1.0.1
2021-04-06 10:17:44 +02:00
Willi Ballenthin
275d170680
setup: bump viv to v1.0.1
2021-04-05 21:22:17 -06:00
Moritz
6d7e10b804
Merge pull request #511 from fireeye/ci/fix-typos
...
fix submodule typos
2021-04-05 13:13:41 +02:00
Moritz Raabe
25944864f7
fix submodule typos
2021-04-05 12:52:08 +02:00
Capa Bot
5e84a16eba
Sync capa rules submodule
2021-04-01 16:44:59 +00:00