3084N/A * or visit www.oracle.com if you need additional information or have any
3084N/A#include "precompiled.hpp"
3084N/A#include "decoder_machO.hpp"
3924N/A uint32_t addr_relative = (uintptr_t) mach_base - (uintptr_t) addr; // offset we seek in the symtab
3924N/A struct nlist_64 *last_nlist = cur_nlist; // no size stored in an entry, so keep previously seen nlist
3924N/A if (found_strx == 0) {
3924N/A char * symname = mach_find_in_stringtable((char*) ((uintptr_t)mach_base + stroff), strsize, found_strx);
3924N/Avoid* MachODecoder::mach_find_command(struct mach_header_64 * mach_base, uint32_t command_wanted) {
3924N/A struct load_command *pos = (struct load_command *) mach_base + sizeof(struct mach_header_64);
3924N/Achar* MachODecoder::mach_find_in_stringtable(char *strtab, uint32_t tablesize, int strx_wanted) {
3924N/A if (strx_wanted == 0) {