Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Fewer mallocs is better, episode #47
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Timothe Litt <litt_at_acm.org>
Date: Thu, 3 Feb 2022 20:35:13 -0500
On 03-Feb-22 20:09, Henrik Holst via curl-library wrote:
> the traces only shows that strlen was called, not on which string it
> was called so the digging is a bit time consuming).
Doesn't have to be too painful; automate:
Set on-the-fly breakpoints where strlen is called, and display the
arguments.
e.g. with gdb
break <loc>
commands
silent
backtrace 1
print string
cont
end
Similar capabilities are in other debuggers.
Received on 2022-02-04
Date: Thu, 3 Feb 2022 20:35:13 -0500
On 03-Feb-22 20:09, Henrik Holst via curl-library wrote:
> the traces only shows that strlen was called, not on which string it
> was called so the digging is a bit time consuming).
Doesn't have to be too painful; automate:
Set on-the-fly breakpoints where strlen is called, and display the
arguments.
e.g. with gdb
break <loc>
commands
silent
backtrace 1
print string
cont
end
Similar capabilities are in other debuggers.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: OpenPGP digital signature