mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:26:02 +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;
|
FExeMetaSec: TNewExeMetaSection;
|
||||||
FMemBasePos: Word;
|
FMemBasePos: Word;
|
||||||
public
|
public
|
||||||
|
function MemPosStr(AImageBase: qword): string;override;
|
||||||
procedure AddObjSection(objsec:TObjSection;ignoreprops:boolean=false);override;
|
procedure AddObjSection(objsec:TObjSection;ignoreprops:boolean=false);override;
|
||||||
function CanAddObjSection(objsec:TObjSection;ExeSectionLimit:QWord):boolean;
|
function CanAddObjSection(objsec:TObjSection;ExeSectionLimit:QWord):boolean;
|
||||||
property EarlySize: QWord read FEarlySize write FEarlySize;
|
property EarlySize: QWord read FEarlySize write FEarlySize;
|
||||||
@ -3585,6 +3586,11 @@ cleanup:
|
|||||||
TNewExeSection
|
TNewExeSection
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
|
|
||||||
|
function TNewExeSection.MemPosStr(AImageBase: qword): string;
|
||||||
|
begin
|
||||||
|
Result:=HexStr(MemBasePos,4)+':'+HexStr(MemPos,4);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TNewExeSection.AddObjSection(objsec: TObjSection; ignoreprops: boolean);
|
procedure TNewExeSection.AddObjSection(objsec: TObjSection; ignoreprops: boolean);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
Loading…
Reference in New Issue
Block a user