I'd like to automate the following in my
break boost::uuids::detail::sha1::process_bytes # When execution stops at the above breakpoint, # I want to display the contents of `rcx` as a string: x/s $rcx c # do not stop here
How do I automate this?
UPDATE: Here's a better
# Our custom-built libcurl, with debugging symbols enabled: set environment LD_PRELOAD=./curl/curl-7.34.0/lib/.libs/libcurl.so # File that connects to the evil server: file ./evil # Make sure we get notified when it connects! break curl_easy_setopt commands $bpnum clear curl_easy_setopt # to avoid recursion call curl_easy_setopt(curl, CURLOPT_VERBOSE) continue end
This hooks in to the evil binary, and when it initialises its curl handle, we set set it to verbose so we get lots of output about what's going on.
Thanks for the answer.