MCPcopy Create free account
hub / github.com/coreboot/coreboot / process_guids

Function process_guids

util/smmstoretool/main.c:448–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448static int process_guids(int argc, char *argv[], const char store_file[])
449{
450 (void)store_file;
451
452 if (argc != 1) {
453 fprintf(stderr, "Invalid invocation\n");
454 print_sub_command_usage(argv[0]);
455 }
456
457 for (int i = 0; i < known_guid_count; ++i) {
458 char *guid = format_guid(&known_guids[i].guid,
459 /*use_alias=*/false);
460 printf("%-10s -> %s\n", known_guids[i].alias, guid);
461 free(guid);
462 }
463 return EXIT_SUCCESS;
464}
465
466int main(int argc, char *argv[])
467{

Callers

nothing calls this directly

Calls 5

fprintfFunction · 0.85
print_sub_command_usageFunction · 0.85
format_guidFunction · 0.85
printfFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected