b3a1e4bffbdbbf38304f216af405009868f43628 |
|
21-Aug-2015 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates, to include 2015. No functional change. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
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
/external/valgrind/include/pub_tool_libcfile.h
|
a175ffb9ffa4fd250611582a611333d11c835de2 |
|
14-Oct-2014 |
florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merge revisions 14210 and 14626 from the BUF_REMOVAL branch to trunk. Change VG_(resolve_filename) to not truncate the result which is returned in a static buffer now. Fix callsites. Simplify VG_(di_notify_pdb_debuginfo) to use VG_(resolve_filename). Fix VG_(readlink) prototype. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14628 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
29d82f6e5ff3af28950ef6071d231b9633f82a49 |
|
27-Sep-2014 |
florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merge 14206,14207,14261,14577,14578 from BUF_REMOVAL branch to trunk. This changes VG_(record_startup_wd) to dynamically allocate a large enough buffer for the directory name. As the dynamic memory manager has started up a while ago, this is quite safe. Also rewrite VG_(get_startup_wd) to simply return the directory name. No more messing with copying it around. Adapt call sites. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14579 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
b69cd964e10e03cf8997f3828b08b3e9c466b78b |
|
02-Sep-2014 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
VG_(getdents64) is only needed on Linux, and causes build problems on Darwin, so make it exist only on Linux. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14421 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
495c6563114d60a67caa5824a03dc4892cc86adb |
|
29-Aug-2014 |
mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Use getdents64 syscall on linux. getdents has been deprecated since linux 2.4 and newer arches (arm64) might no longer provide the getdents syscall. Use getdents64 for reading the /proc/self/fd/ dir so --track-fds=yes works reliable on all arches. Without this the none/tests/fdleak*vgtest might fail. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14384 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
4254584008012b975d47540812612f297ed68d0a |
|
05-Dec-2013 |
philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Minor tweak in the VG_(poll) syscall and callers: have a way to show the error in case the poll syscall unexpectedly fails. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13748 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
0f157ddb404bcde7815a1c5bf2d7e41c114f3d73 |
|
18-Oct-2013 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates (20XY-2012 ==> 20XY-2013) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13658 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
535fb1b49a80f2e880f755ee618381de3e222ddf |
|
15-Sep-2013 |
florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Fix coregrind header files such that they can be included without having to worry what other header files may have to be included beforehand. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13549 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
6bd9dc18c043927c1196caba20a327238a179c42 |
|
23-Nov-2012 |
florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Changes to allow compilation with -Wwrite-strings. That compiler option is not used for testcases, just for valgrind proper. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13137 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
19f91bbaedb4caef8a60ce94b0f507193cc0bc10 |
|
10-Nov-2012 |
florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Fix more Char/HChar mixups. Closing in... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13119 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
03f8d3fc25f5a45c5826259d1b33b7f310117279 |
|
05-Aug-2012 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates to include 2012. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
ec062e8d96a361af9905b5447027819dfbfee01a |
|
23-Oct-2011 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update all copyright dates, from 20xy-2010 to 20xy-2011. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12206 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
d585c923139af976486dd8291f7868fe5a26510e |
|
17-Oct-2011 |
weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Fix callgrind part of bug 280757. For this, we make VG_(tmpdir) available to tools. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12163 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
c17c6eface247fd7ac318bfaebe291ca5b9a61af |
|
13-Jul-2011 |
tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Allow core dumps on 32 bit architectures to go over 2Gb in size. BZ#277610. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11893 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
3b290486cd4cd601b20e04340e593c9ed9717e5f |
|
06-May-2011 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Implement a GDB server in Valgrind. See #214909. (Philippe Waroquiers, philippe.waroquiers@skynet.be) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11727 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9eecbbb9a9cbbd30b903c09a9e04d8efc20bda33 |
|
03-May-2010 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates to 2010. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
f76d27a697a7b0bf3b84490baf60623fc96a23af |
|
28-May-2009 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merge the DARWIN branch onto the trunk. I tried using 'svn merge' to do the merge but it did a terrible job and there were bazillions of conflicts. So instead I just took the diff between the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed the added files (no files needed to be 'svn remove'd) and committed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
63e5e6e0b018efe4194daf8f6a8d43ceaa36933b |
|
20-May-2009 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
DARWIN sync: add some 'const' attributes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10022 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9c20ece00e07304f66da5f43b87ec45bc9c04550 |
|
20-May-2009 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merge r9993, r9995 (comment changes about vg_stat) from the DARWIN branch, and rename all the vg_stat fields to avoid problems that the old names cause on Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9996 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
cda2f0fbda4c4b2644babc830244be8aed95de1d |
|
18-May-2009 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merged non-Darwin-specific parts of r9397,r9423,r9490, 9461, 9462 from the DARWIN branch. A big ugly DARWIN/trunk sync commit, mostly to do with changing the representation of SysRes and vki_sigset_t. Functionality of the trunk shouldn't be changed by it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9876 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9f207460d70d38c46c9e81996a3dcdf90961c6db |
|
10-Mar-2009 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Updated copyright years. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
fad9837bc7439202a0f1db8d640f0b5990f6ae19 |
|
12-Oct-2008 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Patch from Robert O'Callahan: create and expose 'dup2' git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8667 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
ec61b6509566cf36ab3968d69226cecf177cb0fe |
|
19-Aug-2008 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Presently, Valgrind (non-client) code that wants to use the stat family of syscalls is impossible to write in a way that's portable and correct. On some targets (eg x86-linux) you need to do sys_stat64 and receive the results in a 'struct vki_stat64'. But on other targets (eg amd64-linux) neither sys_stat64 nor 'struct vki_stat64' exist. This commit adds a new type, 'struct vg_stat', which contains 64 bit fields in all the right places, and makes VG_(stat) and VG_(fstat) use it. This means callers to the two functions no longer need to worry about the is-it-64-bit-clean-or-not question, since these routines reformat the received data into a'struct vg_stat'. Kind of like what glibc must have been doing for decades. This (indirectly) fixes a bug on x86-linux, in which m_debuginfo would sometimes fail to read debug info, due to VG_(di_notify_mmap) using VG_(stat) (hence sys_stat) on the file, which failed, and when in fact it should have used sys_stat64. Bug reported and tracked down by Marc-Oliver Straub. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8522 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
4d474d086188fd1f29fa97dbd84d8ea2e589a9b8 |
|
11-Feb-2008 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates ("200X-2007" --> "200X-2008"). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7398 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
1231cc7870a694664d07d3e645d8905dd1a49bbb |
|
17-Sep-2007 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
remove dead declaration git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6838 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
198f34fa929569172d863f9c33f9686855ca975a |
|
10-Jul-2007 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Get rid of VG_(getcwd) and replace it with a pair of functions, VG_(record_startup_wd) which records the working directory at startup, and VG_(get_startup_wd) which later tells you what value was recorded. This works because all uses of VG_(getcwd) serve only to record the directory at process start anyway. The motivation is that AIX does not support sys_getcwd directly, so it's easier for the launcher to ship in the required value using an environment variable. On Linux sys_getcwd is used as before. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6764 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9ebd6e0c607fa30301b1325874eb8de871c21cc5 |
|
08-Jan-2007 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6488 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9a66bb9368586daff5dea0c37d7be02185c1edf2 |
|
17-Oct-2006 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Merge r6130: - AIX implementations of various stuff, nothing surprising. - For all platforms: make VG_(read) and VG_(write) return (negative) actual error values rather than producing -1 for all failures. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6267 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
e4b0bf07b0ee0a18eacc5aba91686ab5fc1d327b |
|
06-Jun-2006 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Update copyright dates. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5954 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
45f4e7c91119c7d01a59f5e827c67841632c9314 |
|
27-Sep-2005 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
This commit merges in changes from branches/ASPACEM (specifically, changes from r4341 through r4787 inclusive). That branch is now dead. Please do not commit anything else to it. For the most part the merge was not troublesome. The main areas of uncertainty are: - build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am and include it in a couple of places. Building etc seems to still work, but I haven't tried building the documentation. - syscall wrappers: Following analysis by Greg & Nick, a whole lot of stuff was moved from -generic to -linux after the branch was created. I think that is satisfactorily glued back together now. - Regtests: although this appears to work, no .out files appear, which is strange, and makes it hard to diagnose regtest failures. In particular memcheck/tests/x86/scalar.stderr.exp remains in a conflicted state. - amd64 is broken (slightly), and ppc32 will be unbuildable. I'll attend to the former shortly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4789 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
6c93c4f72b8abaf910023006ddd9adbaf3f106de |
|
05-Aug-2005 |
tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
If the pre-handler for the execve system call fails to state the file being executed then propagate the error from the stat instead of just return ENOACCES all the time. Fixes bug #110208. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4330 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
b807de14f1c6b9b5e339aa6b89db4b56377b08f7 |
|
27-Jul-2005 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Removed dead declaration. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4284 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
9264559eba4aa5d397a278b4e1a50c03de30693f |
|
23-Jul-2005 |
sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
A commit which is almost all trivial change. - m_main: if --log-file-qualifier applies, do not add ".pid" at the end of the name - Fix the logic which detected whether the just-devised name already existed. This was broken (by me) because it could not distinguish the reasons for failing to open the logfile. Doing this required changing the return type of VG_(open) from Int to SysRes (to make failure reasons visible) and that's the cause of most of the changes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4228 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
57ca7abfcefb38c62a60fb41aa91227303dd2db6 |
|
22-Jun-2005 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Remove VG_(getcwd_alloc)(), which can be done otherwise pretty easily. This halves m_libcfile's dependence on m_mallocfree. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3995 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|
eb8896b58301a0a7a34281384d705072994369f0 |
|
04-Jun-2005 |
njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> |
Modularised file and socket libc stuff in m_libcfile. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3844 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/include/pub_tool_libcfile.h
|