diff --git a/.github/pyinstaller/hooks/hook-vivisect.py b/.github/pyinstaller/hooks/hook-vivisect.py index b98ce4f1..80a14d4b 100644 --- a/.github/pyinstaller/hooks/hook-vivisect.py +++ b/.github/pyinstaller/hooks/hook-vivisect.py @@ -45,8 +45,8 @@ hiddenimports = [ "vivisect.analysis.crypto", "vivisect.analysis.crypto.constants", "vivisect.analysis.elf", - "vivisect.analysis.elf", "vivisect.analysis.elf.elfplt", + "vivisect.analysis.elf.elfplt_late", "vivisect.analysis.elf.libc_start_main", "vivisect.analysis.generic", "vivisect.analysis.generic", diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82006f43..40306808 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,12 @@ jobs: run: pip install -e . - name: Build standalone executable run: pyinstaller .github/pyinstaller/pyinstaller.spec - - name: Does it run? + - name: Does it run (PE)? run: dist/capa "tests/data/Practical Malware Analysis Lab 01-01.dll_" + - name: Does it run (Shellcode)? + run: dist/capa "tests/data/499c2a85f6e8142c3f48d4251c9c7cd6.raw32" + - name: Does it run (ELF)? + run: dist/capa "tests/data/7351f8a40c5450557b24622417fc478d.elf_" - uses: actions/upload-artifact@v2 with: name: ${{ matrix.asset_name }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e2d138b..5d7e8755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ ### Bug Fixes +- fix bug in PyInstaller config preventing ELF analysis #795 @mr-tz + ### capa explorer IDA Pro plugin ### Development