Skip to content

ARM Processor Context Information Structure Padded to multiple of 16-bytes #9

@TylerRoyere

Description

@TylerRoyere

According to the UEFI Section N.2.4.4, Arm Processor Error Section

The "Processor Context" mnemonic has the following inside the description

Each processor context information structure is padded with zeros if the size is not a multiple of 16 bytes.

The function that converts ARM processor context structures into IR cper_arm_processor_context_to_ir() does not account for any padding that might be present if the value of 8 + "Register Array Size" is not a multiple of 16-bytes.

AFAICT the same kind of problem exists in the code that generates ARM processor context structures inside ARM CPER section types (see generate_arm_context_info())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions