Skip to main content

AMD Microcode Patch

Build CodeQL PyPI version Python versions Snyk package health OpenSSF Scorecard

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. *.bin or **/*.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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amd_ucode_patch-1.1.0.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amd_ucode_patch-1.1.0-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file amd_ucode_patch-1.1.0.tar.gz.

File metadata

  • Download URL: amd_ucode_patch-1.1.0.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amd_ucode_patch-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bea9c45eefbd61b85b583fb840be426d200e775b19bdab467215a52f6cd37ac1
MD5 88a392103aee8d41af65281fe94420a7
BLAKE2b-256 5f0406dd06f26b4185d9f6ccac5bc914a890c53b9a74fb92a85ca6125a402261

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_patch-1.1.0.tar.gz:

Publisher: build.yml on amd-zenith/amd-ucode-patch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amd_ucode_patch-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: amd_ucode_patch-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amd_ucode_patch-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6156391bc96d12054166e608cba0616704a13abb76da1af576a4e7c2a1566221
MD5 3804bf6e76ff86b0d6471d508ed7d020
BLAKE2b-256 844309d9ece3a44a516ff395aec0d9ac01f922e3b65d36489012bcee3ac5218c

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_patch-1.1.0-py3-none-any.whl:

Publisher: build.yml on amd-zenith/amd-ucode-patch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page