MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / FindStrtabShdr

Function FindStrtabShdr

BaseTools/Source/C/GenFw/Elf32Convert.c:278–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278STATIC
279Elf_Shdr *
280FindStrtabShdr (
281 VOID
282 )
283{
284 UINT32 i;
285 for (i = 0; i < mEhdr->e_shnum; i++) {
286 Elf_Shdr *shdr = GetShdrByIndex(i);
287 if (IsStrtabShdr(shdr)) {
288 return shdr;
289 }
290 }
291 return NULL;
292}
293
294STATIC
295const UINT8 *

Callers 1

GetSymNameFunction · 0.70

Calls 2

GetShdrByIndexFunction · 0.70
IsStrtabShdrFunction · 0.70

Tested by

no test coverage detected