Re: [DynInst_API:] Dyninst and Windows

2012-10-05 Thread Bill Williams
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

Re: [DynInst_API:] question about the dyninst tarball packaging

2013-07-30 Thread Bill Williams
and their dependencies. This *shouldn't* have significant side effects on the Dyninst tarball, but it will exclude those things in the main Dyninst git repo that are not part of Dyninst proper. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing

Re: [DynInst_API:] Cross-Platform Binary Analysis

2013-09-24 Thread Bill Williams
, as you note). This could happen for 9.0 but almost certainly not for 8.2. ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu

Re: [DynInst_API:] Cross-Platform Binary Analysis

2013-09-30 Thread Bill Williams
for your help. Stefan From: Bill Williams b...@cs.wisc.edu To: dyninst-api@cs.wisc.edu, Date: 24.09.2013 17:28 Subject: Re: [DynInst_API:] Cross-Platform Binary Analysis Sent by: Dyninst-api dyninst-api-boun...@cs.wisc.edu

Re: [DynInst_API:] Please review coverity-driven fixes

2013-12-16 Thread Bill Williams
if I find anything that needs fixing. Thanks, Josh ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu

Re: [DynInst_API:] rewritten binary returning symbol lookup error.

2014-01-09 Thread Bill Williams
On 01/09/2014 11:16 AM, J. Benton wrote: On 1/9/14, 10:49 AM, Bill Williams wrote: On 01/09/2014 02:55 AM, J. Benton wrote: Hi everyone, I'm wondering if you could help me. Using the examples in the programmer's manual as a guide, I generated a simple snippet, inserting a printf call upon

Re: [DynInst_API:] rewritten binary returning symbol lookup error.

2014-01-09 Thread Bill Williams
On 01/09/2014 11:36 AM, J. Benton wrote: On 1/9/14, 11:20 AM, Bill Williams wrote: On 01/09/2014 11:16 AM, J. Benton wrote: On 1/9/14, 10:49 AM, Bill Williams wrote: On 01/09/2014 02:55 AM, J. Benton wrote: Hi everyone, I'm wondering if you could help me. Using the examples

[DynInst_API:] Paradyn Week

2014-03-17 Thread Bill Williams
(and the associated budget--also important). Further details and calls for presentations will follow as we set the schedule for these workshops. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https

Re: [DynInst_API:] Fwd: Instrumentation of snippet for dynamic target

2014-03-24 Thread Bill Williams
list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Building Dyninst 8.2 on SGI ICE - issue

2014-03-26 Thread Bill Williams
) ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman

Re: [DynInst_API:] Building Dyninst 8.2 on SGI ICE - issue

2014-03-26 Thread Bill Williams
://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] ParseAPI and PE files

2014-04-17 Thread Bill Williams
list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] ParseAPI and PE files

2014-04-17 Thread Bill Williams
On 04/17/2014 11:08 AM, E.Robbins wrote: On 17/04/2014 16:40 PM Bill Williams wrote: Oh. One other thing--if you're trying to analyze PE files on Linux, that's not presently going to work. It might be possible, if you have a Linux system with the necessary Windows headers present and you know

Re: [DynInst_API:] How to use DyninstAPI to get thread/process call stack in case of a signal delivery

2014-04-21 Thread Bill Williams
://www.dyninst.org/sites/default/files/manuals/dyninst/ProcControlAPI.pdf - Ray ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu

Re: [DynInst_API:] How to use DyninstAPI to get thread/process call stack in case of a signal delivery

2014-04-21 Thread Bill Williams
, and adding Dyninst itself would break the existing STAT process control model. Jie -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Call Redirection to a Library Function

2014-04-28 Thread Bill Williams
in advance. Best regards, Sergej ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst

Re: [DynInst_API:] Basic Blocks and Register Access

2014-04-28 Thread Bill Williams
-- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Call Redirection to a Library Function

2014-04-28 Thread Bill Williams
Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Call Redirection to a Library Function

