Commit Graph

5110 Commits

Author SHA1 Message Date
Willi Ballenthin 9350ee9479 Merge pull request #827 from mandiant/perf/short-circuit
perf: short circuit logic nodes when appropriate
2021-11-09 16:10:20 -07:00
Willi Ballenthin 025d156068 Merge pull request #828 from mandiant/profiling
profile infrastructure
2021-11-09 16:09:34 -07:00
William Ballenthin 7a4aee592b profile-time: add doc 2021-11-09 16:08:39 -07:00
Willi Ballenthin f427c5e961 Update capa/engine.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2021-11-09 10:49:10 -07:00
Willi Ballenthin 51af2d4a56 Update capa/engine.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2021-11-09 10:49:01 -07:00
Willi Ballenthin a68812b223 Update capa/engine.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
2021-11-09 10:48:54 -07:00
William Ballenthin e05f8c7034 changelog 2021-11-09 10:27:33 -07:00
William Ballenthin 182377581a main: use ruleset.match instead of engine.mathc 2021-11-09 09:52:45 -07:00
William Ballenthin e647ae2ac4 rules: ruleset: add optimized match routine 2021-11-09 09:52:32 -07:00
William Ballenthin 1311da99ff rules: make Scope an enum 2021-11-09 09:51:50 -07:00
William Ballenthin 8badf226a2 engine: document match routine 2021-11-09 09:51:18 -07:00
William Ballenthin 6909d6a541 changelog 2021-11-08 16:04:15 -07:00
William Ballenthin e287dc9a32 optimizer: fix sort order 2021-11-08 15:54:14 -07:00
William Ballenthin 152d0f3244 ruleset: add query optimizer 2021-11-08 15:34:59 -07:00
William Ballenthin a6e2cfc90a Merge branch 'profiling' into perf/short-circuit 2021-11-08 15:24:50 -07:00
William Ballenthin 18c30e4f12 main: remove perf debug msgs 2021-11-08 15:24:43 -07:00
William Ballenthin 3c4f4d302c Merge branch 'profiling' into perf/short-circuit 2021-11-08 15:23:23 -07:00
William Ballenthin 2abebfbce7 main: remove perf messages 2021-11-08 15:22:58 -07:00
William Ballenthin 0b517c51d8 main: remove perf messages 2021-11-08 15:22:01 -07:00
William Ballenthin 9fbbda11b8 Merge branch 'profiling' into perf/short-circuit 2021-11-08 15:20:22 -07:00
William Ballenthin 6f6831f812 perf: document that counters is unstable 2021-11-08 15:20:11 -07:00
William Ballenthin d425bb31c4 Merge branch 'profiling' into perf/short-circuit 2021-11-08 15:16:22 -07:00
William Ballenthin 334425a08f changelog 2021-11-08 15:16:08 -07:00
William Ballenthin 3e74da96a6 engine: make short circuiting configurable 2021-11-08 14:55:11 -07:00
William Ballenthin ad119d789b Merge branch 'profiling' into perf/short-circuit 2021-11-08 14:35:26 -07:00
William Ballenthin 6c8d246af9 fix bad merge 2021-11-08 14:31:43 -07:00
William Ballenthin 26b7a0b91d Merge branch 'master' into profiling 2021-11-08 14:29:40 -07:00
Willi Ballenthin 0b6c6227b9 Merge pull request #825 from mandiant/fix/circular-import-freeze
fix circular import freeze
2021-11-08 14:28:01 -07:00
William Ballenthin 94fd7673fd common: mypy 2021-11-08 14:27:44 -07:00
William Ballenthin f598acb8fc scripts: remove old profiling scripts 2021-11-08 14:24:48 -07:00
William Ballenthin b621205a06 mypy 2021-11-08 14:24:13 -07:00
William Ballenthin 9fa9c6a5d0 tests: add test demonstrating short circuiting 2021-11-08 14:07:44 -07:00
William Ballenthin 1a84051679 changelog 2021-11-08 14:07:31 -07:00
William Ballenthin d987719889 engine: some: correctly count satisfied children 2021-11-08 13:53:37 -07:00
William Ballenthin 96813c37b7 remove old improt 2021-11-08 13:48:33 -07:00
William Ballenthin 70f007525d pep8 2021-11-08 12:11:01 -07:00
William Ballenthin e3496b0660 engine: move optimizer into its own module 2021-11-08 12:10:22 -07:00
William Ballenthin 24b4c99635 changelog 2021-11-08 11:58:02 -07:00
William Ballenthin 27b4a8ba73 common: remove old import 2021-11-08 11:55:58 -07:00
William Ballenthin 51b3f38f55 common: move Result to capa.common from capa.engine
fixes circular import error in capa.features.freeze
2021-11-08 11:54:36 -07:00
William Ballenthin a35be4a666 scripts: add py script for profiling time 2021-11-08 11:52:34 -07:00
William Ballenthin 5770d0c12d perf: add reset routine 2021-11-08 11:52:25 -07:00
William Ballenthin 0629c584e1 common: move Result to capa.common from capa.engine
fixes circular import error in capa.features.freeze
2021-11-08 11:52:13 -07:00
William Ballenthin 480df323e5 scripts: add py script for profiling time 2021-11-08 11:51:09 -07:00
William Ballenthin a995b53c38 perf: add reset routine 2021-11-08 11:50:49 -07:00
William Ballenthin 35fa50dbee pep8 2021-11-08 11:50:37 -07:00
William Ballenthin d86c3f4d48 common: move Result to capa.common from capa.engine
fixes circular import error in capa.features.freeze
2021-11-08 11:50:16 -07:00
Moritz 4696c0ebb6 Merge pull request #822 from mandiant/dependabot/pip/types-psutil-5.8.14
build(deps-dev): bump types-psutil from 5.8.13 to 5.8.14
2021-11-08 17:02:58 +01:00
Moritz 09724e9787 Merge pull request #823 from mandiant/dependabot/pip/isort-5.10.0
build(deps-dev): bump isort from 5.9.3 to 5.10.0
2021-11-08 17:02:33 +01:00
dependabot[bot] 636548cdec build(deps-dev): bump isort from 5.9.3 to 5.10.0
Bumps [isort](https://github.com/pycqa/isort) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.9.3...5.10.0)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 14:16:28 +00:00