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.1.tar.gz (7.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_container-1.0.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for amd_ucode_container-1.0.1.tar.gz
Algorithm Hash digest
SHA256 aedea44002a1ec00086334d7c71d020ed33913f04da2face6aa920933c5e96bb
MD5 a06428174f36faa619024b58e13d2257
BLAKE2b-256 d17699c114765ea079c2d7f5825738760a467a1a65d46c656315321ce0ae8e5d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amd_ucode_container-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f8e11199a2834eae8ea3b5fb32e0e6fe28412c28e8ee2500d5fd9be7a4f8732
MD5 d8da77dfb832ed0bd487db77674e4d98
BLAKE2b-256 820d6952280bbc621764fb2b71afc67c8fe31cc225d20589e782802e872f20e6

See more details on using hashes here.

Provenance

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