DynamoRIO / DynamoRIO/drmemory
hundreds of UNINITs in libreoffice
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on February 20, 2013 18:49:57_
the scenario from issue #834 , using File|Open to open a text doc and then shutting down, has a lot of false positives. this issue covers attacking those and trying to shrink them. http://dev-builds.libreoffice.org/daily/libreoffice-4-0/Win-x86@6/current/libreoffice-4-0~2013-02-20_14.00.35_LibO-Dev_4.0.2.0_Win_x86.msi from cmd:
# D:\derek\drmemory\git\build_x86_dbg\bin\drmemory.exe -dr d:/derek/dr/git/exports -batch -- "C:\Program Files (x86)\LOdev 4.0\program\swriter.exe"
File|Open simple text doc, then shutdown
=>
% for i in `ls -1td D*|head -3`; do echo $i; grep -A 7 'ERRORS FOUND' $i/r*; done
DrMemory-soffice.bin.6848.000
ERRORS FOUND:
140 unique, 5876 total unaddressable access(es)
849 unique, 10103 total uninitialized access(es)
0 unique, 0 total invalid heap argument(s)
151 unique, 849 total GDI usage error(s)
0 unique, 0 total warning(s)
68 unique, 596 total, 60142 byte(s) of leak(s)
20 unique, 50 total, 35666 byte(s) of possible leak(s)
DrMemory-soffice.exe.12624.000
ERRORS FOUND:
0 unique, 0 total unaddressable access(es)
0 unique, 0 total uninitialized access(es)
0 unique, 0 total invalid heap argument(s)
0 unique, 0 total GDI usage error(s)
0 unique, 0 total warning(s)
2 unique, 2 total, 272 byte(s) of leak(s)
0 unique, 0 total, 0 byte(s) of possible leak(s)
DrMemory-swriter.exe.7228.000
NO ERRORS FOUND:
0 unique, 0 total unaddressable access(es)
0 unique, 0 total uninitialized access(es)
0 unique, 0 total invalid heap argument(s)
0 unique, 0 total GDI usage error(s)
0 unique, 0 total warning(s)
0 unique, 0 total, 0 byte(s) of leak(s)
0 unique, 0 total, 0 byte(s) of possible leak(s)
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1136_
Contributor guide
Assessment
This issue has not been assessed yet.