Merge "Update language to comply with Android's inclusive language guidance"
This commit is contained in:
@@ -174,7 +174,7 @@ class ELFParser(object):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def open(cls, elf_file_path, llvm_readobj):
|
def open(cls, elf_file_path, llvm_readobj):
|
||||||
"""Open and parse the ELF file."""
|
"""Open and parse the ELF file."""
|
||||||
# Parse the ELF header for simple sanity checks.
|
# Parse the ELF header to check the magic word.
|
||||||
header = cls._read_elf_header(elf_file_path)
|
header = cls._read_elf_header(elf_file_path)
|
||||||
if not header or header.ei_magic != _ELF_MAGIC:
|
if not header or header.ei_magic != _ELF_MAGIC:
|
||||||
raise ELFInvalidMagicError()
|
raise ELFInvalidMagicError()
|
||||||
|
Reference in New Issue
Block a user