mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
some %x -> %p fixes
svn path=/trunk/; revision=16418
This commit is contained in:
parent
cf3c6e6296
commit
eea2c1d47c
5 changed files with 6 additions and 6 deletions
|
@ -251,7 +251,7 @@ RtlSetCurrentEnvironment(PWSTR NewEnvironment,
|
||||||
{
|
{
|
||||||
PVOID EnvPtr;
|
PVOID EnvPtr;
|
||||||
|
|
||||||
DPRINT("NewEnvironment %x OldEnvironment %x\n",
|
DPRINT("NewEnvironment 0x%p OldEnvironment 0x%p\n",
|
||||||
NewEnvironment, OldEnvironment);
|
NewEnvironment, OldEnvironment);
|
||||||
|
|
||||||
RtlAcquirePebLock();
|
RtlAcquirePebLock();
|
||||||
|
|
|
@ -937,7 +937,7 @@ void DumpStackFrames ( PULONG Frame, ULONG FrameCount )
|
||||||
}
|
}
|
||||||
while ( Frame != 0 && (ULONG)Frame != 0xDEADBEEF && (ULONG)Frame != 0xcdcdcdcd && (ULONG)Frame != 0xcccccccc && i++ < FrameCount )
|
while ( Frame != 0 && (ULONG)Frame != 0xDEADBEEF && (ULONG)Frame != 0xcdcdcdcd && (ULONG)Frame != 0xcccccccc && i++ < FrameCount )
|
||||||
{
|
{
|
||||||
DbgPrint("<%X>", (PVOID)Frame[1]);
|
DbgPrint("<%p>", (PVOID)Frame[1]);
|
||||||
if (Frame[1] == 0xdeadbeef)
|
if (Frame[1] == 0xdeadbeef)
|
||||||
break;
|
break;
|
||||||
Frame = (PULONG)Frame[0];
|
Frame = (PULONG)Frame[0];
|
||||||
|
|
|
@ -28,12 +28,12 @@ RtlImageNtHeader (IN PVOID BaseAddress)
|
||||||
if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
|
if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
|
||||||
{
|
{
|
||||||
DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
|
DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
|
||||||
DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew));
|
DPRINT1("NtHeader 0x%p\n", ((ULONG_PTR)BaseAddress + DosHeader->e_lfanew));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
|
if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
|
||||||
{
|
{
|
||||||
NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew);
|
NtHeader = (PIMAGE_NT_HEADERS)((ULONG_PTR)BaseAddress + DosHeader->e_lfanew);
|
||||||
if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
|
if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
|
||||||
return NtHeader;
|
return NtHeader;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ RtlpMapFile(PUNICODE_STRING ImageFileName,
|
||||||
|
|
||||||
RtlDeNormalizeProcessParams (Ppb);
|
RtlDeNormalizeProcessParams (Ppb);
|
||||||
|
|
||||||
// DbgPrint("ImagePathName %x\n", Ppb->ImagePathName.Buffer);
|
/* DbgPrint("ImagePathName 0x%p\n", Ppb->ImagePathName.Buffer); */
|
||||||
|
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
ImageFileName,
|
ImageFileName,
|
||||||
|
|
|
@ -516,7 +516,7 @@ RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString,
|
||||||
{
|
{
|
||||||
ULONG DestSize;
|
ULONG DestSize;
|
||||||
|
|
||||||
DPRINT("RtlInitUnicodeString(DestinationString %x, SourceString %x)\n",
|
DPRINT("RtlInitUnicodeString(DestinationString 0x%p, SourceString 0x%p)\n",
|
||||||
DestinationString,
|
DestinationString,
|
||||||
SourceString);
|
SourceString);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue