mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +02:00
+ added an TNewExeSection.MemPosStr override that outputs a segment:offset string
git-svn-id: trunk@42565 -
This commit is contained in:
parent
3ebcef32ba
commit
1258439767
@ -500,6 +500,7 @@ interface
|
||||
FExeMetaSec: TNewExeMetaSection;
|
||||
FMemBasePos: Word;
|
||||
public
|
||||
function MemPosStr(AImageBase: qword): string;override;
|
||||
procedure AddObjSection(objsec:TObjSection;ignoreprops:boolean=false);override;
|
||||
function CanAddObjSection(objsec:TObjSection;ExeSectionLimit:QWord):boolean;
|
||||
property EarlySize: QWord read FEarlySize write FEarlySize;
|
||||
@ -3585,6 +3586,11 @@ cleanup:
|
||||
TNewExeSection
|
||||
****************************************************************************}
|
||||
|
||||
function TNewExeSection.MemPosStr(AImageBase: qword): string;
|
||||
begin
|
||||
Result:=HexStr(MemBasePos,4)+':'+HexStr(MemPos,4);
|
||||
end;
|
||||
|
||||
procedure TNewExeSection.AddObjSection(objsec: TObjSection; ignoreprops: boolean);
|
||||
begin
|
||||
inherited;
|
||||
|
Loading…
Reference in New Issue
Block a user