Skip to content

Commit be26247

Browse files
committed
Merge branch 'hsarkey/wow64-dlllist' of https://gitlab.research.volexity.com/github.com/volatilityfoundation/volatility3 into hsarkey/wow64-dlllist
2 parents 0b23171 + 7c1f3f3 commit be26247

File tree

216 files changed

+17879
-2680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+17879
-2680
lines changed

.github/workflows/black.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Black python linter
1+
name: Black python formatter
22

33
on: [push, pull_request]
44

@@ -11,3 +11,5 @@ jobs:
1111
with:
1212
options: "--check --diff --verbose"
1313
src: "./volatility3"
14+
# FIXME: Remove when Volatility3 minimum Python version is >3.8
15+
version: "24.8.0"

.github/workflows/install.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ jobs:
2020
- name: Setup python-pip
2121
run: python -m pip install --upgrade pip
2222

23-
- name: Install dependencies
24-
run: |
25-
pip install -r requirements.txt
26-
2723
- name: Install volatility3
2824
run: pip install .
2925

3026
- name: Run volatility3
31-
run: vol --help
27+
run: vol --help

.github/workflows/ruff.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Ruff
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
lint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: astral-sh/ruff-action@v1
13+
with:
14+
args: check
15+
src: "."

.github/workflows/test.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,22 @@ jobs:
1616

1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install Cmake
21-
pip install build
22-
pip install -r ./test/requirements-testing.txt
19+
python -m pip install --upgrade pip Cmake build
20+
pip install .[test]
2321
2422
- name: Build PyPi packages
2523
run: |
2624
python -m build
2725
2826
- name: Download images
2927
run: |
28+
mkdir test_images
29+
cd test_images
3030
curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz"
3131
gunzip linux-sample-1.bin.gz
3232
curl -sLO "https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz"
3333
gunzip win-xp-laptop-2005-06-25.img.gz
34+
cd -
3435
3536
- name: Download and Extract symbols
3637
run: |
@@ -41,13 +42,17 @@ jobs:
4142
4243
- name: Testing...
4344
run: |
44-
py.test ./test/test_volatility.py --volatility=vol.py --image win-xp-laptop-2005-06-25.img -k test_windows -v
45-
py.test ./test/test_volatility.py --volatility=vol.py --image linux-sample-1.bin -k test_linux -v
45+
# VolShell
46+
pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_windows_volshell -v
47+
pytest ./test/test_volatility.py --volatility=volshell.py --image-dir=./test_images -k test_linux_volshell -v
48+
49+
# Volatility
50+
pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_windows and not test_windows_volshell" -v
51+
pytest ./test/test_volatility.py --volatility=vol.py --image-dir=./test_images -k "test_linux and not test_linux_volshell" -v
4652
4753
- name: Clean up post-test
4854
run: |
49-
rm -rf *.bin
50-
rm -rf *.img
55+
rm -rf test_images
5156
cd volatility3/symbols
5257
rm -rf linux
5358
rm -rf linux.zip

.readthedocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ build:
2020
# Optionally set the version of Python and requirements required to build your docs
2121
python:
2222
install:
23-
- requirements: doc/requirements.txt
23+
- method: pip
24+
path: .
25+
extra_requirements:
26+
- docs

.style.yapf

Lines changed: 0 additions & 261 deletions
This file was deleted.

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
prune development
22
include * .*
3-
include doc/make.bat doc/Makefile doc/requirements.txt
3+
include pyproject.toml doc/make.bat doc/Makefile
44
recursive-include doc/source *
55
recursive-include volatility3 *.json
66
recursive-exclude doc/source volatility3.*.rst

0 commit comments

Comments
 (0)