mirror of https://github.com/x64dbg/TitanEngine
fixed a bug with UE_SECTIONNAME in x64
This commit is contained in:
parent
c6744a2602
commit
8ca6c8d869
|
|
@ -301,7 +301,8 @@ __declspec(dllexport) ULONG_PTR TITCALL GetPE32DataFromMappedFile(ULONG_PTR File
|
||||||
PESections = (PIMAGE_SECTION_HEADER)((ULONG_PTR)PESections + WhichSection * IMAGE_SIZEOF_SECTION_HEADER);
|
PESections = (PIMAGE_SECTION_HEADER)((ULONG_PTR)PESections + WhichSection * IMAGE_SIZEOF_SECTION_HEADER);
|
||||||
if(WhichData == UE_SECTIONNAME)
|
if(WhichData == UE_SECTIONNAME)
|
||||||
{
|
{
|
||||||
return((ULONG_PTR)PESections->Name);
|
memcpy(sectionName, PESections->Name, 8);
|
||||||
|
return (ULONG_PTR)sectionName;
|
||||||
}
|
}
|
||||||
else if(WhichData == UE_SECTIONVIRTUALOFFSET)
|
else if(WhichData == UE_SECTIONVIRTUALOFFSET)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue