mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
anonymous or file mmap-ed segments and shared memory segments.
* pub_tool_addrinfo.h:
new AddrTag Addr_SegmentKind // Client segment (mapped memory)
new struct SegmentKind in AddrInfo
* m_addrinfo.c:
If address is still undescribed, try to describe by findinf a client segment.
* update various tests
* mc_errors.c:
add a call to VG_(clear_addrinfo) in MC_(pp_describe_addr)
as the memory allocated in the local AddrInfo has to be cleared once
info is printed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14779
99 lines
3.0 KiB
Plaintext
99 lines
3.0 KiB
Plaintext
|
|
------ out of range reads in malloc-backed pool ------
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:135)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 1 bytes before a block of size 10 client-defined
|
|
at 0x........: allocate (mempool2.c:108)
|
|
by 0x........: test (mempool2.c:130)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:136)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 0 bytes after a block of size 10 client-defined
|
|
at 0x........: allocate (mempool2.c:108)
|
|
by 0x........: test (mempool2.c:130)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
|
|
------ out of range reads in mmap-backed pool ------
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:140)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 1 bytes before a block of size 20 client-defined
|
|
at 0x........: allocate (mempool2.c:108)
|
|
by 0x........: test (mempool2.c:131)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:141)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 0 bytes after a block of size 20 client-defined
|
|
at 0x........: allocate (mempool2.c:108)
|
|
by 0x........: test (mempool2.c:131)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
|
|
------ read free in malloc-backed pool ------
|
|
|
|
Illegal memory pool address
|
|
at 0x........: test (mempool2.c:145)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 0 bytes inside a block of size 32 alloc'd
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: make_pool (mempool2.c:46)
|
|
by 0x........: test (mempool2.c:122)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
|
|
------ read free in mmap-backed pool ------
|
|
|
|
Illegal memory pool address
|
|
at 0x........: test (mempool2.c:150)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is in a rwx anonymous segment
|
|
|
|
|
|
------ double free in malloc-backed pool ------
|
|
|
|
Illegal memory pool address
|
|
at 0x........: test (mempool2.c:155)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 0 bytes inside a block of size 32 alloc'd
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: make_pool (mempool2.c:46)
|
|
by 0x........: test (mempool2.c:122)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
|
|
------ double free in mmap-backed pool ------
|
|
|
|
Illegal memory pool address
|
|
at 0x........: test (mempool2.c:159)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is in a rwx anonymous segment
|
|
|
|
|
|
------ 2 invalid access in 'no no-access superblock' ---
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:178)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 1 bytes before a block of size 10 client-defined
|
|
at 0x........: test (mempool2.c:171)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
Invalid read of size 1
|
|
at 0x........: test (mempool2.c:179)
|
|
by 0x........: main (mempool2.c:196)
|
|
Address 0x........ is 0 bytes after a block of size 10 client-defined
|
|
at 0x........: test (mempool2.c:171)
|
|
by 0x........: main (mempool2.c:196)
|
|
|
|
|
|
------ done ------
|
|
|