Re: [DynInst_API:] Dyninst and Windows


Date: Fri, 05 Oct 2012 16:14:15 -0500
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] Dyninst and Windows
On 10/05/2012 03:42 PM, Pansy Arafa wrote:
Hi,

Is Dyninst compatible with Windows 64-bits?

Thanks,
Pansy

At present, no(*). In the future, it may become so if there is sufficient demand.

The bulk of the pieces are there for such a port. Stuff that would need to happen, off the top of my head:

* create new project files that set all of the (compiler and Dyninst) x86_64 flags (arch_x86_64) * fix up any of the obvious corner cases where we use combined architecture/OS #defines or we assume that x86_64 == linux * fix up the various Windows system-level interfaces where we assume 32-bit (ProcControl, Symtab, and address translation are the three that first spring to mind) * (optional) fix any linux-isms in our 32-bit mutatee/64-bit mutator support (and provide Windows equivalents where needed); if you're willing to not mix address widths between tool and target, this can be skipped * debug the remaining annoying problems that inevitably result from porting dyninst to what is (functionally) a new OS and set of standard libraries

What sort of tool do you have in mind?

(*) Dyninst does work fine for 32-bit applications on a 64-bit Windows installation.

--bw

Bill Williams
Paradyn Project
bill@xxxxxxxxxxx
[← Prev in Thread] Current Thread [Next in Thread→]