2014-04-29 Thread Bill Williams
' the address spaces between the binary and the libarry to be loaded with help of BPatchAPI? Should still work (that's the point of loadLibrary). Everything that falls under a single BPatch_binaryEdit is fair game to use. Thank you. Best regards, Sergej -- --bw Bill Williams Paradyn Project b

Re: [DynInst_API:] Basic Blocks and Register Access

2014-04-29 Thread Bill Williams
Lam's CRAFT tool - but unfortunately did not find a solution to my issue, yet. Best regards, Sergej -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo

[DynInst_API:] RFC: parseAPI interface change

2014-05-16 Thread Bill Williams
of blocks be the Address-Block* map that currently exists, or a set of Block* (with a bit of cleverness to make map-style lookup work internally). Mostly for paradyn-staff: any preferences as to whether we fake an index on a set or project a map down to look set-like? --bw Bill Williams

Re: [DynInst_API:] [PATCH] dyninstAPI_RT: export more symbols to be found by dyninstAPI

2014-05-21 Thread Bill Williams
identifier*/ +DLLEXPORT dyntid_t dyn_pthread_self();/*Thread library identifier*/ int dyn_lwp_self();/*LWP used by the kernel identifier*/ int dyn_pid_self();/*PID identifier representing the containing process*/ -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu

Re: [DynInst_API:] Correlating VariableLocation with Expression::Ptr

2014-07-15 Thread Bill Williams
local variables, but that's a partial solution to a whole host of problems, and there may be an easier way to get what you want out of Dyninst... Ashay 2014-07-14 11:22 GMT-05:00 Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu: On 07/12/2014 02:16 PM, Ashay Rane wrote

Re: [DynInst_API:] Function parameters inspection with GCC -O2 optimization

2014-07-17 Thread Bill Williams
___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api

Re: [DynInst_API:] Inserting multiple snippets at an insertion point?

2014-07-21 Thread Bill Williams
/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] DynInst Overhead

2014-07-21 Thread Bill Williams
, Buddhika Chamith Kahawitage Don budka...@umail.iu.edu mailto:budka...@umail.iu.edu wrote: Please find the output in attached file. Regards Bud On Mon, Jul 21, 2014 at 3:13 PM, Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu wrote: On 07/21/2014 01:59 PM

Re: [DynInst_API:] DynInst Overhead

2014-07-21 Thread Bill Williams
probability. Build system has moved from autotools to CMake; I think I've spammed the list previously with a HOWTO on that but if I haven't I can do so. --bw Regards Bud Sent from my mobile. On Jul 21, 2014 4:01 PM, Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu wrote: I just

Re: [DynInst_API:] Inserting multiple snippets at an insertion point?

2014-07-21 Thread Bill Williams
or with a cross-platform mutator, or there's some reason other than engineering ones to use edge instrumentation, then obviously, carry on. -Wayne On Mon, July 21, 2014 11:53 am, Bill Williams wrote: On 07/21/2014 11:45 AM, Wayne Motycka wrote: I've been trying to find ways to instrument the edges

Re: [DynInst_API:] DynInst Overhead

2014-07-24 Thread Bill Williams
source. Try clearing out your old install and see if that fixes the build. -Matt -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman

Re: [DynInst_API:] Dyninst binary rewriting and ldd/gdb problem

2014-08-20 Thread Bill Williams
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[DynInst_API:] Release 8.2 source tarballs

2014-08-25 Thread Bill Williams
you at the right place. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[DynInst_API:] upcoming releases and potential API changes

2014-10-07 Thread Bill Williams
not be preserving full interface compatibility if anyone was relying on the behavior of a particular container. Again, objections? If anyone has nominations for other interfaces that should be changed/deprecated/deleted in our next major release, let us know. --bw Bill Williams Paradyn Project b

Re: [DynInst_API:] What level of boost is needed to build Dyninst?

2014-10-16 Thread Bill Williams
@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Error trying to run app on new Dyninst build

2014-10-16 Thread Bill Williams
___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman

Re: [DynInst_API:] Deleting the snippets after reattaching

2014-11-11 Thread Bill Williams
); coutDone for second time.endl; return 0; } Thanks, Shruthi ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu

Re: [DynInst_API:] image::findMain fails for -pie

2014-11-21 Thread Bill Williams
://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Dyninst with Intel compilers on Linux/x86_64

2015-02-02 Thread Bill Williams
no issue instrumenting and controlling icc-built mutatees. Thanks! Mark PS I'm using cmake/2.8.12.2 and boost/1.54.0. ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams

Re: [DynInst_API:] BPatch_binaryEdit openBinary crashing

2015-02-06 Thread Bill Williams
/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Hung process

2015-02-03 Thread Bill Williams
it unnecessary. I can put together a patch for that and send it out to the list for testing and feedback soon; I thought I'd already done that but apparently not. -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list

[DynInst_API:] commit: symtab and parseAPI optimizations now on master

2015-02-05 Thread Bill Williams
a std::string rather than a const char*. This is not an official release, but users who are interested in these optimizations are encouraged to try them out. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api

Re: [DynInst_API:] Do not trace children

2015-01-20 Thread Bill Williams
Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] BPatch_binaryEdit openBinary crashing

2015-02-11 Thread Bill Williams
. Not a small effort but interesting and worthwhile. --bart On 2/6/2015 4:36 PM, Bill Williams wrote: No, and not exactly. Windows binary rewriting is not supported, and is documented as such. If it were to be supported, what you are doing would work quite reasonably

Re: [DynInst_API:] Hung process

2015-02-18 Thread Bill Williams
me whether the above change is a sufficient fix for you. --bw Thanks, Gerard 2015-02-16 18:51 GMT+01:00 Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu: On 02/16/2015 10:35 AM, Gerard wrote: Hi, I'm having another problem. I increased the MAX_THREADS variable

Re: [DynInst_API:] Hung process

2015-02-18 Thread Bill Williams
, and (obviously) remove threads from the dead list when their TID becomes live again. Any problems with this approach that you guys see? -Matt -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu

Re: [DynInst_API:] Hung process

2015-02-18 Thread Bill Williams
On 02/18/2015 01:54 PM, Josh Stone wrote: On 02/18/2015 11:42 AM, Bill Williams wrote: On 02/18/2015 01:37 PM, Gerard wrote: Ah ok, I didn't know that. About how reproducible is the error, I run it three times (without the change you suggested) and every time stopped at around 32000 threads

Re: [DynInst_API:] Measuring Dyninst Dynamic Instrumentation Overhead

2015-02-19 Thread Bill Williams
___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman

Re: [DynInst_API:] PatchFunction blocks() crash

2015-03-12 Thread Bill Williams
::endl; } } ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list

Re: [DynInst_API:] PatchFunction blocks() crash

2015-03-13 Thread Bill Williams
) at /home/tad/Desktop/Dyninst/Dyninst-8.2.1/patchAPI/src/PatchFunction.C:54 #12 0x0804915f in main () On Wed, Mar 11, 2015 at 12:00 PM, Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu wrote: On 03/10/2015 08:26 PM, Donghai wrote: Hi, I use

[DynInst_API:] NEWS: commit mails to start going to dyninst-api

2015-03-25 Thread Bill Williams
long without feedback or a corresponding commit. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] BPatch_binaryEdit openBinary crashing

2015-02-25 Thread Bill Williams
. --bart On 2/6/2015 4:36 PM, Bill Williams wrote: No, and not exactly. Windows binary rewriting is not supported, and is documented as such. If it were to be supported, what you are doing would work quite reasonably. ___ Dyninst-api mailing list Dyninst

Re: [DynInst_API:] BPatch_binaryEdit openBinary crashing

2015-02-25 Thread Bill Williams
be okay to relax that. (Side note: we really ought to add format_elf and format_pe #defines where applicable, mapped appropriately to relevant OSes. If you feel particularly motivated, it's fine to use this as the initial motivating test case.) On 02/25/2015 07:59 PM, Bill Williams wrote

Re: [DynInst_API:] Is there any way to get the mapping information between rewrote function and original function

2015-03-23 Thread Bill Williams
a delimiter at the boundaries between relocated functions, given that we're currently laying them out as non-overlapping. What are you actually trying to do here? 2015-03-17 17:57 GMT+01:00 Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu: On 03/17/2015 11:45 AM, Xi Chen wrote

Re: [DynInst_API:] Tracing from a thread?

2015-06-05 Thread Bill Williams
a new type of AddressSpace for the particular debugger thread/original thread arrangement you wanted. If this is still something you think is worth experimenting with, I can answer questions about the internals. On Jun 2, 2015, at 4:06 PM, Bill Williams b...@cs.wisc.edu wrote: On 06/02/2015 02

Re: [DynInst_API:] Tracing from a thread?

2015-06-02 Thread Bill Williams
. Thanks Tony ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list

[DynInst_API:] commit: fix for version macros

2015-08-21 Thread Bill Williams
/h. This ensures that there's an authoritative source of DYNINST_MAJOR_VERSION etc in builds that use Dyninst. -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman

[DynInst_API:] commit: v9.0.1

2015-08-21 Thread Bill Williams
that nobody reports this one as horribly broken. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] A question about dynInst's static instrumentation ability

2015-08-24 Thread Bill Williams
/dyninst-api ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing

Re: [DynInst_API:] A question about dynInst's static instrumentation ability

2015-08-24 Thread Bill Williams
, Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu wrote: On 08/23/2015 12:22 AM, Shuai Wang wrote: Hello Xiaozhu, Thank you a lot for your response. I double-checked the gdb output, and I suppose only one piece of instrumentation code is indeed executed

[DynInst_API:] commit: word-based doc fixes

2015-08-20 Thread Bill Williams
Final cleanup of the word-based docs for 9.0. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[DynInst_API:] commit: my final bugfixes and cleanup for 9.0

2015-08-20 Thread Bill Williams
. --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] [SymtabAPI] Question regarding object files

2015-06-30 Thread Bill Williams
Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] [SymtabAPI] Question regarding object files

2015-06-30 Thread Bill Williams
, ask and I can probably point you in the right direction. Thank you again, Tony and Srihari. On Jun 30, 2015, at 12:14 PM, Bill Williams b...@cs.wisc.edu mailto:b...@cs.wisc.edu wrote: Somewhat more precisely, on disk = object file; in memory = already mmapped for whatever reason

Re: [DynInst_API:] [PATCH 2/2] common: try process_vm_readv/writev for Linux bulk access

2015-07-31 Thread Bill Williams
, unsigned size, const void *inSelf, int pid); -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] [PATCH 1/2] common: rewrite caching in Linux P_cplus_demangle()

2015-07-31 Thread Bill Williams
); + return demangled; } /* end P_cplus_demangle() */ -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] PATCH: have SymtabAPI properly use ELF contents to set architecture

2015-07-28 Thread Bill Williams
11.666840 libmpi.so.12.0 0.14 0.048424 libc-2.14.90.so 0.03 0.010377 libmpifort.so.12.0 0.01 0.003459 pcsamp-rt-offline.so openss openssquit On 07/28/2015 11:40 AM, Bill Williams wrote: On 07/28/2015 11:31 AM, Jim Galarowicz wrote: Hi Bill, I've

[DynInst_API:] commit: applying two external patches

2015-07-28 Thread Bill Williams
From Rashawn Knapp at Intel: Enable building Dyninst with ICC From John Mellor-Crummey at Rice: Fix a fencepost error in SymtabAPI's DWARF parsing --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api

[DynInst_API:] commit: integrated build system for documentation

2015-08-13 Thread Bill Williams
on the system. The install target will install any manuals that exist to the doc-install directory (by default, $CMAKE_INSTALL_PREFIX/doc). Please consider the docs repository deprecated as of this commit. Is there a desire for a configuration option that will add the docs to all? --bw Bill

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
On 07/27/2015 11:41 AM, Ioannis Konstadelias wrote: Sorry, My bad. I should've tell you. I've also tried includeUninstrumentable = true but the results were the same. That seems fishy. Mind sending me the mutatee binary? On 27/07/2015 07:01 μμ, Bill Williams wrote: On 07/25/2015 11:44 AM

Re: [DynInst_API:] Cannot find function

2015-07-27 Thread Bill Williams
for me, as expected. On 07/27/2015 11:57 AM, Ioannis Konstadelias wrote: Here it is. On 27/07/2015 07:53 μμ, Bill Williams wrote: On 07/27/2015 11:41 AM, Ioannis Konstadelias wrote: Sorry, My bad. I should've tell you. I've also tried includeUninstrumentable = true but the results were the same

Re: [DynInst_API:] Dyninst was unable to load the dyninst runtime library into the application

2015-07-13 Thread Bill Williams
? Thanks. Regards, Harsha ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst

Re: [DynInst_API:] Dyninst 9.0 release!

2015-08-24 Thread Bill Williams
/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Dyninst 9.0 release!

2015-08-24 Thread Bill Williams
On 08/24/2015 02:42 PM, Bill Williams wrote: And it's up at paradyn.org and git.dyninst.org; dyninst.org web site to follow soon. And dyninst.org should be up to date on point releases as well. Enjoy, folks. On 08/24/2015 02:26 PM, Bill Williams wrote: In a little bit, 9.0.2 will be live

[DynInst_API:] commit: v9.0.x and v9.1.x branches

2015-10-22 Thread Bill Williams
Reorganized Monday's commits into 9.0.x (everything but the module changes) and 9.1.x (module changes only, thus far) branches. They'll both get merged back to master post-releases. --bw ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu

Re: [DynInst_API:] commit: v9.0.x and v9.1.x branches

2015-10-22 Thread Bill Williams
On 10/22/2015 03:21 PM, Josh Stone wrote: On 10/22/2015 11:58 AM, Bill Williams wrote: Reorganized Monday's commits into 9.0.x (everything but the module changes) and 9.1.x (module changes only, thus far) branches. They'll both get merged back to master post-releases. Better, thanks! There's

Re: [DynInst_API:] Inserting x86 traps before points of interest

2015-10-26 Thread Bill Williams
hAPI solution is more difficult but quite robust. --bw Thoughts? Yasser On Mon, Oct 26, 2015 at 1:25 PM, Bill Williams <b...@cs.wisc.edu> wrote: On 10/26/2015 01:11 PM, Yasser Shalabi wrote: I need int3 to trigger the hypervisor. I am running in virtualized settings. I want to st

Re: [DynInst_API:] Inserting x86 traps before points of interest

2015-10-26 Thread Bill Williams
On 10/26/2015 10:33 AM, Yasser Shalabi wrote: I want to insert int3 before points of interest.I have collected these points using Dyninst. Any pointers on which parts of the API to instrument these points with int3 instructions? A BPatch_breakpointExpr should do the trick. Thanks! Yasser

Re: [DynInst_API:] Inserting x86 traps before points of interest

2015-10-26 Thread Bill Williams
, 2015, 1:07 PM Bill Williams <b...@cs.wisc.edu <mailto:b...@cs.wisc.edu>> wrote: On 10/26/2015 01:00 PM, Yasser Shalabi wrote: > Thanks for the quick reply bill! > > When I try: > > app->insertSnippet(BPatch_breakPointExpr

Re: [DynInst_API:] commit: assorted fixes, pre-9.0.4

2015-10-20 Thread Bill Williams
officially released ASAP (this week/early next). I think it's probably best to pull this out of 9.0.4 and get both a 9.0 and 9.1 topic branch going. --bw --bart On 10/19/2015 6:22 PM, Josh Stone wrote: On 10/19/2015 02:43 PM, Bill Williams wrote: * Shared libraries are now consistent

Re: [DynInst_API:] InstructionAPI segfault on archive files

2015-07-08 Thread Bill Williams
Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api -- --bw Bill Williams Paradyn Project b...@cs.wisc.edu ___ Dyninst-api mailing list Dyninst-api@cs.wisc.edu https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Re: [DynInst_API:] Deleting snippets

2015-11-18 Thread Bill Williams
This should actually be safe. Deleting a snippet will create another copy of the function without the deleted snippet and redirect all springboards there, and the same safety guarantees that hold for insertion in general should hold here. If you want to be a) paranoid, and b) more efficient

Re: [DynInst_API:] lsymLite error?

2015-09-14 Thread Bill Williams
On 09/14/2015 05:09 PM, Robert Lim wrote: Hello, I am trying to compile DynInst 9.0.3 and use the ParseAPI utility. When I run the example code on page 3 of the ParseAPI manual, I get the following error: /usr/bin/ld: cannot find -lsymLite When compiling DynInst, I am using the following

Re: [DynInst_API:] Modules within shared libraries

2015-09-16 Thread Bill Williams
On 09/15/2015 07:35 PM, Rogers, Kelly K wrote: Hello, I’ve been working with the dyninst code, and am wanting to display the module names that are contained in a shared library. Currently, on a running process I can use getModules() to get all the modules, some being actual files, and some

Re: [DynInst_API:] Examples for constructing instrumentation code snippets

2015-09-28 Thread Bill Williams
On 09/25/2015 08:03 PM, Mohamed Elsabagh wrote: Was this question ever answered? Would you please share/repost the answer, if any? In addition, is there a way to use an InstructionAPI::Expression in a BPatch_snippet without manually building the snippet(s) from the expression? I think I

Re: [DynInst_API:] Incorrect recognized basic blocks

2015-10-01 Thread Bill Williams
On 10/01/2015 08:51 AM, chenping wrote: Hello, Dyninst developers I am using Dyninst to statically instrument the binary. Our work heavily depends on the correctness of the basic block recognization. So I would like to guarantee/know if there is any basic block cannot be correctly

Re: [DynInst_API:] Not getting sources lines question: getSourceLines API

2015-10-01 Thread Bill Williams
On 10/01/2015 01:38 PM, Jim Galarowicz wrote: Hi all, I'm still not able to get source line information for use with the new Dyninst 9.0.x loop interface change for finding the head node of the loop in order to give the users the start line number for the loop. That simple dyninst interface

Re: [DynInst_API:] Not getting sources lines question: getSourceLines API

2015-10-01 Thread Bill Williams
Jim, one orthogonal follow-up question: Is there a reason you're going image->module and then iterating over all modules, rather than asking all of these questions at the image level? And if you do that, does that fix the line information problem? Rough pseudocode, omitting a ton of variable

Re: [DynInst_API:] Some documentation patches + code sample

2015-09-23 Thread Bill Williams
On 09/22/2015 05:46 PM, Alin Mîndroc wrote: Hi, No problem, a comment specifying the license placed at the beginning of the code would be enough? License and that it's copyrighted by you, 2015 in a comment is sufficient. Alin On Sep 21, 2015 6:04 PM, "Bill Williams" <b..

Re: [DynInst_API:] Dyninst not found when building Test Suite

2015-09-24 Thread Bill Williams
I've recently encountered this myself and have simply been behind on pushing a fix. I'm not entirely sure how things were working correctly before, but the following should work: diff --git a/cmake/DyninstConfig.cmake.in b/cmake/DyninstConfig.cmake.in index 2b93557..7578e46 100644 ---

Re: [DynInst_API:] Dyninst 8.2.1 fails to build on Titan

2015-09-25 Thread Bill Williams
On 09/25/2015 02:05 PM, Jim Galarowicz wrote: Hi Dyninst team, I tried building Dyninst-8.2.1, this time on a SNL Cray platform and I got similar errors to what I was seeing on the ORNL Cray back in Dec 2014. That issue is still unresolved. So, I tried Dyninst-9.0.0 on the SNL Cray

Re: [DynInst_API:] Some documentation patches + code sample

