Comments (5)
From [email protected] on May 03, 2011 06:02:22
Update: as of r273 , it still reports the uninit read and looks like it thinks the '\0' is uninitialized:
UNINITIALIZED READ: reading 0x00154945-0x00154946 1 byte(s)
while
::GlobalLock returns 0x00154940 -> "ASCII\0"
from drmemory.
From [email protected] on May 03, 2011 06:04:22
... and ::GlobalSize() returns 6
from drmemory.
From [email protected] on May 03, 2011 06:30:22
(on XP 32-bit)
::OpenClipboard results in WARNING: unhandled system call #0x11d5
::EmptyClipboard results in WARNING: unhandled system call #0x116d
::SetClipboardData results in WARNING: unhandled system call #0x114f WARNING: unhandled system call #0x11fc
::CloseClipboard results in WARNING: unhandled system call #0x11fc WARNING: unhandled system call #0x114b
::GetClipboardData -> WARNING: unhandled system call #0x1185 WARNING: unhandled system call #0x1156 WARNING: unhandled system call #0x1156
These guys look like win32k system calls http://www.woodmann.com/forum/archive/index.php/t-10295.html 114b: bf8f85a7 NtUserCloseClipboard 0
114f: bf8ea924 NtUserConvertMemHandle 2
1156: bf8f9a46 NtUserCreateLocalMemHandle 4
116d: bf8ea5a9 NtUserEmptyClipboard 0
1185: bf8f9881 NtUserGetClipboardData 2
11d5: bf8f8524 NtUserOpenClipboard 2
11fc: bf8ea848 NtUserSetClipboardData 3
Looks like we're not handling some of these correctly (off-by-one error?)
Derek, can you please take a look?
From drmemory\syscall_windows.c:
/* FIXME PR 406349: win32k.sys syscalls! currently doing memcmp to see what was written
-> could it be that GlobalLock writes all 6 bytes but the last \0 byte was already \0 and memcmp have not seen this?
Owner: [email protected]
Cc: [email protected]
from drmemory.
From [email protected] on May 03, 2011 07:09:25
I turned off -syscall_sentinels b/c it's risky. As an experiment try turning it on and these may go away b/c drmem will see the 0 being written.
I am in the process of adding handling for non-ntdll syscall wrappers, once done w/ ioctls.
from drmemory.
From [email protected] on July 15, 2011 13:02:39
This issue was closed by revision r397 .
Status: Fixed
from drmemory.
Related Issues (20)
- Compilation error on linux mint 21.1 HOT 1
- Error: failed to create process (error =193) for c\users\..\.dll HOT 1
- Application exited with abnormal code 0xc0000374 HOT 2
- Windows XP support HOT 2
- Dr Memory can support AArch64 ? HOT 3
- macOS Ventura support
- DWARF5 is not supported by drsyms, resulting in no line numbers with gcc 11+
- System call information is missing for this operating system HOT 6
- DrMemory 2.6.0 WinSock |recv()|/|send()| reports false-positive "UNINITIALIZED READ" errors HOT 2
- Dr. Memory internal crash at PC
- ASSERT "vsyscall incorrect assumption" on AMD 32-bit
- DrMemory fails even on empty MinGW gcc 13.1.0 application
- application exited with abnormal code0x28 HOT 1
- drstrace fails to start with an internal error HOT 1
- Drmemory.exe unable yto load client library:bcrpt.dll: library initializer failed HOT 1
- Issues with bcrypt.dll and STATUS_HEAP_CORRUPTION
- DrMemory 2.6.0 release crashes on start on Windows 10/32bit HOT 1
- run error HOT 1
- dr.memory run failed.
- Drmemory cannot run the Win32 "net" ("C:\Windows\system32\net.exe") utility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drmemory.