summaryrefslogtreecommitdiff
path: root/tools/check_elf_file.py
diff options
context:
space:
mode:
author Yo Chiang <yochiang@google.com> 2020-07-29 01:20:01 +0800
committer Yo Chiang <yochiang@google.com> 2020-07-29 01:20:01 +0800
commit1237c1f5775d0ad1cb719b5d6a417a6f61ad186c (patch)
tree6a574fefef2f24632be7087148ae11037b6833c3 /tools/check_elf_file.py
parentc8343a3f0e1552bfa2d744adfdfbee2907464348 (diff)
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: TH Change-Id: I2a93e520120fa52a190a445b4d4c417c299b9727
Diffstat (limited to 'tools/check_elf_file.py')
-rwxr-xr-xtools/check_elf_file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_elf_file.py b/tools/check_elf_file.py
index de855c6a7e..372404b90b 100755
--- a/tools/check_elf_file.py
+++ b/tools/check_elf_file.py
@@ -174,7 +174,7 @@ class ELFParser(object):
@classmethod
def open(cls, elf_file_path, llvm_readobj):
"""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)
if not header or header.ei_magic != _ELF_MAGIC:
raise ELFInvalidMagicError()