* use a normalized MemBasePos (i.e. offset<16) for stack segments

git-svn-id: trunk@31415 -
This commit is contained in:
nickysn 2015-08-25 00:29:02 +00:00
parent f3d5bf3743
commit 851ebd9850

View File

@ -2119,7 +2119,7 @@ implementation
for i:=0 to ExeUnifiedLogicalSegments.Count-1 do
begin
UniSeg:=TMZExeUnifiedLogicalSegment(ExeUnifiedLogicalSegments[i]);
if UniSeg.PrimaryGroup<>'' then
if (UniSeg.PrimaryGroup<>'') or (UniSeg.IsStack) then
lastbase:=(UniSeg.MemPos shr 4) shl 4
else
begin