2015-09-21 Thread Bill Williams
Alin-- Thanks much for the patches. I'll work out where to drop the example in and let you know. Do you mind adding license/copyright info to your code sample? (Anything that allows us to distribute it with the manual should be fine.) --bw On 09/20/2015 07:11 AM, Alin Mîndroc wrote: Hi

Re: [DynInst_API:] BPatch_dynamicTargetExpr on return statements

2015-10-05 Thread Bill Williams
On 10/05/2015 05:09 AM, Marc Brünink wrote: Dear Allison, thanks for the patch. Took me a while to actually test it properly. There are no issues with simple functions. However, recursive calls are problematic. void function_end(int n) { if (n > 0) function_end(n-1); } void

[DynInst_API:] commit: further 9.1 fixes

2015-12-08 Thread Bill Williams
Fixes for the following: * Instruction decoding bugs revealed by the test suite * dwarf_attr memory leak * improper handling of malformed DWARF: high_pc can return an error even when it's supposedly present, and the associated Dwarf_Error needs to be freed * Windows-specific misuse of

Re: [DynInst_API:] commit: further 9.1 fixes

2015-12-08 Thread Bill Williams
On 12/08/2015 02:16 PM, Xiaozhu Meng wrote: On Tue, Dec 8, 2015 at 1:26 PM, Bill Williams <b...@cs.wisc.edu <mailto:b...@cs.wisc.edu>> wrote: On 12/08/2015 12:47 PM, Barton Miller wrote: How often are these indirect vs. direct? Does it ever happen that the ind

Re: [DynInst_API:] Windows Binary Rewriting Support?

2015-12-03 Thread Bill Williams
On 12/03/2015 09:05 AM, Manoj Kumar wrote: Hello, Currently, Windows binary rewriting is not supported with Dyninst 9.x release. Can we expect the support by Jan/Feb 2016 or will it be delayed further. The current blocking issue with Windows binary rewriting support is that the best version

Re: [DynInst_API:] Abort on Xeon hosted dyninst running through Intel MIC application

2015-12-03 Thread Bill Williams
On 12/02/2015 10:16 PM, Jim Galarowicz wrote: Hi Bill, team, I was trying to run OpenSpeedShop using Dyninst 9.0.3 (top of tree) on babbage (NERSC Intel MIC testbed) and got the core dump and traceback while OSS attempted to find the loops in the application. I can send more details. Maybe

Re: [DynInst_API:] commit: further 9.1 fixes

2015-12-10 Thread Bill Williams
On 12/09/2015 08:58 PM, Josh Stone wrote: On 12/08/2015 09:14 AM, Bill Williams wrote: in the absence of any further showstoppers, this will become 9.1.0. I'm still hoping dynamic library callbacks will change from modules to objects, now that there can be many modules per dynamic library. I

[DynInst_API:] commit: further 9.1.x fixes

2015-12-14 Thread Bill Williams
Cleaned up a few things reported by Josh Stone: * Version #defines in stackwalker and dyninst headers updated for 9.1 * Compile warnings fixed * BPatch_object::findFunction correctly reports failure/error if the function is not found in the BPatch_object, not for each module that doesn't

Re: [DynInst_API:] Use DynInst to replace a branch with a NOP?

2016-01-06 Thread Bill Williams
On 01/06/2016 07:38 AM, Jonas Wagner wrote: Hello, I’d like to dynamically modify a binary and change branches to NOPs and back. I wondered whether DynInst (in particular PatchAPI) would be a suitable tool for this. What do you think? Here’s what I’d like to do in more detail: I have a

Re: [DynInst_API:] Function Entry Point Recognition in Stripped Binaries

2016-01-06 Thread Bill Williams
On 01/06/2016 10:43 AM, Shuai Wang wrote: Dear list, I am writing to ask how to use DynInst to recognize *function entry points (memory addresses) in stripped binaries*. I successfully installed the 32-bit DynInst 9.10, and I use a DynInst script to iterate all the functions with the

  1   2   3   4   >