Lines Matching defs:ReferenceValue

2090 static const char *GuessCstringPointer(uint64_t ReferenceValue,
2099 ReferenceValue >= Sec.addr &&
2100 ReferenceValue < Sec.addr + Sec.size) {
2101 uint64_t sect_offset = ReferenceValue - Sec.addr;
2120 ReferenceValue >= Sec.addr &&
2121 ReferenceValue < Sec.addr + Sec.size) {
2122 uint64_t sect_offset = ReferenceValue - Sec.addr;
2141 // ReferenceValue passed in or nullptr. This is used when ReferenceValue maybe
2144 static const char *GuessIndirectSymbol(uint64_t ReferenceValue,
2159 ReferenceValue >= Sec.addr &&
2160 ReferenceValue < Sec.addr + Sec.size) {
2168 uint32_t index = Sec.reserved1 + (ReferenceValue - Sec.addr) / stride;
2194 ReferenceValue >= Sec.addr &&
2195 ReferenceValue < Sec.addr + Sec.size) {
2203 uint32_t index = Sec.reserved1 + (ReferenceValue - Sec.addr) / stride;
2298 static uint64_t GuessPointerPointer(uint64_t ReferenceValue,
2316 ReferenceValue >= Sec.addr &&
2317 ReferenceValue < Sec.addr + Sec.size) {
2318 uint64_t sect_offset = ReferenceValue - Sec.addr;
2335 ReferenceValue + 8 < Sec.addr + Sec.size) {
2402 // If no relocation information is found and a non-zero ReferenceValue for the
2406 uint64_t ReferenceValue = 0) {
2458 // We did not find an external relocation entry so look up the ReferenceValue
2460 SymbolName = GuessSymbolName(ReferenceValue, info->AddrMap);
2467 uint32_t ReferenceValue) {
2469 return get_symbol_64(sect_offset, S, info, n_value64, ReferenceValue);
3054 static const char *get_dyld_bind_info_symbolname(uint64_t ReferenceValue,
3063 uint64_t ReferenceValue,
3070 // entry for the class symbol at the ReferenceValue (the address of the
3073 r = get_pointer_64(ReferenceValue, offset, left, S, info);
3113 static const char *get_objc2_64bit_cfstring_name(uint64_t ReferenceValue,
3121 r = get_pointer_64(ReferenceValue, offset, left, S, info);
3147 static uint64_t get_objc2_64bit_selref(uint64_t ReferenceValue,
3152 const char *r = get_pointer_64(ReferenceValue, offset, left, S, info);
5554 // for the address passed in as ReferenceValue for printing as a comment with
5558 // If ReferenceValue is an address of literal cstring then a pointer to the
5562 // If ReferenceValue is an address of an Objective-C CFString, Selector ref or
5570 // ReferenceValue nullptr is returned and ReferenceType is unchanged.
5571 static const char *GuessLiteralPointer(uint64_t ReferenceValue,
5606 ReferenceValue = Symbol.getValue();
5615 uint64_t pointer_value = GuessPointerPointer(ReferenceValue, info, classref,
5618 // Note the ReferenceValue is a pointer into the __objc_classrefs section.
5621 const char *name = get_dyld_bind_info_symbolname(ReferenceValue, info);
5636 get_objc2_64bit_class_name(pointer_value, ReferenceValue, info);
5646 const char *name = get_objc2_64bit_cfstring_name(ReferenceValue, info);
5651 pointer_value = get_objc2_64bit_selref(ReferenceValue, info);
5654 ReferenceValue = pointer_value;
5656 const char *name = GuessCstringPointer(ReferenceValue, info);
5670 // Lastly look for an indirect symbol with this ReferenceValue which is in
5672 name = GuessIndirectSymbol(ReferenceValue, info);
5682 // the Symbolizer. It looks up the ReferenceValue using the info passed via the
5684 // is created and returns the symbol name that matches the ReferenceValue or
5710 uint64_t ReferenceValue,
5722 const char *SymbolName = GuessSymbolName(ReferenceValue, info->AddrMap);
5725 *ReferenceName = GuessIndirectSymbol(ReferenceValue, info);
5748 GuessLiteralPointer(ReferenceValue, ReferencePC, ReferenceType, info);
5754 // instruction, passed in ReferenceValue and the address of the instruction
5758 info->adrp_inst = ReferenceValue;
5769 // passed in ReferenceValue.
5774 (info->adrp_inst & 0x1f) == ((ReferenceValue >> 5) & 0x1f)) {
5783 addxri_inst = ReferenceValue;
5788 ReferenceValue = (info->adrp_addr & 0xfffffffffffff000LL) +
5792 GuessLiteralPointer(ReferenceValue, ReferencePC, ReferenceType, info);
5799 // instruction is passed in ReferenceValue.
5804 (info->adrp_inst & 0x1f) == ((ReferenceValue >> 5) & 0x1f)) {
5813 ldrxui_inst = ReferenceValue;
5816 ReferenceValue = (info->adrp_addr & 0xfffffffffffff000LL) +
5820 GuessLiteralPointer(ReferenceValue, ReferencePC, ReferenceType, info);
5825 // ReferenceValue is the PC plus the immediate value.
5830 GuessLiteralPointer(ReferenceValue, ReferencePC, ReferenceType, info);
8981 // address, ReferenceValue, in the Mach-O file and looks in the dyld bind
8984 static const char *get_dyld_bind_info_symbolname(uint64_t ReferenceValue,
9006 if (ReferenceValue == Address) {