Moritz
65552575f8
Update dotnet-main ( #979 )
...
* Sync capa rules submodule
* Sync capa-testfiles submodule
* Sync capa rules submodule
* changelog
* *: remove /x32 and /x64 flavors from number and offset features
* *: remove more references to /x32 and /x64
* linter: accept instruction scope
* rules: fix max operand index (4)
* API: better support A/W functions
* vverbose: show lib rule matches
* main: accept multiple paths to rules
* main: fix removal of default rules path
* lint: fix rules path
* changelog
* capa_as_library: fix rules path is list now
* main: better handle multiple rules paths
* main: bail if python 3.6 or below
closes #964
* ida: readme: remove python 3.6 support
* capa2yara: fix rules paths
* render: meta: display rule paths on separate lines
closes #971
* render: verbose: add doc
* verbose: make rule path multiline more concise
* vverbose: don't show examples in output
closes #970
* vverbose: render subscope name, like "basic block:"
closes #963
* build(deps-dev): bump pytest from 7.0.1 to 7.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.0.1 to 7.1.1.
- [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.0.1...7.1.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* ci: build: update pip and setuptools
* ci: build: bump pyinstall to v4.10
* Sync capa rules submodule
* Dotnet mixed mode detect (#969 )
* feat: start dotnet detection (#955 )
* feat: start dotnet detection
* Apply suggestions from code review
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* refactor: dn instead of dotnet
* refactor: format branches, extractor reorg
* refactor: format selection and dotnet detect
* feat: get format, arch, os
* refactor: log errors and exceptions
* ci: also test and build for dotnet-main dev
* fix: import path
* fix: circular dep
* fix: remove buf argument
feat: get runtime meta data
* fix: log unsupported runtime error
* fix: type ignore
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* fix: imports and add tests
* feat: detect mixed mode and tests
* feat: start dotnet detection (#955 )
* feat: start dotnet detection
* Apply suggestions from code review
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* refactor: dn instead of dotnet
* refactor: format branches, extractor reorg
* refactor: format selection and dotnet detect
* feat: get format, arch, os
* refactor: log errors and exceptions
* ci: also test and build for dotnet-main dev
* fix: import path
* fix: circular dep
* fix: remove buf argument
feat: get runtime meta data
* fix: log unsupported runtime error
* fix: type ignore
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* fix: imports and add tests
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* test: checkout submodules recursively
Co-authored-by: Capa Bot <capa-dev@mandiant.com >
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 17:45:29 +02:00
Moritz
b5be876e61
feat: start dotnet detection ( #955 )
...
* feat: start dotnet detection
* Apply suggestions from code review
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
* refactor: dn instead of dotnet
* refactor: format branches, extractor reorg
* refactor: format selection and dotnet detect
* feat: get format, arch, os
* refactor: log errors and exceptions
* ci: also test and build for dotnet-main dev
* fix: import path
* fix: circular dep
* fix: remove buf argument
feat: get runtime meta data
* fix: log unsupported runtime error
* fix: type ignore
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
2022-04-06 11:33:14 +02:00
Willi Ballenthin
8afd12103d
ci: build: try to use windows-2022
2022-03-11 17:40:35 -07:00
Moritz
5d106afca6
remove windows-2016
2022-03-11 08:38:09 +01:00
Moritz Raabe
41786f4ab8
add hidden import and test
2021-09-28 15:39:23 +02:00
Moritz Raabe
16c12f816b
update to ubuntu-18.04
2021-09-09 16:45:11 +02: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
Willi Ballenthin
b880d419a3
ci: build: pin OS versions
2021-03-22 09:50:04 -06:00
Moritz Raabe
8719a23de4
dos2unix
2021-03-19 09:40:44 +01:00
William Ballenthin
c01dde3fb2
ci: disable test building of pyinstaller upon push
2021-03-05 13:26:15 -07:00
William Ballenthin
6f9c660082
ci: test pyinstaller CI
2021-03-05 12:55:19 -07:00
William Ballenthin
9aaaa044da
ci: use py3.9 and pyinstaller 4.2 to build standalone binaries
2021-03-05 12:52:38 -07:00
Willi Ballenthin
276928951c
build: event published/edited, not created
2020-10-23 15:17:32 -06:00
Willi Ballenthin
3ba4a8cdd8
Update build.yml
2020-10-23 15:07:13 -06:00
Willi Ballenthin
8820dabab9
Update build.yml
2020-10-23 14:59:34 -06:00
Willi Ballenthin
f9d89301df
Update build.yml
2020-10-23 14:58:44 -06:00
Willi Ballenthin
7edb93d3ad
Update build.yml
2020-10-23 14:57:14 -06:00
Moritz Raabe
4994d0597f
set env var via environment file
2020-10-20 15:14:36 +02:00
William Ballenthin
4b066e908c
ci: use sudo to apt
2020-09-22 11:20:15 -06:00
William Ballenthin
041e443619
ci: install libyaml when appropriate
2020-09-22 11:18:15 -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
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
Ana María Martínez Gómez
b94f665d4b
Zip release binaries
...
Update `build` workflow to zip the binaries before upload them. Use
linux to zip all the binaries.
2020-08-15 12:28:48 +02:00
Ana María Martínez Gómez
68f27dfea4
Fix indentation of build workflow
...
Correct indentation to make it easier to read.
2020-08-15 09:11:18 +02:00
Ana María Martínez Gómez
35226e1e4e
Use GitHub default repo token in build action
...
As we this workflow modifies only the same repo, no extra token
(`CAPA_TOKEN`) is needed and we can use the default `GITHUB TOKEN`
instead.
2020-08-15 09:11:16 +02:00
William Ballenthin
fd92165f29
setup: bump viv version
2020-08-04 13:06:52 -06:00
William Ballenthin
9778a1de18
ci: build standalone exe upon release
2020-08-04 12:05:02 -06:00
William Ballenthin
328f27511b
ci: build standalone exe upon release
2020-08-04 12:04:15 -06:00
William Ballenthin
9751c66565
ci: demonstrate capa runs against test file
2020-08-04 11:56:05 -06:00
William Ballenthin
32e293f78f
ci: checkout submodules for rules
2020-08-04 11:53:13 -06:00
William Ballenthin
61afeb1b78
ci: upload artifacts upon build
2020-08-04 11:49:26 -06:00
William Ballenthin
0606666e08
ci: run capa on itself to demonstrate rules work
2020-08-04 11:44:41 -06:00
William Ballenthin
ae276d27ab
ci: configure win/macos os
2020-08-04 11:39:44 -06:00
William Ballenthin
dd74fae160
ci: attempt to configure gh actions for pyinstaller
2020-08-04 11:31:33 -06:00