A Python library for parsing and interpreting AMD microcode patch files
Project description
AMD Microcode Patch
A Python library for parsing and interpreting AMD microcode patch files.
Installation
pip install amd-ucode-patch
Command line tools
Installing the package provides the following command line tools.
amd_ucode_patch_info
Inspect one or more AMD microcode patch files and print their header information as a table.
amd_ucode_patch_info <files...> [-f {text,md,csv}]
Arguments:
files: One or more patch files to inspect. Glob patterns (e.g.*.binor**/*.bin) are expanded automatically.-f,--format: Output format. One of:text(default): A table rendered for the terminal.md: A Markdown table.csv: Comma separated values.
For every patch file the following fields are reported: file name, date, update revision, loader ID, processor revision, CPUID, family, model, stepping, autorun, encrypted and body size.
Library usage
The package can also be used programmatically:
from amd_ucode_patch.parse import ucode_patch_parse
patch = ucode_patch_parse("firmware.bin")
print(patch.header.cpuid_str)
print(patch.header.update_revision)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amd_ucode_patch-1.0.0.tar.gz.
File metadata
- Download URL: amd_ucode_patch-1.0.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3b6fbc94c5d7d782c01e91119be93f1f54b411120cec1fe8d5024e2eed341b9
|
|
| MD5 |
654fb324cd426741bfbb97fcf53add83
|
|
| BLAKE2b-256 |
cf34a33aec141674e5a13336d75a207c9fe29d72a3da7f0a8d0fba0f6bb1c9f5
|
Provenance
The following attestation bundles were made for amd_ucode_patch-1.0.0.tar.gz:
Publisher:
build.yml on amd-zenith/amd-ucode-patch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amd_ucode_patch-1.0.0.tar.gz -
Subject digest:
e3b6fbc94c5d7d782c01e91119be93f1f54b411120cec1fe8d5024e2eed341b9 - Sigstore transparency entry: 1940847999
- Sigstore integration time:
-
Permalink:
amd-zenith/amd-ucode-patch@c8928a9a6e202b14cfeddd2da29b2db6308c0d2a -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/amd-zenith
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@c8928a9a6e202b14cfeddd2da29b2db6308c0d2a -
Trigger Event:
push
-
Statement type:
File details
Details for the file amd_ucode_patch-1.0.0-py3-none-any.whl.
File metadata
- Download URL: amd_ucode_patch-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efa7d31961f86b702e9d1541bc855c2d76adf9e47b7bd49b3925bf1ef58c73e1
|
|
| MD5 |
42c6fee1429c94e144a951e3e64eca9e
|
|
| BLAKE2b-256 |
9e999fa8b5aa6be180b75ea96d8cd6582d7fd5cfcdac0224700f01f50d0468e6
|
Provenance
The following attestation bundles were made for amd_ucode_patch-1.0.0-py3-none-any.whl:
Publisher:
build.yml on amd-zenith/amd-ucode-patch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amd_ucode_patch-1.0.0-py3-none-any.whl -
Subject digest:
efa7d31961f86b702e9d1541bc855c2d76adf9e47b7bd49b3925bf1ef58c73e1 - Sigstore transparency entry: 1940848181
- Sigstore integration time:
-
Permalink:
amd-zenith/amd-ucode-patch@c8928a9a6e202b14cfeddd2da29b2db6308c0d2a -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/amd-zenith
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@c8928a9a6e202b14cfeddd2da29b2db6308c0d2a -
Trigger Event:
push
-
Statement type: