Commit Graph

5110 Commits

Author SHA1 Message Date
William Ballenthin 853d7285bd mypy: ignore ruamel 2021-06-14 10:32:51 -06:00
William Ballenthin 6842b92ca2 pep8 2021-06-14 10:25:37 -06:00
William Ballenthin dba250ca86 rules: fix types and document description parsing 2021-06-14 10:25:15 -06:00
William Ballenthin b8c524d2f5 type: capa.rules parse range 2021-06-14 10:09:35 -06:00
William Ballenthin 0ff5db9397 type: capa.rules feature validation 2021-06-14 10:06:48 -06:00
William Ballenthin 15334cf5d4 render: further refactor att&ck handling 2021-06-14 09:53:36 -06:00
William Ballenthin f5cb5d462d render: further cleanup rendering of att&ck 2021-06-14 09:52:32 -06:00
William Ballenthin 79459d4a14 mypy fixes
type checker doesn't like a list that contains tuples with both
length 2 and length 3. so keep length constant with None values.
2021-06-14 09:50:12 -06:00
William Ballenthin addd4683ca mypy fixes 2021-06-14 09:47:51 -06:00
William Ballenthin 6d8399684b type: capa.render 2021-06-14 09:28:33 -06:00
William Ballenthin 4583692539 type: capa.main 2021-06-14 09:19:08 -06:00
William Ballenthin 9b7e67443b extractors: fix type hints 2021-06-14 08:59:23 -06:00
William Ballenthin 83909b2be4 *: remove explicit object super class
closes #635
2021-06-14 08:47:09 -06:00
William Ballenthin 247d330f79 type: capa.features.extractors.base_extractor 2021-06-14 08:44:48 -06:00
Willi Ballenthin 1a31c84eef Merge pull request #632 from fireeye/dependabot/pip/black-21.6b0
build(deps-dev): bump black from 21.5b2 to 21.6b0
2021-06-14 08:20:53 -06:00
Willi Ballenthin 9ce92cfb5b Merge pull request #633 from fireeye/dependabot/pip/ruamel-yaml-0.17.9
build(deps): bump ruamel-yaml from 0.17.7 to 0.17.9
2021-06-14 08:20:31 -06:00
Willi Ballenthin 1f44a2dec8 Merge pull request #634 from fireeye/dependabot/pip/tqdm-4.61.1
build(deps): bump tqdm from 4.61.0 to 4.61.1
2021-06-14 08:20:19 -06:00
dependabot[bot] b7cd467363 build(deps): bump tqdm from 4.61.0 to 4.61.1
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.61.0 to 4.61.1.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.61.0...v4.61.1)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:59:01 +00:00
dependabot[bot] ff3cc421eb build(deps): bump ruamel-yaml from 0.17.7 to 0.17.9
Bumps [ruamel-yaml](https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree) from 0.17.7 to 0.17.9.

---
updated-dependencies:
- dependency-name: ruamel-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:58:55 +00:00
dependabot[bot] 205798865d build(deps-dev): bump black from 21.5b2 to 21.6b0
Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:58:48 +00:00
Capa Bot 10f499d230 Sync capa rules submodule 2021-06-14 03:51:14 +00:00
William Ballenthin a21b53d737 Merge branch 'master' of github.com:fireeye/capa into feature-447 2021-06-10 09:02:39 -06:00
Capa Bot 0f15895b36 Sync capa rules submodule 2021-06-10 14:42:56 +00:00
Moritz 2ba2aec0d3 Merge pull request #624 from fireeye/fix-622
remove logic from __init__.py and break import cycles
2021-06-10 13:53:10 +02:00
William Ballenthin 11d50aa5b1 pep8 2021-06-10 00:29:23 -06:00
William Ballenthin b066af9506 mypy: extend lib ignore config 2021-06-10 00:28:28 -06:00
William Ballenthin 059909c027 features: fix types 2021-06-10 00:23:01 -06:00
William Ballenthin d61ff0c69f changelog 2021-06-10 00:08:00 -06:00
William Ballenthin f6c2394bdf common: fix type annotations 2021-06-10 00:07:05 -06:00
William Ballenthin df5ed6bbf2 indirect_calls: fix types 2021-06-10 00:02:23 -06:00
William Ballenthin 0b653aa47a ida: file: fix imports 2021-06-10 00:02:11 -06:00
William Ballenthin b5a18de4a3 pep8 2021-06-09 23:52:15 -06:00
William Ballenthin 5408481606 type: capa.engine 2021-06-09 23:51:55 -06:00
William Ballenthin 1c66ebe638 type: capa.features.common 2021-06-09 23:47:06 -06:00
William Ballenthin 3e79dfd0e7 type: capa.rules 2021-06-09 23:39:07 -06:00
William Ballenthin 459df37b13 indirect_calls: fix typing circular dependencies 2021-06-09 23:28:05 -06:00
William Ballenthin 3d8edc513c type: capa.features.extractors.viv.insn 2021-06-09 23:24:51 -06:00
William Ballenthin ab7bf53f67 type: capa.features.insn 2021-06-09 23:20:46 -06:00
William Ballenthin c30a56bc11 type: capa.features.extractors.helpers 2021-06-09 23:19:36 -06:00
William Ballenthin 6918a039e9 type: capa.render.result_document 2021-06-09 23:15:45 -06:00
William Ballenthin 469e2ff870 type: capa.features.extractors.viv.basicblock 2021-06-09 23:12:07 -06:00
William Ballenthin 3416f7bc61 type: capa.features.file 2021-06-09 23:09:24 -06:00
William Ballenthin a75d7576f8 type: capa.features.extractors.viv.indirect_calls 2021-06-09 23:08:29 -06:00
William Ballenthin 23addda29a type: capa.render.utils 2021-06-09 23:06:33 -06:00
William Ballenthin 14e2efa309 type: capa.features.extractors.viv.file 2021-06-09 23:01:14 -06:00
William Ballenthin faa363cd8f type: capa.render.default 2021-06-09 22:59:54 -06:00
William Ballenthin e29922af57 type: capa.features.extractors.pefile 2021-06-09 22:56:02 -06:00
William Ballenthin 8a0ae7ae55 type: capa.features.extractors.viv.helpers 2021-06-09 22:54:29 -06:00
William Ballenthin 6f67619621 type capa.features.freeze 2021-06-09 22:51:09 -06:00
William Ballenthin 3f55f678ca Merge branch 'fix-622' into feature-447 2021-06-09 22:41:10 -06:00