• Home
  • History
  • Annotate
  • only in /external/valgrind/memcheck/tests/x86-linux/
History log of /external/valgrind/memcheck/tests/x86-linux/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8eb8bab992e3998c33770b0cdb16059a8b918a06 21-Jul-2015 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Bug 345248 - add support for Solaris OS in valgrind

Authors of this port:
Petr Pavlu setup@dagobah.cz
Ivo Raisr ivosh@ivosh.net
Theo Schlossnagle theo@omniti.com



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
e44ff7982e2cfe6eb714679b298a26adb756228c 22-Mar-2015 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Include the platform name in the unhandled system call message

We often get bug reports for an unhandled system call which don't
make it clear what platform is in use, which makes it impossible
to know which system call it is.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15033 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
18d6f4ec1b86057e1a906db1a1d31c89472fb1ad 23-May-2014 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve address description for address in the stack.
--read-var-info=yes is very memory and cpu intensive.
This patch ensures that even witout --read-var-info=yes that
the frame where the address point is reported in the address
description.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13991 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
812e2f9cfaf5fbd77bd8f65399c1722e1983c443 24-Feb-2014 mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> BZ#331380 cont. Don't crash if evp->sigev_notify is invalid. Fix scalar test.

We check evp.sigev_notify_thread_id only if evp->sigev_notify has
SIGEV_THREAD_ID set. But before checking we need to make sure accessing
evp->sigev_notify is valid.

Fix memcheck/tests/x86-linux/scalar.stderr.exp output.
We now produce separate warnings for the 3 different fields.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13837 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
68f338fbf7dd659d5377e7e0f6c6532a7f73f302 09-Feb-2014 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix typo in poll wrapper

Patch from Ivo Raisr via BZ#330941


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13795 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
199c15bc1bdc8599254aa128276e5ed89f9f8854 04-Oct-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Allow a null pointer as the second argument to capget.
Patch from Mark Wielaard to fix BZ#307101.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13021 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
d99c26a4bc18fd3b17c4626c9c1fbd1583388660 01-Aug-2012 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Implement --redzone-size and --core-redzone-size

* For tools replacing the malloc library (e.g. Memcheck, Helgrind, ...),
the option --redzone-size=<number> allows to control the padding
blocks (redzones) added before and after each client allocated block.
Smaller redzones decrease the memory needed by Valgrind. Bigger
redzones increase the chance to detect blocks overrun or underrun.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12807 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
9e4b636f786d7d105cb8ead0a4c9f0b403e82e71 10-Feb-2012 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for process_vm_readv and process_vm_writev system calls.
Patch from Lénaïc Huard to fix BZ#292995.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12374 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
e4310b34c9de11dce6477053259afbaab498370e 09-Nov-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> RHEL 4 build fix

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12263 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
3dfe979d03de6815008ecd66f9b733c7a44f0d2a 04-Oct-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve filtering of backtrace noise in the memcheck bucket
and update exp files accordingly. This works well for x86
and all testcases pass on my machine.
New file filter_memcheck to do the work.
There is a bit of a ripple here as filter_memcheck requires
command line arguments to be passed in. So all users of
filter_memcheck (direct or indirect) were updated as well.
filter_stderr was simplified as was filter_libc.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12091 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_scalar_exit_group
ilter_stderr
calar.stderr.exp
calar_supp.stderr.exp
0c865b49c9478b7be2c3ba44f0b763341ce7cf1e 30-Sep-2011 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use <sys/mman.h> instead of <linux/mman.h> to fix a compile problem
on SLES 10. Patch by Rich Coe (rcoe@wi.rr.com). Fixes bugzilla #282238.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12072 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.h
bb748cb5cd8eb9a5739586221e1ab80d529c8c3c 08-Jun-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Define _GNU_SOURCE for access to CLONE_XXX flags with gibc 2.14 headers.

Based on patch from Dmitry Djachenko <dimhen@gmail.com>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11802 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
f976f6c216f0cc80e27e1d38e7df5369595aa442 03-Apr-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar_exit_group.c
calar_fork.c
calar_vfork.c
a518f74c61acca0df74acbe72efe7e99fe6d99a5 31-Jul-2010 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Follow-up for r11191: made this test pass again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11248 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
3677531e463f9b92ac663fcab87427c9d1aa6538 08-Jan-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update expected output.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11022 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
cab64bca3a865a294b2c20f158c8c2182fa4eb7e 12-Aug-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update .exp files for r10783.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10784 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
calar_exit_group.stderr.exp
calar_supp.stderr.exp
a262f62d4fdd6e1b2e57070510573bcbfccaaf33 20-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Improve handling of clone() on x86/Linux. Based on a patch from Jeroen
Witmond. This fixes bug 117564.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10493 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
7271588235cfca5ae3b6e355d7ad054f0d6d46fd 10-Jul-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Handle epoll_create1. Patch from Sam Varshavchik. Fixes bug 188427.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10427 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
8b68b64759254d514d98328c496cbd88cde4c9a5 24-Jun-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit merges the BUILD_TWEAKS branch onto the trunk. It has the
following improvements:

- Arch/OS/platform-specific files are now included/excluded via the
preprocessor, rather than via the build system. This is more consistent
(we use the pre-processor for small arch/OS/platform-specific chunks
within files) and makes the build system much simpler, as the sources for
all programs are the same on all platforms.

- Vast amounts of cut+paste Makefile.am code has been factored out. If a
new platform is implemented, you need to add 11 extra Makefile.am lines.
Previously it was over 100 lines.

- Vex has been autotoolised. Dependency checking now works in Vex (no more
incomplete builds). Parallel builds now also work. --with-vex no longer
works; it's little use and a pain to support. VEX/Makefile is still in
the Vex repository and gets overwritten at configure-time; it should
probably be renamed Makefile-gcc to avoid possible problems, such as
accidentally committing a generated Makefile. There's a bunch of hacky
copying to deal with the fact that autotools don't handle same-named files
in different directories. Julian plans to rename the files to avoid this
problem.

- Various small Makefile.am things have been made more standard automake
style, eg. the use of pkginclude/pkglib prefixes instead of rolling our
own.

- The existing five top-level Makefile.am include files have been
consolidated into three.

- Most Makefile.am files now are structured more clearly, with comment
headers separating sections, declarations relating to the same things next
to each other, better spacing and layout, etc.

- Removed the unused exp-ptrcheck/tests/x86 directory.

- Renamed some XML files.

- Factored out some duplicated dSYM handling code.

- Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting
Makefile.am files to be much more standard.

- Cleaned up m_coredump by merging a bunch of files that had been
overzealously separated.

