Home
last modified time | relevance | path

Searched refs:parse_struct (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py135 def parse_struct(cls, fmt, offset, error_msg): function
142 return parse_struct(Elf_Hdr, elf_hdr_fmt, offset, 'bad elf header')
145 return parse_struct(Elf_Shdr, elf_shdr_fmt, offset,
149 return parse_struct(Elf_Dyn, elf_dyn_fmt, offset, 'bad .dynamic entry')
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py546 def parse_struct(cls, fmt, offset, error_msg): function
553 return parse_struct(Elf_Hdr, elf_hdr_fmt, offset, 'bad elf header')
556 return parse_struct(Elf_Shdr, elf_shdr_fmt, offset,
561 return parse_struct(Elf_Phdr, elf_phdr_fmt, offset,
573 return parse_struct(Elf_Dyn, elf_dyn_fmt, offset,
578 return parse_struct(Elf_Sym, elf_sym_fmt, offset, 'bad elf sym')