summaryrefslogtreecommitdiff
path: root/runtime/elf_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/elf_file.h')
-rw-r--r--runtime/elf_file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/elf_file.h b/runtime/elf_file.h
index b5229b579c..c3616f7290 100644
--- a/runtime/elf_file.h
+++ b/runtime/elf_file.h
@@ -69,6 +69,8 @@ class ElfFile {
bool GetSectionOffsetAndSize(const char* section_name, uint64_t* offset, uint64_t* size) const;
+ bool HasSection(const std::string& name) const;
+
uint64_t FindSymbolAddress(unsigned section_type,
const std::string& symbol_name,
bool build_map);