On 07/07/2014 04:44 PM, Francis Deslauriers wrote:
Hi folks,
I tried to attach a Firefox process and it took Dyninst ~35 seconds.
My mutator program forks and the child process exec firefox with the
-h argument.
Here is a pastebin where I used the time command and DYNINST_DEBUG_STARTUP=1 :
http://pastebin.com/Tx5NhqpR
Here is the code i used: http://pastebin.com/rVikLb6m
Makefile : http://pastebin.com/3rvgFUWi
Am i using Dyninst the wrong way? Is there something I can do to speed
up the attaching? Maybe Firefox debug symbols are just too huge.
Firefox does have a large number of shared libraries with a large
quantity of debug information, if memory serves, and your mutator looks
fine. We will not attach *quickly* but 35 seconds seems rather extreme.
Are you working with the pre-8.2 tree? Did you configure Dyninst with
RelWithDebInfo or Release mode? That sounds a lot like an unoptimized
Dyninst build to me.
Thank you,
Francis
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
--
--bw
Bill Williams
Paradyn Project
bill@xxxxxxxxxxx
|