mirror of
https://github.com/morluto/awesome-reverse-engineering.git
synced 2026-12-02 13:11:19 -05:00
ca01c87c3e
Combine oletools, WhatsABI, LIEF and unblob with a valid dispatcher, corrupt-ZIP control, host/version checks and consistent evidence notes. Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
61 lines
2.1 KiB
YAML
61 lines
2.1 KiB
YAML
name: Reproduce resource examples
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'README.md'
|
|
- 'docs/priority-candidates.*'
|
|
- 'examples/resource-intake/**'
|
|
- 'tests/test_resource_prerequisites.py'
|
|
- '.github/workflows/resource-examples.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'README.md'
|
|
- 'docs/priority-candidates.*'
|
|
- 'examples/resource-intake/**'
|
|
- 'tests/test_resource_prerequisites.py'
|
|
- '.github/workflows/resource-examples.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
examples:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
|
with:
|
|
python-version: '3.11'
|
|
- uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
|
|
with:
|
|
distribution: temurin
|
|
java-version: '17'
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
|
|
with:
|
|
node-version: '22'
|
|
- name: Check prerequisite diagnostics
|
|
run: python -m unittest discover -s tests -p test_resource_prerequisites.py -v
|
|
- name: Install MemProcFS runtime library
|
|
run: sudo apt-get install -y --no-install-recommends libusb-1.0-0
|
|
- name: Install pinned example dependencies
|
|
run: python -m pip install -r examples/resource-intake/requirements.txt
|
|
- name: Install pinned WhatsABI example
|
|
run: npm ci --ignore-scripts
|
|
working-directory: examples/resource-intake/whatsabi
|
|
- name: Reproduce the bounded examples
|
|
run: python examples/resource-intake/verify.py --output "$RUNNER_TEMP/resource-intake"
|
|
- name: Upload reproduction results
|
|
if: always()
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
with:
|
|
name: resource-intake-evidence
|
|
path: ${{ runner.temp }}/resource-intake/
|
|
if-no-files-found: warn
|
|
retention-days: 30
|