/reactos/sdk/lib/rossym/ |
H A D | fromraw.c | 18 RosSymCreateFromRaw(PVOID RawData, ULONG_PTR DataSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromRaw() argument 33 *RosSymInfo = RosSymAllocMem(sizeof(ROSSYM_INFO) + RosSymHeader->SymbolsLength in RosSymCreateFromRaw() 35 if (NULL == *RosSymInfo) in RosSymCreateFromRaw() 40 (*RosSymInfo)->Symbols = (PROSSYM_ENTRY)((char *) *RosSymInfo + sizeof(ROSSYM_INFO)); in RosSymCreateFromRaw() 41 (*RosSymInfo)->SymbolsCount = RosSymHeader->SymbolsLength / sizeof(ROSSYM_ENTRY); in RosSymCreateFromRaw() 42 (*RosSymInfo)->Strings = (PCHAR) *RosSymInfo + sizeof(ROSSYM_INFO) + RosSymHeader->SymbolsLength; in RosSymCreateFromRaw() 43 (*RosSymInfo)->StringsLength = RosSymHeader->StringsLength; in RosSymCreateFromRaw() 44 memcpy((*RosSymInfo)->Symbols, (char *) RosSymHeader + RosSymHeader->SymbolsOffset, in RosSymCreateFromRaw() 46 memcpy((*RosSymInfo)->Strings, (char *) RosSymHeader + RosSymHeader->StringsOffset, in RosSymCreateFromRaw() 49 (*RosSymInfo)->Strings[(*RosSymInfo)->StringsLength] = '\0'; in RosSymCreateFromRaw()
|
H A D | find.c | 46 FindEntry(IN PROSSYM_INFO RosSymInfo, IN ULONG_PTR RelativeAddress) in FindEntry() argument 64 PROSSYM_ENTRY Base = RosSymInfo->Symbols; in FindEntry() 74 for (Lim = RosSymInfo->SymbolsCount; Lim != 0; Lim >>= 1) in FindEntry() 94 RosSymGetAddressInformation(PROSSYM_INFO RosSymInfo, in RosSymGetAddressInformation() argument 104 if (RosSymInfo->Symbols == NULL || RosSymInfo->SymbolsCount == 0 || in RosSymGetAddressInformation() 105 RosSymInfo->Strings == NULL || RosSymInfo->StringsLength == 0) in RosSymGetAddressInformation() 114 RosSymEntry = FindEntry(RosSymInfo, RelativeAddress); in RosSymGetAddressInformation() 131 Name = (PCHAR) RosSymInfo->Strings + RosSymEntry->FileOffset; in RosSymGetAddressInformation() 140 Name = (PCHAR) RosSymInfo->Strings + RosSymEntry->FunctionOffset; in RosSymGetAddressInformation()
|
H A D | fromfile.c | 19 RosSymCreateFromFile(PVOID FileContext, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromFile() argument 120 *RosSymInfo = RosSymAllocMem(sizeof(ROSSYM_INFO) - sizeof(ROSSYM_HEADER) in RosSymCreateFromFile() 122 if (NULL == *RosSymInfo) in RosSymCreateFromFile() 127 (*RosSymInfo)->Symbols = (PROSSYM_ENTRY)((char *) *RosSymInfo + sizeof(ROSSYM_INFO) in RosSymCreateFromFile() 129 (*RosSymInfo)->SymbolsCount = RosSymHeader.SymbolsLength / sizeof(ROSSYM_ENTRY); in RosSymCreateFromFile() 130 (*RosSymInfo)->Strings = (PCHAR) *RosSymInfo + sizeof(ROSSYM_INFO) - sizeof(ROSSYM_HEADER) in RosSymCreateFromFile() 132 (*RosSymInfo)->StringsLength = RosSymHeader.StringsLength; in RosSymCreateFromFile() 133 if (! RosSymReadFile(FileContext, *RosSymInfo + 1, in RosSymCreateFromFile() 141 (*RosSymInfo)->Strings[(*RosSymInfo)->StringsLength] = '\0'; in RosSymCreateFromFile()
|
H A D | getraw.c | 15 RosSymGetRawDataLength(PROSSYM_INFO RosSymInfo) in RosSymGetRawDataLength() argument 18 + RosSymInfo->SymbolsCount * sizeof(ROSSYM_ENTRY) in RosSymGetRawDataLength() 19 + RosSymInfo->StringsLength; in RosSymGetRawDataLength() 23 RosSymGetRawData(PROSSYM_INFO RosSymInfo, PVOID RawData) in RosSymGetRawData() argument 29 RosSymHeader->SymbolsLength = RosSymInfo->SymbolsCount * sizeof(ROSSYM_ENTRY); in RosSymGetRawData() 31 RosSymHeader->StringsLength = RosSymInfo->StringsLength; in RosSymGetRawData() 33 memcpy((char *) RawData + RosSymHeader->SymbolsOffset, RosSymInfo->Symbols, in RosSymGetRawData() 35 memcpy((char *) RawData + RosSymHeader->StringsOffset, RosSymInfo->Strings, in RosSymGetRawData()
|
H A D | delete.c | 15 RosSymDelete(PROSSYM_INFO RosSymInfo) in RosSymDelete() argument 17 RosSymFreeMem(RosSymInfo); in RosSymDelete()
|
H A D | frommem.c | 19 RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromMem() argument 87 SectionHeader->SizeOfRawData, RosSymInfo); in RosSymCreateFromMem()
|
/reactos/sdk/lib/rossym_new/ |
H A D | fromraw.c | 18 RosSymCreateFromRaw(PVOID RawData, ULONG_PTR DataSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromRaw() argument 33 *RosSymInfo = RosSymAllocMem(sizeof(ROSSYM_INFO) + RosSymHeader->SymbolsLength in RosSymCreateFromRaw() 35 if (NULL == *RosSymInfo) in RosSymCreateFromRaw() 40 (*RosSymInfo)->Symbols = (PROSSYM_ENTRY)((char *) *RosSymInfo + sizeof(ROSSYM_INFO)); in RosSymCreateFromRaw() 41 (*RosSymInfo)->SymbolsCount = RosSymHeader->SymbolsLength / sizeof(ROSSYM_ENTRY); in RosSymCreateFromRaw() 42 (*RosSymInfo)->Strings = (PCHAR) *RosSymInfo + sizeof(ROSSYM_INFO) + RosSymHeader->SymbolsLength; in RosSymCreateFromRaw() 43 (*RosSymInfo)->StringsLength = RosSymHeader->StringsLength; in RosSymCreateFromRaw() 44 memcpy((*RosSymInfo)->Symbols, (char *) RosSymHeader + RosSymHeader->SymbolsOffset, in RosSymCreateFromRaw() 46 memcpy((*RosSymInfo)->Strings, (char *) RosSymHeader + RosSymHeader->StringsOffset, in RosSymCreateFromRaw() 49 (*RosSymInfo)->Strings[(*RosSymInfo)->StringsLength] = '\0'; in RosSymCreateFromRaw()
|
H A D | find.c | 45 (PROSSYM_INFO RosSymInfo, in RosSymGetAddressInformation() argument 54 (RosSymInfo, in RosSymGetAddressInformation() 56 RelativeAddress + RosSymInfo->pe->imagebase, in RosSymGetAddressInformation() 73 (RosSymInfo, in RosSymGetAddressInformation() 74 RelativeAddress + RosSymInfo->pe->imagebase, in RosSymGetAddressInformation() 83 (RosSymInfo, in RosSymGetAddressInformation() 85 RelativeAddress + RosSymInfo->pe->imagebase, in RosSymGetAddressInformation() 108 (RosSymInfo, in RosSymGetAddressInformation() 143 …if (dwarfaddrtounit(RosSymInfo, RosSymInfo->pe->codestart + RosSymInfo->pe->imagebase, &unit) == -… in RosSymAggregate() 195 locbuf.d = RosSymInfo; in RosSymAggregate() [all …]
|
H A D | getraw.c | 18 RosSymGetRawDataLength(PROSSYM_INFO RosSymInfo) in RosSymGetRawDataLength() argument 21 + RosSymInfo->SymbolsCount * sizeof(ROSSYM_ENTRY) in RosSymGetRawDataLength() 22 + RosSymInfo->StringsLength; in RosSymGetRawDataLength() 26 RosSymGetRawData(PROSSYM_INFO RosSymInfo, PVOID RawData) in RosSymGetRawData() argument 32 RosSymHeader->SymbolsLength = RosSymInfo->SymbolsCount * sizeof(ROSSYM_ENTRY); in RosSymGetRawData() 34 RosSymHeader->StringsLength = RosSymInfo->StringsLength; in RosSymGetRawData() 36 memcpy((char *) RawData + RosSymHeader->SymbolsOffset, RosSymInfo->Symbols, in RosSymGetRawData() 38 memcpy((char *) RawData + RosSymHeader->StringsOffset, RosSymInfo->Strings, in RosSymGetRawData()
|
H A D | delete.c | 13 RosSymDelete(PROSSYM_INFO RosSymInfo) in RosSymDelete() argument 15 dwarfclose(RosSymInfo); in RosSymDelete()
|
H A D | frommem.c | 23 RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromMem() argument 145 *RosSymInfo = dwarfopen(pe); in RosSymCreateFromMem() 147 return !!*RosSymInfo; in RosSymCreateFromMem()
|
H A D | fromfile.c | 20 RosSymCreateFromFile(PVOID FileContext, PROSSYM_INFO *RosSymInfo) in RosSymCreateFromFile() argument 144 *RosSymInfo = dwarfopen(pe); in RosSymCreateFromFile()
|
/reactos/sdk/include/reactos/ |
H A D | rossym.h | 137 PROSSYM_INFO *RosSymInfo); 139 PROSSYM_INFO *RosSymInfo); 140 BOOLEAN RosSymCreateFromFile(PVOID FileContext, PROSSYM_INFO *RosSymInfo); 141 ULONG RosSymGetRawDataLength(PROSSYM_INFO RosSymInfo); 142 VOID RosSymGetRawData(PROSSYM_INFO RosSymInfo, PVOID RawData); 144 BOOLEAN RosSymGetAddressInformation(PROSSYM_INFO RosSymInfo, 148 BOOLEAN RosSymGetAddressInformation(PROSSYM_INFO RosSymInfo, 155 VOID RosSymDelete(PROSSYM_INFO RosSymInfo); 157 RosSymAggregate(PROSSYM_INFO RosSymInfo, PCHAR Type, PROSSYM_AGGREGATE Aggregate);
|
/reactos/ntoskrnl/kdbg/ |
H A D | kdb_symbols.c | 26 PROSSYM_INFO RosSymInfo; member
|