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

Function FindStrtabShdr

BaseTools/Source/C/GenFw/Elf64Convert.c:279–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

GetSymNameFunction · 0.70

Calls 2

GetShdrByIndexFunction · 0.70
IsStrtabShdrFunction · 0.70

Tested by

no test coverage detected