Skip to content
Start free evaluation

PdcommGemFormattedProgramDryRunInfo

Struct

Summary of a dry-run report, filled by pdcomm_gem_formatted_program_dry_run_info().

typedef struct PdcommGemFormattedProgramDryRunInfo { ... } PdcommGemFormattedProgramDryRunInfo

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

Before the call, set struct_size, set version to #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSION, and zero reserved. The call writes every other field and leaves struct_size and version unchanged.

Members

capability_present

Field

1 when a capability catalog was installed at analysis time.

uint8_t capability_present

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

capability_revision

Field

Capability catalog revision at analysis time (0 when capabilities are not configured).

uint64_t capability_revision

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

command_count

Field

Number of commands in the program.

size_t command_count

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

encoded_bytes

Field

Encoded size of the program body (PPID, MDLN, SOFTREV, and commands) in bytes.

size_t encoded_bytes

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

endpoint_id

Field

Identifier of the endpoint that produced the report.

uint64_t endpoint_id

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

entry_generation

Field

Store entry generation captured by the selection.

uint64_t entry_generation

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

id_format

Field

SECS-II format code of the program identifier (#PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY).

uint8_t id_format

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

issue_count

Field

Number of issues in the report.

size_t issue_count

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

outcome

Field

Overall outcome: a PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* outcome value.

uint32_t outcome

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

policy_version

Field

Policy version used for the analysis.

uint32_t policy_version

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

reserved

Field

Input: must be zero; written as zero.

uint8_t reserved[2]

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

selection_generation

Field

Selection generation of the analyzed selection token.

uint64_t selection_generation

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

session_generation

Field

HSMS session generation of the analyzed selection.

uint64_t session_generation

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

store_revision

Field

Program store revision captured by the selection.

uint64_t store_revision

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

struct_size

Field

Input: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

version

Field

Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>