Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for DirectX shader bytecode files #751

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

cohaereo
Copy link
Contributor

Games/graphics related applications often embed compiled shaders (be it DXBC, DXIL, SPIR-V) into their executables. This PR allows DXBC files to be extracted using binwalk.

Includes shader model version detection
image

Reference used for decoding the DXBC header: http://timjones.io/blog/archive/2015/09/02/parsing-direct3d-shader-bytecode

@devttys0 devttys0 self-assigned this Nov 20, 2024
@devttys0 devttys0 merged commit b7abdab into ReFirmLabs:master Nov 20, 2024
4 checks passed
@devttys0
Copy link
Collaborator

Awesome, thank you!

@cohaereo cohaereo deleted the dxbc-magic branch November 20, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants