Reads string from mapped image of .map-file.
Unit
Syntax
protected
class function MapStringToStr(
AMapString: PELMapString;
const StopOnSpace: Boolean
): String; virtual;
Parameters
AMapString
A pointer to the beginning of the string to read.
Remarks
If AMapString starts with '(' - read string between '()', return data inside '()'.If AMapString starts with any other character: read string until EOL. This method behaves differently on different Delphi versions: ANSI version of this method returns UTF-8 encoded string.Unicode version of this method returns UTF-16 encoded string. Use TELAbstractMapParser.DecodeIdentDecodeIdent to get readable string.
Examples
// Reads until EOL:
S := MapStringToStr('SysConst ACBP=A9'#13#10' 0002:000014F0 00000114 C=BSS S=.bss G=DGROUP M=SysUtils ACBP=A9')
// S = 'SysConst'
//
// Reads until EOL:
S := MapStringToStr('AnsiLowerCase'#13#10' 0001:00008158 AnsiLowerCaseFileName');
// S = 'AnsiLowerCase'
//
// Reads until EOL:
S := MapStringToStr('__fastcall System::AnsiString::operator =(const System::AnsiString&)'#13#10' 0001:0000ADF8 __fastcall System::AnsiString::~AnsiString()');
// S = '__fastcall System::AnsiString::operator =(const System::AnsiString&)'
See also
| • | TMapFileParser.MapStringToIdent |
| Send feedback... |
Build date: 2016-09-23 Last edited: 2016-09-23 |
|
PRIVACY STATEMENT The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed. Permanent link to this article: http://www.eurekalog.com/help/eurekalog/topic_method_edebuginfo_telabstractmapparser_mapstringtostr.php |
|