MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / BootloaderArgs_init

Function BootloaderArgs_init

Tools/ToolsBootstrap.c:721–729  ·  view source on GitHub ↗

BootloaderArgs functions

Source from the content-addressed store, hash-verified

719
720 char* toolIdentity = deriveToolIdentity(potentialCpp);
721 if (!toolIdentity) {
722 fprintf(stderr, "Error: Failed deriving tool name from \"%s\"\n", potentialCpp);
723 free(potentialCpp);
724 exit(1);
725 }
726 free(args->toolName);
727 args->toolName = toolIdentity;
728 return potentialCpp;
729 }
730
731 free(potentialCpp);
732 fprintf(stderr, "Error: Tool \"%s\" doesn't exist\n", args->toolName);

Callers 1

parseArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected