[DynInst_API:] Dyninst is taking 35 seconds to attach to Firefox


Date: Mon, 7 Jul 2014 17:44:04 -0400
From: Francis Deslauriers <francis.deslauriers@xxxxxxxxxxxx>
Subject: [DynInst_API:] Dyninst is taking 35 seconds to attach to Firefox
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.

Thank you,

Francis
[← Prev in Thread] Current Thread [Next in Thread→]