The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude
the added Makefile.vex.am, or 997 once the hacky file copying for Vex is
removed. And the build system is much simpler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
72bbd8d24c6bd39734f465ce8d54904b6865de9b 22-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> DARWIN sync: all the timeval stuff



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10106 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
3d22508583ff2adf28fda5c73b1c6e6a966be537 18-May-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge parts of r9775, r9777, r9789, r9794 from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9883 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
21fd4f3f154e9ecc2dc4eea01f834c6554a62d70 25-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9621 (move int3-x86 into x86-linux/) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9623 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
nt3-x86.c
nt3-x86.stderr.exp
nt3-x86.stdout.exp
nt3-x86.vgtest
c9a6f4b6c33014aa3259182b1623a7669011f805 24-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9610 (AM_CCASFLAGS tweaks for test Makefiles) from the DARWIN branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9611 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
83b62cbbab29bde83eba40231f307c2a311e73c8 15-Apr-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge r9533..9536 (add tests/{asm.h,sys_mman.h,malloc.h} from the DARWIN
branch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9537 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug133694.c
3a04d5cedf40ff6fe93dfb600879317fdab53903 16-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> This should have gone in with the last commit.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9422 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_scalar_exit_group
acdcf542a5f8cafbbfb7c0552fe9a40c457a9387 16-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> - Turn exit_group() into exit() in the Memcheck filter, for greater
determinism and portability.
- Update the xml1 .exp files accordingly (getting rid of one which is no
longer necessary).
- Update origin4-many.stderr.exp accordingly.
- Update the handling of scalar_exit_group accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9421 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
calar_exit_group.vgtest
aab814edf1195cbfbe0c75f2d66c0cbc8cc65a65 03-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use "status" as the argname for 'exit' and 'exit_group'.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9311 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
calar_exit_group.stderr.exp
79a5cc4e103210f3b7752641a9dc81e49eb287a0 25-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Move memcheck/tests/x86/bug133694 into memcheck/tests/x86-linux -- it uses
MAP_FIXED and so is highly unportable, and doesn't work on x86/Darwin.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9259 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug133694.c
ug133694.stderr.exp
ug133694.stdout.exp
ug133694.vgtest
6ab37c7a35d177b1da1cf5bae4dd8501eee0cd3e 23-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> A few more test/build changes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9228 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
53044577de81d6d2d76d51bc5952c7c8cfedd368 19-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Various build system clean-ups and simplifications:
- Created Makefile.tool-tests.am, put standard AM_CFLAGS et al for tests in
it.
- A number of tests are shared between Helgrind and DRD. They used to be
built in both directories. Now they are only built in helgrind/tests/,
and the DRD .vgtest files just point to the executable in helgrind/tests/.
Most of these (about 30) had the source files in helgrind/tests/; I moved
the three that were in drd/tests/ into helgrind/tests/ for consistency.
- Fixed rwlock_test, which was failing to run due to a wrong name in the
.vgtest file.
- Removed remnants of unused 'hello' test for Memcheck.
- Avoided redundant flag specification in various places, esp.
memcheck/tests/Makefile.am.
- Removed unnecessary _AIX guards in some Linux-only tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9202 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
870f170ccce872764e974b86f55247c0d97dc634 16-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Stack traces for Memcheck's syscall param errors are terribly unreliable, so
I changed it to just filter the entire stack trace out for these errors (both
normal and XML cases). The syscall name is still present in the error
string. This allows a one or more alternative expected output files to be
removed for several tests, which is A Very Good Thing.

Also, I killed filter_test_paths because it was weird and clumsy and the
above change obviated most of its use and the remaining effects could be
achieved in other ways.

Also, I fixed up the scalar* tests a little and they now pass on my machine,
(and hopefully at least some other machines) for the first time ever!


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9178 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
calar.c
calar.h
calar.stderr.exp
calar.stderr.exp2
calar_exit_group.stderr.exp
calar_exit_group.stderr.exp2
calar_supp.stderr.exp
calar_supp.stderr.exp2
calar_supp.supp
e66ffee96759787d71542aef565a67dd0e825b4f 12-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Filter out everything after "(below main)" in a line. This will help with
Darwin, for which such entries can occur within the executable, rather than
within libc.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9142 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.stderr.exp
calar_exit_group.stderr.exp
calar_supp.stderr.exp
6882443ef154bca367bc591287de641e43a9e108 10-Feb-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Cleaned up the mess that was the treatment of "below main" functions such as
'__libc_start_main', in Massif, m_debuginfo and m_stacktrace. As part of
this, --show-below-main is now visible to tools, and Massif pays attention
to it.

Improved the description of --show-below-main=yes in the manual.

Replaced some instances of "__libc_start_main" in the test *.exp files with
"(below main)", which is what will actually be seen. Also updated
scalar.stderr.exp*, which should make it get closer to actually passing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9131 a5019735-40e9-0310-863c-91ae7b9d1cf9
calar.c
calar.stderr.exp
calar.stderr.exp2
calar_supp.stderr.exp
a454ec0c76d086cf026118720a66027d8583cc69 19-Jan-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Create memcheck/tests/x86-linux/ and move some platform-specific tests (the
scalar* ones) into it. Partial merge from DARWIN branch, r8943.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8974 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ilter_stderr
calar.c
calar.h
calar.stderr.exp
calar.stderr.exp2
calar.vgtest
calar_exit_group.c
calar_exit_group.stderr.exp
calar_exit_group.stderr.exp2
calar_exit_group.vgtest
calar_fork.c
calar_fork.stderr.exp
calar_fork.vgtest
calar_supp.c
calar_supp.stderr.exp
calar_supp.stderr.exp2
calar_supp.supp
calar_supp.vgtest
calar_vfork.c
calar_vfork.stderr.exp
calar_vfork.vgtest