Home
last modified time | relevance | path

Searched refs:symbolName (Results 1 – 23 of 23) sorted by relevance

/haiku/src/system/libroot/stubbed/
H A Dgenerate_stubs.py61 (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 Ddisasm_arch.cpp32 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 DImage.cpp90 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 Ddebug_support.cpp413 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 DSymbolLookup.cpp606 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 DImage.h75 size_t _SymbolNameLen(const char* symbolName) const;
/haiku/src/bin/debug/profile/
H A DSharedImage.cpp133 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 DBasicProfileResult.cpp240 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 Ddlfcn.c82 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 DElfImage.cpp144 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 DElfImage.h55 status_t FindSymbol(const char* symbolName,
57 status_t GetSymbolRelocations(const char* symbolName,
H A DElfSymbolPatcher.cpp370 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 Delf.cpp820 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 Druntime_loader_private.h82 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 Dimage_private.h15 status_t get_image_symbol_etc(image_id id, char const* symbolName,
/haiku/headers/tools/elfsymbolpatcher/
H A DElfSymbolPatcher.h100 status_t GetSymbolPatchInfo(const char* symbolName,
137 status_t AddPatch(const char* symbolName,
/haiku/headers/private/runtime_loader/
H A Druntime_loader.h34 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 Ddlfcn.h39 extern void *dlsym(void *image, const char *symbolName);
/haiku/src/system/libroot/os/
H A Dimage.cpp275 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 Ddebug_support.h77 const void *address, void **baseAddress, char *symbolName,
/haiku/src/servers/debug/
H A DDebugServer.cpp901 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 Delf.cpp1019 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 Dguarded_heap.cpp249 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()