git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-diff-tree rename detection bug

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Sep 15, 2005, 14:49 UTC
Message-ID
<200509151649.47159.Josef.Weidendorfer@gmx.de>
In-Reply-To
<17192.65054.520959.454610@cargo.ozlabs.ibm.com>
On Thursday 15 September 2005 06:52, Paul Mackerras wrote:
Show 5 quoted lines
> Valgrind sets LD_PRELOAD so that you get a simple Valgrind-supplied
> set of string functions, including strlen, from vgpreload_memcheck.so
> rather than the fancy glibc ones.  However, that doesn't seem to catch
> the calls to strlen from inside glibc - the call from vfprintf is a
> direct branch rather than going through the PLT, for instance.

Just curious: Why is it using LD_PRELOAD and not the VGs symbol redirection mechanism, which should catch strlen even if used inside of glibc?

Josef
Previous: Junio C HamanoNext: Paul Mackerras
Message 11 of 23 in “git-diff-tree rename detection bug”
  1. Wayne ScottSep 14, 2005
  2. Junio C HamanoSep 14, 2005
  3. Wayne ScottSep 14, 2005
  4. Linus TorvaldsSep 14, 2005
  5. Fix alloc_filespec() initializationLinus Torvalds, Sep 14, 2005
  6. Paul MackerrasSep 15, 2005
  7. Paul MackerrasSep 15, 2005
  8. Linus TorvaldsSep 15, 2005
  9. Paul MackerrasSep 15, 2005
  10. Junio C HamanoSep 15, 2005
  11. Josef WeidendorferSep 15, 2005
  12. Paul MackerrasSep 20, 2005
  13. Linus TorvaldsSep 15, 2005
  14. Junio C HamanoSep 16, 2005
  15. H. Peter AnvinSep 15, 2005
  16. Junio C HamanoSep 15, 2005
  17. Linus TorvaldsSep 15, 2005
  18. Matthias UrlichsSep 16, 2005
  19. Nicolas PitreSep 15, 2005
  20. Junio C HamanoSep 14, 2005
  21. Junio C HamanoSep 14, 2005
  22. Linus TorvaldsSep 14, 2005
  23. Junio C HamanoSep 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.