Skip to main content

A Python library for parsing and interpreting AMD microcode container files

Project description

AMD Microcode Container Parser

Build CodeQL PyPI version Python versions Snyk package health OpenSSF Scorecard

A Python library for parsing and interpreting AMD microcode container files used in the Linux kernel.

This library provides functionality to read, parse, and interpret AMD microcode container files. These files contain microcode updates for AMD processors and are used by the Linux kernel's microcode loading mechanism.

The format is based on the AMD Linux Kernel MicroCode container format, documented in the Linux kernel source at arch/x86/kernel/cpu/microcode/amd.c.

Installation

pip install amd-ucode-container

Command line tools

Installing the package provides two command line executables:

amd_ucode_container_info

Parses one or more AMD microcode container files and prints a human-readable summary of their contents, including each section's type and size and, for equivalence tables, the per-CPU equivalence entries.

amd_ucode_container_info <file> [<file> ...]

amd_ucode_container_extract

Extracts the individual microcode patches contained in one or more AMD microcode container files, writing each patch to an output directory.

amd_ucode_container_extract <file> [<file> ...] [-o OUTPUT]
Option Description
-o, --output Directory to extract patches to (defaults to the current working directory).

Project details


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_container-1.0.2.tar.gz (14.2 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_container-1.0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file amd_ucode_container-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for amd_ucode_container-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6975472e8247704aaac091f9c75ca5a6288a2203b1c84c8541b37efa9db4c18a
MD5 d69b2b82f711fae31893e187035de3c1
BLAKE2b-256 80846d350f7aa07e89737f45be05c14a75af6e32c067d92d02833cacf2e49ccb

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_container-1.0.2.tar.gz:

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

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_container-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for amd_ucode_container-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 735711e2337f91fa74e55a6fc8624d78896a69b3cba01f6fd7f0d0fdaf7afdad
MD5 159aa5b7bd9cf7b6e193c49b2a5cc698
BLAKE2b-256 02d0debbdacf3cbe2b7dfa82657ca1c3ae09351a98dd268325af64a7c50ecc41

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_ucode_container-1.0.2-py3-none-any.whl:

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

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 Pingdom Monitoring Sentry Error logging StatusPage Status page