ITADN

UNINITIALIZED READ while executing detours (withdll.exe) with dr memory

#347Closedgevorgyaned 创建于 2025-04-17
question
G
gevorgyanedcommented
Hi I was trying to check on segmantation fault I was receiving while executing my program with withdll.exe (I was recieving segfault on exit function), tried to run it with DrMemory, here is the result ``` Error #1: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:814] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.922 in thread 21972 Note: instruction: cmp 0x30(%rsp) %r14 Error #2: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:826] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.922 in thread 21972 Note: instruction: cmp 0x30(%rsp) %r15 Error #3: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:838] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.922 in thread 21972 Note: instruction: cmp 0x30(%rsp) %r15 Error #4: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:851] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.922 in thread 21972 Note: instruction: cmp 0x30(%rsp) %r14 Error #5: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:861] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.938 in thread 21972 Note: instruction: cmp 0x30(%rsp) %rsi Error #6: UNINITIALIZED READ: reading 0x000000000014df14-0x000000000014df18 4 byte(s) within 0x000000000014df10-0x000000000014df18 # 0 DetourCopyPayloadToProcess [e:\3rd_party_64\detours\src\creatwth.cpp:867] # 1 UpdateImports [e:\3rd_party_64\detours\src\creatwth.cpp:657] # 2 DetourCreateProcessWithDllA [e:\3rd_party_64\detours\src\creatwth.cpp:711] # 3 main [e:\3rd_party_64\detours\samples\withdll\withdll.cpp:222] Note: @0:00:00.938 in thread 21972 Note: instruction: cmp 0x30(%rsp) %rbp ``` There is some uninitialized reads, I was wondering if this is intentional, or it is causing the segfault, thanks in advance
关闭于 2025-06-20 1 条评论