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

Function main

util/cbfstool/cbfscomptool.c:181–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181int main(int argc, char **argv)
182{
183 if ((argc == 2) && (strcmp(argv[1], "benchmark") == 0))
184 return benchmark();
185 if ((argc == 5) && (strcmp(argv[1], "compress") == 0))
186 return compress(argv[2], argv[3], argv[4], 1);
187 if ((argc == 5) && (strcmp(argv[1], "rawcompress") == 0))
188 return compress(argv[2], argv[3], argv[4], 0);
189 usage();
190 return 1;
191}

Callers

nothing calls this directly

Calls 4

benchmarkFunction · 0.85
compressFunction · 0.85
usageFunction · 0.70
strcmpFunction · 0.50

Tested by

no test coverage detected