mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 22:04:51 +02:00
7186778: MachO decoder implementation for MacOSX
Implementation of decoder for Apple's MacOSX. The implementation is based on the patch provided by Kevin Walls. Reviewed-by: coleenp, kamg, kevinw
This commit is contained in:
parent
b5b29845bd
commit
5515df5c31
8 changed files with 193 additions and 4 deletions
|
@ -43,6 +43,10 @@ public:
|
|||
|
||||
bool demangle(const char* symbol, char *buf, int buflen);
|
||||
bool decode(address addr, char *buf, int buflen, int* offset, const char* filepath = NULL);
|
||||
bool decode(address addr, char *buf, int buflen, int* offset, const void *base) {
|
||||
ShouldNotReachHere();
|
||||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
ElfFile* get_elf_file(const char* filepath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue