/haiku/src/system/libroot/stubbed/ |
H A D | generate_stubs.py | 61 (symbolName, unused, versionTag) = symbol.partition('LIBROOT_') 63 % (targetSymbol, symbolName, versionTag) 69 (symbolName, unused, versionTag) = symbol.partition('LIBROOT_') 71 % (targetSymbol, symbolName, versionTag)
|
/haiku/src/add-ons/kernel/debugger/disasm/x86/ |
H A D | disasm_arch.cpp | 32 const char* symbolName; in ZydisFormatterPrintAddressAbsolute() local 38 &symbolName, NULL, NULL); in ZydisFormatterPrintAddressAbsolute() 42 &symbolName, NULL, NULL); in ZydisFormatterPrintAddressAbsolute() 51 return ZyanStringAppendFormat(string, "<%s>", symbolName); in ZydisFormatterPrintAddressAbsolute() 52 return ZyanStringAppendFormat(string, "<%s+0x%" B_PRIx64 ">", symbolName, offset); in ZydisFormatterPrintAddressAbsolute()
|
/haiku/src/kits/debug/ |
H A D | Image.cpp | 90 const char* symbolName = NULL; in LookupSymbol() local 113 symbolName = fStringTable + symbol->st_name; in LookupSymbol() 124 *_symbolName = symbolName; in LookupSymbol() 128 *_symbolNameLen = _SymbolNameLen(symbolName); in LookupSymbol() 164 SymbolTableBasedImage::_SymbolNameLen(const char* symbolName) const in _SymbolNameLen() 166 if (symbolName == NULL || (addr_t)symbolName < (addr_t)fStringTable in _SymbolNameLen() 167 || (addr_t)symbolName >= (addr_t)fStringTable + fStringTableSize) { in _SymbolNameLen() 171 return strnlen(symbolName, in _SymbolNameLen() 172 (addr_t)fStringTable + fStringTableSize - (addr_t)symbolName); in _SymbolNameLen()
|
H A D | debug_support.cpp | 413 const void *address, void **baseAddress, char *symbolName, in debug_lookup_symbol_address() argument 440 if (symbolName && symbolNameSize > 0) { in debug_lookup_symbol_address() 442 strlcpy(symbolName, _symbolName, in debug_lookup_symbol_address() 445 symbolName[0] = '\0'; in debug_lookup_symbol_address() 558 const char* symbolName; in debug_next_image_symbol() local 564 &symbolName, &symbolNameLen, &symbolLocation, _symbolSize, in debug_next_image_symbol() 574 if (symbolName != NULL && symbolNameLen > 0) { in debug_next_image_symbol() 575 strlcpy(nameBuffer, symbolName, in debug_next_image_symbol()
|
H A D | SymbolLookup.cpp | 606 const char *symbolName = NULL; in LookupSymbol() local 636 symbolName = (const char*)fSymbolLookup->PrepareAddressNoThrow( in LookupSymbol() 638 if (symbolName == NULL) in LookupSymbol() 659 *_symbolName = symbolName; in LookupSymbol() 663 *_symbolNameLen = fSymbolLookup->_SymbolNameLen(symbolName); in LookupSymbol()
|
H A D | Image.h | 75 size_t _SymbolNameLen(const char* symbolName) const;
|
/haiku/src/bin/debug/profile/ |
H A D | SharedImage.cpp | 133 char symbolName[1024]; in _Init() local 137 while (debug_next_image_symbol(iterator, symbolName, sizeof(symbolName), in _Init() 144 (addr_t)symbolLocation, symbolSize, symbolName); in _Init()
|
H A D | BasicProfileResult.cpp | 240 const char* symbolName = __cxxabiv1::__cxa_demangle(symbol->Name(), in PrintResults() local 242 if (symbolName == NULL) in PrintResults() 243 symbolName = symbol->Name(); in PrintResults() 245 const char* symbolName = symbol->Name(); in PrintResults() local 251 symbolName); in PrintResults() 254 free(const_cast<char*>(symbolName)); in PrintResults()
|
/haiku/src/system/libroot/posix/ |
H A D | dlfcn.c | 82 char* symbolName; in dladdr() local 87 &imagePath, NULL, &symbolName, NULL, &location, NULL); in dladdr() 97 info->dli_sname = symbolName; in dladdr()
|
/haiku/src/tools/elfsymbolpatcher/ |
H A D | ElfImage.cpp | 144 ElfImage::FindSymbol(const char* symbolName, void** address) in FindSymbol() argument 146 return get_image_symbol(fImage, symbolName, B_SYMBOL_TYPE_ANY, address); in FindSymbol() 151 ElfImage::GetSymbolRelocations(const char* symbolName, BList* relocations) in GetSymbolRelocations() argument 168 && !strcmp(symbol.GetName(), symbolName)) { in GetSymbolRelocations()
|
H A D | ElfImage.h | 55 status_t FindSymbol(const char* symbolName, 57 status_t GetSymbolRelocations(const char* symbolName,
|
H A D | ElfSymbolPatcher.cpp | 370 ElfSymbolPatcher::GetSymbolPatchInfo(const char* symbolName, in GetSymbolPatchInfo() argument 374 if (!symbolName || !info) in GetSymbolPatchInfo() 380 status_t error = info->SetSymbolName(symbolName); in GetSymbolPatchInfo() 387 error = image->GetSymbolRelocations(symbolName, &patchTargets); in GetSymbolPatchInfo() 397 if (image->FindSymbol(symbolName, &address) == B_OK && address) { in GetSymbolPatchInfo() 521 ElfSymbolPatchGroup::AddPatch(const char* symbolName, void* newAddress, in AddPatch() argument 527 if (!symbolName || !originalAddress) in AddPatch() 534 status_t error = fPatcher->GetSymbolPatchInfo(symbolName, patchInfo); in AddPatch()
|
/haiku/src/system/runtime_loader/ |
H A D | elf.cpp | 820 const char* symbolName = SYMNAME(image, symbol); in get_nth_symbol() local 821 strlcpy(nameBuffer, symbolName, *_nameLength); in get_nth_symbol() 822 *_nameLength = strlen(symbolName); in get_nth_symbol() 835 patch_defined_symbol(image, symbolName, &location, &type); in get_nth_symbol() 929 get_symbol(image_id imageID, char const *symbolName, int32 symbolType, in get_symbol() argument 937 if (symbolName == NULL) in get_symbol() 943 if (strcmp(symbolName, B_INIT_BEFORE_FUNCTION_NAME) == 0 in get_symbol() 944 || strcmp(symbolName, B_INIT_AFTER_FUNCTION_NAME) == 0 in get_symbol() 945 || strcmp(symbolName, B_TERM_BEFORE_FUNCTION_NAME) == 0 in get_symbol() 946 || strcmp(symbolName, B_TERM_AFTER_FUNCTION_NAME) == 0) in get_symbol() [all …]
|
H A D | runtime_loader_private.h | 82 status_t get_symbol(image_id imageID, char const* symbolName, int32 symbolType, 84 status_t get_library_symbol(void* handle, void* caller, const char* symbolName,
|
/haiku/headers/private/libroot/ |
H A D | image_private.h | 15 status_t get_image_symbol_etc(image_id id, char const* symbolName,
|
/haiku/headers/tools/elfsymbolpatcher/ |
H A D | ElfSymbolPatcher.h | 100 status_t GetSymbolPatchInfo(const char* symbolName, 137 status_t AddPatch(const char* symbolName,
|
/haiku/headers/private/runtime_loader/ |
H A D | runtime_loader.h | 34 status_t (*get_image_symbol)(image_id imageID, char const *symbolName, 37 const char* symbolName, void **_location); 39 char *symbolName, int32 *nameLength, int32 *symbolType,
|
/haiku/headers/posix/ |
H A D | dlfcn.h | 39 extern void *dlsym(void *image, const char *symbolName);
|
/haiku/src/system/libroot/os/ |
H A D | image.cpp | 275 get_image_symbol(image_id id, char const *symbolName, int32 symbolType, in get_image_symbol() argument 278 return __gRuntimeLoader->get_image_symbol(id, symbolName, symbolType, in get_image_symbol() 284 get_image_symbol_etc(image_id id, char const *symbolName, int32 symbolType, in get_image_symbol_etc() argument 287 return __gRuntimeLoader->get_image_symbol(id, symbolName, symbolType, in get_image_symbol_etc()
|
/haiku/headers/private/debug/ |
H A D | debug_support.h | 77 const void *address, void **baseAddress, char *symbolName,
|
/haiku/src/servers/debug/ |
H A D | DebugServer.cpp | 901 char symbolName[1024]; in _LookupSymbolAddress() local 907 &baseAddress, symbolName, sizeof(symbolName), imageName, in _LookupSymbolAddress() 914 if (strlen(symbolName) > 0) { in _LookupSymbolAddress() 916 snprintf(buffer, bufferSize, "<%s> %s + %#lx%s", imageName, symbolName, in _LookupSymbolAddress()
|
/haiku/src/system/kernel/ |
H A D | elf.cpp | 1019 const char *symbolName = SYMNAME(image, symbol); in elf_resolve_symbol() local 1032 elf_sym* foundSymbol = elf_find_symbol(firstImage, symbolName, versionInfo, in elf_resolve_symbol() 1038 elf_sym* secondSymbol = elf_find_symbol(secondImage, symbolName, in elf_resolve_symbol() 1058 symbolName); in elf_resolve_symbol() 1066 symbolName, foundImage->name, image->name, in elf_resolve_symbol() 1629 const char *symbolName = NULL; in elf_debug_lookup_symbol_address() local 1672 symbolName = image->debug_string_table + symbol->st_name; in elf_debug_lookup_symbol_address() 1701 symbolName = SYMNAME(image, symbol); in elf_debug_lookup_symbol_address() 1714 *_symbolName = symbolName; in elf_debug_lookup_symbol_address()
|
/haiku/src/system/libroot/posix/malloc/debug/ |
H A D | guarded_heap.cpp | 249 char* symbolName; in guarded_heap_print_stack_trace() local 257 (void*)address, NULL, NULL, &imageName, &symbolName, NULL, in guarded_heap_print_stack_trace() 265 print_stdout("\t<%s> %s + %#" B_PRIxADDR "%s\n", imageName, symbolName, in guarded_heap_print_stack_trace()
|