DBG: undecorated symbol names
This commit is contained in:
		
							parent
							
								
									2af781caa9
								
							
						
					
					
						commit
						3a741e9df8
					
				|  | @ -117,6 +117,8 @@ extern "C" DLL_EXPORT bool _dbg_addrinfoget(duint addr, SEGMENTREG segment, ADDR | ||||||
|             pSymbol->MaxNameLen = MAX_LABEL_SIZE; |             pSymbol->MaxNameLen = MAX_LABEL_SIZE; | ||||||
|             if(SymFromAddr(fdProcessInfo->hProcess, (DWORD64)addr, &displacement, pSymbol) and !displacement) |             if(SymFromAddr(fdProcessInfo->hProcess, (DWORD64)addr, &displacement, pSymbol) and !displacement) | ||||||
|             { |             { | ||||||
|  |                 //TODO: user preference
 | ||||||
|  |                 if(!UnDecorateSymbolName(pSymbol->Name, addrinfo->label, MAX_LABEL_SIZE, UNDNAME_COMPLETE)) | ||||||
|                     strcpy(addrinfo->label, pSymbol->Name); |                     strcpy(addrinfo->label, pSymbol->Name); | ||||||
|                 retval=true; |                 retval=true; | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue