Re: [DynInst_API:] writeFile fails


Date: Fri, 12 Jun 2015 16:20:34 -0500
From: Xiaozhu Meng <mxz297@xxxxxxxxx>
Subject: Re: [DynInst_API:] writeFile fails
On Fri, Jun 12, 2015 at 11:34 AM, Essa Alkuwari <qnix@xxxxxxxx> wrote:
>
> I'm trying to deal with static linked binaries. I openBinary then insert
> some snippets in a function. Everything looks fine until I try to writeFile
> which takes me to here :
> http://git.dyninst.org/?p=dyninst.git;a=blob;f=dyninstAPI/src/binaryEdit.C;hb=bdb57c065ab3dea3a850c93d3709c24391cde569#l518
>

Dyninst performs a few checks before rewriting a static linked binary.
It looks like one or some of the checks failed. Do you see any other
error messages printed? Dyninst should output extra error messages to
help identify which check failed.

>
> unrelated problem : dataFlowAPI/src/slicing.C:733 errors on g++ 5.1.0 with
> boost 1.58.0
>
>
> --
> qnix
> 0xb70aef71 pgp.mit.edu
>
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
>
[← Prev in Thread] Current Thread [Next in Thread→]