Re: [DynInst_API:] Dyninst and Windows


Date: Fri, 05 Oct 2012 17:20:26 -0500
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] Dyninst and Windows
On 10/05/2012 05:14 PM, Pansy Arafa wrote:
Thanks for your reply Bill.
In the Readme.txt it's mentioned "This is the version 7.0 release of the DyninstAPI.  Currently, the
Dyninst API library is available for ..., x86/WindowsXP/2000/2003, ...", so does it mean Dyninst is not compatible with Windows 7 (32-bits) yet?

Dyninst 7/Windows 7 is untested AFAIK and...might work. Dyninst 8 (which is coming soon) does work on 32-bit Windows 7.

What sort of tool do you have in mind?
Variable tracing tool

On 2012-10-05, at 5:14 PM, Bill Williams wrote:

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
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Pansy




_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

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