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.0.1.tar.gz (22.0 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.0.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: amd_ucode_patch-1.0.1.tar.gz
  • Upload date:
  • Size: 22.0 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.0.1.tar.gz
Algorithm Hash digest
SHA256 5c2e02e80f01560f7341b4094f89a8d2a4d5f950239701904d1f8b3d0fdf1228
MD5 0642a1f2e48ac5313eb7c585dd4907f3
BLAKE2b-256 9aecdf7526064ad0506bbc36e07029ac59ac736fb8c37d7463b96482019ab8ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_patch-1.0.1.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.0.1-py3-none-any.whl.

File metadata

  • Download URL: amd_ucode_patch-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb76162dc9db6355dceaf4189a857dae51fe344d819ac2819543809cd3c13785
MD5 4f023a8f4ab5fc65785dde36f56bb586
BLAKE2b-256 c8af4fdc9db6ea54baecd92a840cd7f4cfe47fc67b55464b38389ae79a9b1bf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_patch-1.0.1-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