Searched refs:sym (Results 1 – 11 of 11) sorted by relevance
/art/compiler/debug/ |
D | elf_debug_writer.cc | 210 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char*) { in MakeElfFileForJIT() argument 211 DCHECK_EQ(sym.st_value, method_info.code_address + CompiledMethod::CodeDelta(isa)); in MakeElfFileForJIT() 212 DCHECK_EQ(sym.st_size, method_info.code_size); in MakeElfFileForJIT() 275 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in PackElfFileForJIT() argument 276 if (is_removed_symbol(sym.st_value)) { in PackElfFileForJIT() 279 sym.st_name = strtab->Write(name); in PackElfFileForJIT() 280 symbols.push_back(sym); in PackElfFileForJIT() 281 min_address = std::min<uint64_t>(min_address, sym.st_value); in PackElfFileForJIT() 282 max_address = std::max<uint64_t>(max_address, sym.st_value + sym.st_size); in PackElfFileForJIT()
|
/art/libelffile/elf/ |
D | elf_utils.h | 83 static inline void SetBindingAndType(Elf32_Sym* sym, unsigned char b, unsigned char t) { in SetBindingAndType() argument 84 sym->st_info = (b << 4) + (t & 0x0f); in SetBindingAndType()
|
D | elf_builder.h | 358 Elf_Sym sym = Elf_Sym(); in Add() local 359 sym.st_name = name; in Add() 360 sym.st_value = addr; in Add() 361 sym.st_size = size; in Add() 362 sym.st_other = 0; in Add() 363 sym.st_info = (binding << 4) + (type & 0xf); in Add() 364 Add(sym, section); in Add() 368 void Add(Elf_Sym sym, const Section* section) { in Add() argument 370 DCHECK_LE(section->GetAddress(), sym.st_value); in Add() 371 DCHECK_LE(sym.st_value, section->GetAddress() + section->header_.sh_size); in Add() [all …]
|
/art/sigchainlib/ |
D | sigchain.cc | 122 void* sym = dlsym(libc, name); // NOLINT glibc triggers cert-dcl16-c with RTLD_NEXT. in lookup_libc_symbol() local 123 if (sym == nullptr) { in lookup_libc_symbol() 124 sym = dlsym(RTLD_DEFAULT, name); in lookup_libc_symbol() 125 if (sym == wrapper || sym == sigaction) { in lookup_libc_symbol() 129 *output = reinterpret_cast<T>(sym); in lookup_libc_symbol()
|
/art/test/ti-agent/ |
D | jni_binder.cc | 108 void* sym = dlsym(RTLD_DEFAULT, mangled_name.c_str()); in BindMethod() local 109 if (sym == nullptr) { in BindMethod() 114 native_method.fnPtr = sym; in BindMethod()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 367 void* const sym = library->FindSymbol("JNI_OnUnload", nullptr); in UnloadLibraries() local 368 if (sym == nullptr) { in UnloadLibraries() 372 JNI_OnUnloadFn jni_on_unload = reinterpret_cast<JNI_OnUnloadFn>(sym); in UnloadLibraries() 1067 void* sym = library->FindSymbol("JNI_OnLoad", nullptr); in LoadNativeLibrary() local 1068 if (sym == nullptr) { in LoadNativeLibrary() 1081 JNI_OnLoadFn jni_on_load = reinterpret_cast<JNI_OnLoadFn>(sym); in LoadNativeLibrary()
|
/art/runtime/jit/ |
D | debugger_interface.cc | 658 reader.VisitFunctionSymbols([&](ElfRuntimeTypes::Sym sym, const char* name) { in ForEachNativeDebugSymbol() argument 659 cb(reinterpret_cast<const void*>(sym.st_value), sym.st_size, name); in ForEachNativeDebugSymbol()
|
/art/tools/ |
D | dex2oat_wrapper | 22 # Follow all sym links to get the program name.
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 474 void* sym = dlsym(handle, name); in native_bridge_getTrampoline() local 478 method->fnPtr = sym; in native_bridge_getTrampoline()
|
/art/test/ti-stress/ |
D | stress.cc | 486 #define SEND_VALUE(chr, sym, type) \ in PrintJValue() argument 488 oss << static_cast<type>(new_value.sym); \ in PrintJValue()
|
/art/runtime/ |
D | elf_file.cc | 756 const Elf_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress() local 757 if (sym != nullptr) { in FindDynamicSymbolAddress() 760 return base_address_ + sym->st_value; in FindDynamicSymbolAddress()
|