dependabot[bot]
ba044a980f
build(deps-dev): bump black from 23.12.1 to 24.1.1 ( #1955 )
...
* build(deps-dev): bump black from 23.12.1 to 24.1.1
Bumps [black](https://github.com/psf/black ) from 23.12.1 to 24.1.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.12.1...24.1.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* black 24.1.1 formatting
* update flake config to match black 24.1.1 format
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
Co-authored-by: mr-tz <moritz.raabe@mandiant.com >
2024-01-31 11:18:54 +01:00
Mike Hunhoff
2e7642ef8a
update Ghidra integration ( #1959 )
2024-01-31 00:03:34 -07:00
Colton Gabertan
3e4479e3bb
ghidra: UI integration ( #1786 )
2024-01-30 22:58:35 -07:00
Moritz
437732174b
Merge pull request #1957 from mandiant/fix/explorer-bugs
...
fix rule display and save functionality
2024-01-30 17:16:43 +01:00
mr-tz
f845382471
fix rule display and save functionality
2024-01-30 15:20:16 +01:00
Moritz
06aa3f6528
Merge pull request #1956 from mandiant/dependabot/pip/pytest-8.0.0
...
build(deps-dev): bump pytest from 7.4.4 to 8.0.0
2024-01-30 14:12:49 +01:00
dependabot[bot]
45ebc3e3d6
build(deps-dev): bump pytest from 7.4.4 to 8.0.0
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.4 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-29 14:50:29 +00:00
Willi Ballenthin
c3301d3b3f
refactor main to for ease of integration ( #1948 )
...
* main: split main into a bunch of "main routines"
[wip] since there are a few references to BinExport2
that are in progress elsewhre. Next commit will remove them.
* main: remove references to wip BinExport2 code
* changelog
* main: rename first position argument "input_file"
closes #1946
* main: linters
* main: move rule-related routines to capa.rules
ref #1821
* main: extract routines to capa.loader module
closes #1821
* add loader module
* loader: learn to load freeze format
* freeze: use new cli arg handling
* Update capa/loader.py
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
* main: remove duplicate documentation
* main: add doc about where some functions live
* scripts: migrate to new main wrapper helper functions
* scripts: port to main routines
* main: better handle auto-detection of backend
* scripts: migrate bulk-process to main wrappers
* scripts: migrate scripts to main wrappers
* main: rename *_from_args to *_from_cli
* changelog
* cache-ruleset: remove duplication
* main: fix tag handling
* cache-ruleset: fix cli args
* cache-ruleset: fix special rule cli handling
* scripts: fix type bytes
* main: remove old TODO message
* loader: fix references to binja extractor
---------
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2024-01-29 13:59:05 +01:00
Willi Ballenthin
d2e1a47192
more ELF OS detection techniques ( #1947 )
...
* elf: os: deprioritize .ident strategy due to potential for FPs
* elf: os: same as parent, fix .ident FP
* elf: os: detect Android via clang compiler .ident note
* elf: os: detect Android via dependency on liblog.so
* changelog
2024-01-25 16:26:31 +01:00
Moritz
85e1495fed
update to v7-beta ( #1942 )
...
* update to v7-beta
v7.0.0-beta
2024-01-24 14:55:54 +01:00
Moritz
35ec5511e4
Update capa explorer scopes in rule template ( #1943 )
...
* Update capa explorer scopes in rule template
* Update capa/ida/plugin/view.py
2024-01-23 09:20:16 -07:00
Capa Bot
009cf0c854
Sync capa rules submodule
2024-01-23 09:56:05 +00:00
Capa Bot
96f68620ca
Sync capa rules submodule
2024-01-23 09:55:33 +00:00
Capa Bot
0676e80c20
Sync capa rules submodule
2024-01-23 09:42:16 +00:00
Capa Bot
1c89d01982
Sync capa rules submodule
2024-01-22 19:21:43 +00:00
Moritz
692aba1b1d
Merge pull request #1939 from aaronatp/master
...
Enable tracebacks on PR build attempts
2024-01-22 20:20:25 +01:00
Moritz
7e0cd565fd
Merge pull request #1941 from mandiant/dependabot/pip/ruff-0.1.14
...
build(deps-dev): bump ruff from 0.1.13 to 0.1.14
2024-01-22 20:04:21 +01:00
dependabot[bot]
be97d68182
build(deps-dev): bump ruff from 0.1.13 to 0.1.14
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.13...v0.1.14 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 15:02:43 +00:00
aaronatp
f9bceaa3d7
Enable tracebacks on PR build attempts
2024-01-22 04:42:39 -06:00
Moritz
597f449bfa
Merge pull request #1935 from mandiant/fix/1886
...
fix setuptools package discovery
2024-01-22 10:51:40 +01:00
Moritz
b032eec993
Merge pull request #1934 from mandiant/fix/1880
...
verify target file type and warn user
2024-01-19 09:54:23 +01:00
mr-tz
1a44e899cb
verify target file type and warn user
2024-01-18 12:33:28 +01:00
mr-tz
734bfd4ad2
fix setuptools package discovery
2024-01-18 11:56:00 +01:00
Moritz
12b628318d
Merge pull request #1930 from mandiant/dependabot/pip/pytest-7.4.4
...
build(deps-dev): bump pytest from 7.4.3 to 7.4.4
2024-01-18 10:17:21 +01:00
Moritz
be30117030
Merge pull request #1931 from mandiant/dependabot/pip/ruff-0.1.13
...
build(deps-dev): bump ruff from 0.1.9 to 0.1.13
2024-01-18 10:17:05 +01:00
Capa Bot
6b41e02d63
Sync capa rules submodule
2024-01-17 08:22:01 +00:00
Capa Bot
d2ca130060
Sync capa rules submodule
2024-01-17 08:10:13 +00:00
Moritz
50dcf7ca20
Merge pull request #1932 from mandiant/update-lint-data-20241
...
update lint data
2024-01-17 09:07:48 +01:00
mr-tz
9bc04ec612
update data via script
2024-01-16 15:29:25 +01:00
dependabot[bot]
966976d97c
build(deps-dev): bump ruff from 0.1.9 to 0.1.13
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.9 to 0.1.13.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.9...v0.1.13 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 14:08:54 +00:00
dependabot[bot]
05d7083890
build(deps-dev): bump pytest from 7.4.3 to 7.4.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 14:08:38 +00:00
Willi Ballenthin
1dc72a3183
elf: detect linux via GCC .ident directives ( #1928 )
...
* elf: detect linux via GCC .ident directives
* changelog
* pep8
2024-01-11 16:15:26 +01:00
Capa Bot
efc26be196
Sync capa rules submodule
2024-01-11 14:20:33 +00:00
Willi Ballenthin
f3bc132565
render: show human readable flavor name ( #1925 )
2024-01-11 14:06:39 +01:00
Willi Ballenthin
ad46b33bb7
com: move database into python files ( #1924 )
...
* com: move database into python files
* com: pep8 and lints
* com: fix generated string feature type
* pyinstaller: remove reference to old assets directory
2024-01-11 14:06:24 +01:00
dependabot[bot]
9e5cc07a48
build(deps-dev): bump types-tabulate from 0.9.0.3 to 0.9.0.20240106 ( #1923 )
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.9.0.3 to 0.9.0.20240106.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 12:51:03 -07:00
Moritz
f4fecf43bf
Merge pull request #1922 from mandiant/dependabot/pip/types-requests-2.31.0.20240106
...
build(deps-dev): bump types-requests from 2.31.0.10 to 2.31.0.20240106
2024-01-09 16:20:10 +01:00
Moritz
7426574741
Merge pull request #1921 from mandiant/dependabot/pip/flake8-7.0.0
...
build(deps-dev): bump flake8 from 6.1.0 to 7.0.0
2024-01-09 16:19:57 +01:00
Moritz
9ab7a24153
Merge pull request #1920 from mandiant/dependabot/pip/wcwidth-0.2.13
...
build(deps-dev): bump wcwidth from 0.2.12 to 0.2.13
2024-01-09 16:19:42 +01:00
Mike Hunhoff
f37b598010
fix: do not trim api names that include :: ( #1897 )
2024-01-08 10:59:24 -07:00
dependabot[bot]
5ca59634f3
build(deps-dev): bump types-requests from 2.31.0.10 to 2.31.0.20240106
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.31.0.10 to 2.31.0.20240106.
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:29 +00:00
dependabot[bot]
42c1a307f3
build(deps-dev): bump flake8 from 6.1.0 to 7.0.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 6.1.0 to 7.0.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:23 +00:00
dependabot[bot]
ef5063171b
build(deps-dev): bump wcwidth from 0.2.12 to 0.2.13
...
Bumps [wcwidth](https://github.com/jquast/wcwidth ) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/jquast/wcwidth/releases )
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.12...0.2.13 )
---
updated-dependencies:
- dependency-name: wcwidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-08 14:46:19 +00:00
Blas
7584e4a5e6
dotnet: emit enclosing class information for nested classes ( #1913 )
...
* Update helpers.py
* Update helpers.py
* TypeRef correction in helpers.py
* Fixed TypeRef to proper functionality
* Accounts for TypeRef updated tuple
* Corrected TypeDef tuple creation in helpers.py
* Update types.py
* Update types.py
* Create helpers_draft.py
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update helper functions, variables, and draft further implementations
* Update helpers.py
* Update types.py
* Directly access TypeDef and TypeRef tables
* Update helpers.py
* Update helpers.py
* Delete capa/features/extractors/dnfile/helpers_draft.py
* Update types.py
* Update dotnetfile.py
* Update types.py comment
* Clean extract_file_class_features in dotnetfile.py
* Cleaned up callers, var names, and other small items
* Update dotnetfile.py
* Clean up caller logic in dotnetfile.py
* Clean up callers and update helper logic in helpers.py
* Linter corrections for types.py
* Linter corrections for dotnetfile.py
* Linter corrections and caller functions cleanup for helpers.py
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update capa/features/extractors/dnfile/helpers.py
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
* Update helpers.py
* Update dotnetfile.py
* Update tuple type in types.py
* Update dotnetfile.py
* Update return value annotations in helpers.py
* Linting update types.py
* Linting update dotnetfile.py
* Added unit tests to fixtures.py
* Update types.py
* Linting fix for types.py
* Update CHANGELOG.md
* Small changes to return types in helpers.py
---------
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com >
2024-01-05 10:09:38 -07:00
Capa Bot
62474c764a
Sync capa-testfiles submodule
2024-01-05 14:24:40 +00:00
Capa Bot
1fc26b4f27
Sync capa rules submodule
2024-01-04 13:07:27 +00:00
Capa Bot
037a97381c
Sync capa-testfiles submodule
2024-01-04 08:16:43 +00:00
Capa Bot
ef65f14260
Sync capa-testfiles submodule
2024-01-03 16:36:36 +00:00
Capa Bot
3214ecf0ee
Sync capa rules submodule
2024-01-03 16:32:40 +00:00
dependabot[bot]
23c5e6797f
build(deps-dev): bump ruff from 0.1.7 to 0.1.9 ( #1915 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.7...v0.1.9 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 10:31:29 -07:00