OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simpleperf: check value returned by fopen.
[android-x86/system-extras.git]
/
simpleperf
/
read_elf.h
diff --git
a/simpleperf/read_elf.h
b/simpleperf/read_elf.h
index
cc33211
..
cfb13be
100644
(file)
--- a/
simpleperf/read_elf.h
+++ b/
simpleperf/read_elf.h
@@
-45,5
+45,6
@@
bool ReadMinExecutableVirtualAddressFromElfFile(const std::string& filename,
// Expose the following functions for unit tests.
bool IsArmMappingSymbol(const char* name);
+bool IsValidElfPath(const std::string& filename);
#endif // SIMPLE_PERF_READ_ELF_H_