dyninst.git
7 years ago* Fix unhandled 8-byte offsets in handleAddSub. Shouldn't happen in current instructi...
Bill Williams [Thu, 14 Mar 2013 18:29:28 +0000 (13:29 -0500)]
* Fix unhandled 8-byte offsets in handleAddSub. Shouldn't happen in current instruction sets but now is future-proof.
* Use proper types for convert().
* Clean up debug print in debug stepper.

7 years agoRemove #ifdefs for cap_liveness, cap_dynamic_heap, and cap_threads, all of which...
Bill Williams [Wed, 6 Mar 2013 20:17:38 +0000 (14:17 -0600)]
Remove #ifdefs for cap_liveness, cap_dynamic_heap, and cap_threads, all of which should universally be true and required for new ports.

7 years agoUpdate version strings to 8.1.1; retire DepGraphAPI
Andrew Bernat [Thu, 14 Mar 2013 19:06:17 +0000 (14:06 -0500)]
Update version strings to 8.1.1; retire DepGraphAPI

7 years agoAdd support for indirect relocations in static binary rewriting
Andrew Bernat [Thu, 14 Mar 2013 18:20:53 +0000 (13:20 -0500)]
Add support for indirect relocations in static binary rewriting

7 years agoRemove unnecessary dwarf debugging output
Andrew Bernat [Thu, 14 Mar 2013 18:20:08 +0000 (13:20 -0500)]
Remove unnecessary dwarf debugging output

7 years agoA missing symbol in static rewriting is an error case, not a silent skip case. Fixed.
bernat_tau [Fri, 8 Mar 2013 23:00:44 +0000 (15:00 -0800)]
A missing symbol in static rewriting is an error case, not a silent skip case. Fixed.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
bernat_tau [Fri, 8 Mar 2013 22:08:24 +0000 (14:08 -0800)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoFix instrumenting x86 conditional exits
bernat_tau [Fri, 8 Mar 2013 22:01:11 +0000 (14:01 -0800)]
Fix instrumenting x86 conditional exits

7 years agoFix weak symbol bug in static rewriting
Andrew Bernat [Thu, 7 Mar 2013 17:50:42 +0000 (11:50 -0600)]
Fix weak symbol bug in static rewriting

7 years agoRemove asserts that dwarf information is available; sometimes it just isn't.
Andrew Bernat [Wed, 6 Mar 2013 22:53:56 +0000 (16:53 -0600)]
Remove asserts that dwarf information is available; sometimes it just isn't.

7 years agoElf_X fix: caching would lead to using the information for the wrong file if we had...
Andrew Bernat [Wed, 6 Mar 2013 22:41:21 +0000 (16:41 -0600)]
Elf_X fix: caching would lead to using the information for the wrong file if we had duplicate names (e.g., two archives with identically-named .o files)

7 years agoRemove auto-copy of documentation; the docs directory should be specified if at all.
Andrew Bernat [Wed, 6 Mar 2013 15:16:03 +0000 (09:16 -0600)]
Remove auto-copy of documentation; the docs directory should be specified if at all.

7 years agoThere is no summary of type compatibility rules; removed misleading prose.
Andrew Bernat [Wed, 6 Mar 2013 15:13:44 +0000 (09:13 -0600)]
There is no summary of type compatibility rules; removed misleading prose.

7 years agoModify Manual Makefile to copy *.pdf to docs.git
Zuyu Zhang [Wed, 6 Mar 2013 02:41:01 +0000 (20:41 -0600)]
Modify Manual Makefile to copy *.pdf to docs.git

7 years agoSymtabAPI manual updates; Add .gitignore under stackWalkAPI/doc
Zuyu Zhang [Wed, 6 Mar 2013 02:11:16 +0000 (20:11 -0600)]
SymtabAPI manual updates; Add .gitignore under stackWalkAPI/doc

7 years agoFix typo for ParseAPI manual
Zuyu Zhang [Tue, 5 Mar 2013 21:07:02 +0000 (15:07 -0600)]
Fix typo for ParseAPI manual

7 years agoFixed typo in GCC version test
Andrew Bernat [Tue, 5 Mar 2013 03:39:47 +0000 (21:39 -0600)]
Fixed typo in GCC version test

7 years agoFoozle
Andrew Bernat [Tue, 5 Mar 2013 03:07:25 +0000 (21:07 -0600)]
Foozle

7 years agoUpdated C++11 check; only necessary for GCC 4.7.0/4.7.1.
Andrew Bernat [Tue, 5 Mar 2013 02:49:33 +0000 (20:49 -0600)]
Updated C++11 check; only necessary for GCC 4.7.0/4.7.1.

7 years agoCheck for c++11x in mutator code, and update parseThat to correctly be c++11x-compatible.
Bill Williams [Mon, 4 Mar 2013 22:46:00 +0000 (16:46 -0600)]
Check for c++11x in mutator code, and update parseThat to correctly be c++11x-compatible.

7 years agoDon't override libiberty location.
Andrew Bernat [Mon, 4 Mar 2013 19:54:24 +0000 (13:54 -0600)]
Don't override libiberty location.

7 years agoFix bad public headers. pre-8.1RC1
Bill Williams [Fri, 1 Mar 2013 19:06:35 +0000 (13:06 -0600)]
Fix bad public headers.

7 years agoUpdate ParseAPI example with better-looking graph; provided by E. Robbins.
Andrew Bernat [Fri, 1 Mar 2013 19:06:03 +0000 (13:06 -0600)]
Update ParseAPI example with better-looking graph; provided by E. Robbins.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Fri, 1 Mar 2013 18:15:56 +0000 (12:15 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoDyninst pkgconfig
Andrew Bernat [Fri, 1 Mar 2013 18:05:36 +0000 (12:05 -0600)]
Dyninst pkgconfig

7 years agoUpdated PC Version number
Matthew LeGendre [Fri, 1 Mar 2013 18:10:31 +0000 (10:10 -0800)]
Updated PC Version number

7 years agoUpdate versions missed by previous commit.
Bill Williams [Fri, 1 Mar 2013 17:49:58 +0000 (11:49 -0600)]
Update versions missed by previous commit.

7 years agoFix a bug where we'd use _m32 instrumenting a 64-bit binary on a 32-bit system, leadi...
Andrew Bernat [Fri, 1 Mar 2013 17:44:25 +0000 (11:44 -0600)]
Fix a bug where we'd use _m32 instrumenting a 64-bit binary on a 32-bit system, leading to user confusion.

7 years agoAdded example build line for ParseAPI example.
Andrew Bernat [Fri, 1 Mar 2013 02:58:02 +0000 (20:58 -0600)]
Added example build line for ParseAPI example.

7 years agoUpdate parseAPI example to compile and remove warnings. Rebuild patchAPI/symtabAPI...
Andrew Bernat [Fri, 1 Mar 2013 02:53:37 +0000 (20:53 -0600)]
Update parseAPI example to compile and remove warnings. Rebuild patchAPI/symtabAPI docs.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew LeGendre [Fri, 1 Mar 2013 01:30:56 +0000 (17:30 -0800)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoFix issue where parseThat was not respecting DESTDIR
Matthew LeGendre [Fri, 1 Mar 2013 01:30:15 +0000 (17:30 -0800)]
Fix issue where parseThat was not respecting DESTDIR

7 years agoFix issue where parseThat was building even when disable-testsuite was specified
Matthew LeGendre [Fri, 1 Mar 2013 01:29:45 +0000 (17:29 -0800)]
Fix issue where parseThat was building even when disable-testsuite was specified

7 years agoBump version to 8.1 in query methods and makefiles.
Bill Williams [Thu, 28 Feb 2013 23:25:44 +0000 (17:25 -0600)]
Bump version to 8.1 in query methods and makefiles.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 28 Feb 2013 22:21:23 +0000 (16:21 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoSupport static libdwarf in the test suite and parseThat
Andrew Bernat [Thu, 28 Feb 2013 21:51:33 +0000 (15:51 -0600)]
Support static libdwarf in the test suite and parseThat

7 years agoCleanup and updates to Stackwalker documentation
Emily Jacobson [Thu, 28 Feb 2013 22:14:56 +0000 (16:14 -0600)]
Cleanup and updates to Stackwalker documentation

7 years agoFix the BPatch notification FD; use ProcControl's instead
Andrew Bernat [Thu, 28 Feb 2013 21:51:23 +0000 (15:51 -0600)]
Fix the BPatch notification FD; use ProcControl's instead

7 years agoIgnore stuff that shouldn't be in the repository...
Bill Williams [Thu, 28 Feb 2013 21:11:41 +0000 (15:11 -0600)]
Ignore stuff that shouldn't be in the repository...

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 28 Feb 2013 20:48:26 +0000 (14:48 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoTestsuite fix from Josh Stone
Andrew Bernat [Thu, 28 Feb 2013 20:47:57 +0000 (14:47 -0600)]
Testsuite fix from Josh Stone

7 years agoAdded missing .lib files to windows installer
Paradyn [Thu, 28 Feb 2013 20:41:46 +0000 (14:41 -0600)]
Added missing .lib files to windows installer

7 years agoAdded installer project for Windows.
Paradyn [Thu, 28 Feb 2013 17:50:05 +0000 (11:50 -0600)]
Added installer project for Windows.

7 years agoUpdate doc front page to 8.1
Andrew Bernat [Thu, 28 Feb 2013 17:48:22 +0000 (11:48 -0600)]
Update doc front page to 8.1

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 28 Feb 2013 01:54:47 +0000 (19:54 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoRevert earlier race fix commit; the cause appears to be a dual-event kernel bug.
Andrew Bernat [Thu, 28 Feb 2013 01:54:15 +0000 (19:54 -0600)]
Revert earlier race fix commit; the cause appears to be a dual-event kernel bug.

7 years agoAdd missing export declarations for convert methods, and tighten up case logic in...
Bill Williams [Wed, 27 Feb 2013 21:08:40 +0000 (15:08 -0600)]
Add missing export declarations for convert methods, and tighten up case logic in dynsysname

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 27 Feb 2013 20:18:26 +0000 (14:18 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dyninstAPI/src/debug.C

7 years agoRed Hat supplied patch to remove unused variables when setting debug flags
Andrew Bernat [Wed, 27 Feb 2013 20:11:03 +0000 (14:11 -0600)]
Red Hat supplied patch to remove unused variables when setting debug flags

7 years agoReorder setting of thread state and actual continue to avoid race between continuing...
Andrew Bernat [Wed, 27 Feb 2013 20:08:08 +0000 (14:08 -0600)]
Reorder setting of thread state and actual continue to avoid race between continuing a thread and getting an event.

7 years agoWarning cleanup. Applying RH's Dyninst patches to 8.1, this one originally by Willia...
Matthew LeGendre [Wed, 27 Feb 2013 17:28:23 +0000 (09:28 -0800)]
Warning cleanup.  Applying RH's Dyninst patches to 8.1, this one originally by William Cohen

7 years agoFedora 17's /lib64/libc.so is a script for the linker, which caused our relocation...
Andrew Bernat [Wed, 27 Feb 2013 16:00:47 +0000 (10:00 -0600)]
Fedora 17's /lib64/libc.so is a script for the linker, which caused our relocation test to fail. We now continue looking for other libc.so files until we find a shared library.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 27 Feb 2013 03:41:00 +0000 (21:41 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoRemove accidentally committed debug output.
Andrew Bernat [Wed, 27 Feb 2013 03:40:41 +0000 (21:40 -0600)]
Remove accidentally committed debug output.

7 years agoRobust registerSignalHandlerCallback implementation using BPatch_Set pointer
Zuyu Zhang [Wed, 27 Feb 2013 02:09:46 +0000 (20:09 -0600)]
Robust registerSignalHandlerCallback implementation using BPatch_Set pointer

7 years agoRe-add BPatch_Set implementation of registerSignalHandlerCallback for backwards compa...
Andrew Bernat [Wed, 27 Feb 2013 00:18:16 +0000 (18:18 -0600)]
Re-add BPatch_Set implementation of registerSignalHandlerCallback for backwards compatibility

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 27 Feb 2013 00:15:30 +0000 (18:15 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoSwitch the test suite to use C++11x
Andrew Bernat [Wed, 27 Feb 2013 00:15:15 +0000 (18:15 -0600)]
Switch the test suite to use C++11x

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Zuyu Zhang [Tue, 26 Feb 2013 22:47:57 +0000 (16:47 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years ago1) Reverted my fix for ret ROSE representation. Now remove the implicit
Zuyu Zhang [Tue, 26 Feb 2013 22:22:59 +0000 (16:22 -0600)]
1) Reverted my fix for ret ROSE representation. Now remove the implicit
operand, ESP, from InstructionAPI operands for ret insn before
we handle with its corresponding ROSE representation.
2) Remove incorrect assert when restore ESP value.
3) Replace BPatch_Set with STL Set for registering Signal Handler CB.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Tue, 26 Feb 2013 21:58:54 +0000 (15:58 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoWork around a race between multiple invocations of pc_thread
Andrew Bernat [Tue, 26 Feb 2013 21:58:48 +0000 (15:58 -0600)]
Work around a race between multiple invocations of pc_thread

7 years agofix power_decode test for bg/q insn differences
William R. Williams [Tue, 26 Feb 2013 21:27:58 +0000 (13:27 -0800)]
fix power_decode test for bg/q insn differences

7 years agoFix install problem as suggested by Joseph Schuchart
Andrew Bernat [Tue, 26 Feb 2013 20:04:30 +0000 (14:04 -0600)]
Fix install problem as suggested by Joseph Schuchart

7 years agoUpdate the conditional memory operation count; it's been wrong for years.
Andrew Bernat [Mon, 25 Feb 2013 23:50:33 +0000 (17:50 -0600)]
Update the conditional memory operation count; it's been wrong for years.

7 years agoAdd /lib64 to search path for test_relocations
Andrew Bernat [Mon, 25 Feb 2013 22:00:40 +0000 (16:00 -0600)]
Add /lib64 to search path for test_relocations

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Mon, 25 Feb 2013 20:00:39 +0000 (14:00 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoMatt's BG/Q test change caused failures on RHEL 5 in attach mode, pc_stat and pc_thre...
Andrew Bernat [Mon, 25 Feb 2013 19:58:26 +0000 (13:58 -0600)]
Matt's BG/Q test change caused failures on RHEL 5 in attach mode, pc_stat and pc_thread. Commit reverted until we can work this out.

7 years agoFixed NULL AST pointer bug in dataflowAPI when expending Assignment
Zuyu Zhang [Sun, 24 Feb 2013 16:24:57 +0000 (10:24 -0600)]
Fixed NULL AST pointer bug in dataflowAPI when expending Assignment

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Zuyu Zhang [Sat, 23 Feb 2013 21:05:17 +0000 (15:05 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoFixed assertion failed when fail to find given function in Windows kernel lib
Zuyu Zhang [Sat, 23 Feb 2013 20:59:07 +0000 (14:59 -0600)]
Fixed assertion failed when fail to find given function in Windows kernel lib

7 years agoFixed iterator for block list bug in dataflowAPI and ROSE representation bug for...
Zuyu Zhang [Sat, 23 Feb 2013 20:51:16 +0000 (14:51 -0600)]
Fixed iterator for block list bug in dataflowAPI and ROSE representation bug for ret insn

7 years agoFixed invalid iterator bug for ret blocks in ParseAPI when tampering stack
Zuyu Zhang [Sat, 23 Feb 2013 20:07:26 +0000 (14:07 -0600)]
Fixed invalid iterator bug for ret blocks in ParseAPI when tampering stack

7 years agoFix a bug calculating branch offsets for if snippets
Paradyn Project [Fri, 22 Feb 2013 22:14:35 +0000 (14:14 -0800)]
Fix a bug calculating branch offsets for if snippets

7 years agoClean up old RT lib loading code; removes a symbol collision error between Dyninst... pre-8.1
Andrew Bernat [Fri, 22 Feb 2013 18:16:25 +0000 (12:16 -0600)]
Clean up old RT lib loading code; removes a symbol collision error between Dyninst and ProcControl.

7 years ago1) Implement multi-register loads for PPC64 rather than asserting
Andrew Bernat [Fri, 22 Feb 2013 17:52:49 +0000 (11:52 -0600)]
1) Implement multi-register loads for PPC64 rather than asserting
2) Remove incorrect assert in parsing
3) Check for a valid PLATFORM variable and ignore it if incorrect, rather than failing to build

7 years agoFix a system crash when running the test suite as root
Andrew Bernat [Thu, 21 Feb 2013 19:14:29 +0000 (13:14 -0600)]
Fix a system crash when running the test suite as root

7 years agoWorkaround BGQ system issue in PC where breakpoint event reported as single step.
Matthew LeGendre [Tue, 19 Feb 2013 22:28:13 +0000 (14:28 -0800)]
Workaround BGQ system issue in PC where breakpoint event reported as single step.

7 years agoBGQ was building the StackwalkerAPI as its default component. Changed to DyninstAPI.
Matthew LeGendre [Tue, 19 Feb 2013 22:27:21 +0000 (14:27 -0800)]
BGQ was building the StackwalkerAPI as its default component.  Changed to DyninstAPI.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew LeGendre [Tue, 19 Feb 2013 18:33:36 +0000 (10:33 -0800)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
configure
configure.in
proccontrol/src/bluegeneq.h
proccontrol/src/int_thread_db.C

7 years agoFix BGQ PC test issue with mutators dying from system sent SIGTERMs
Matthew LeGendre [Tue, 19 Feb 2013 18:04:10 +0000 (10:04 -0800)]
Fix BGQ PC test issue with mutators dying from system sent SIGTERMs

7 years agoFix issue where BGQ PC would repeat reads of PC while single stepping
Matthew LeGendre [Tue, 19 Feb 2013 18:02:41 +0000 (10:02 -0800)]
Fix issue where BGQ PC would repeat reads of PC while single stepping

7 years agoMisc bug fixes for recent SSE commit
Mike Lam [Wed, 13 Feb 2013 19:31:01 +0000 (14:31 -0500)]
Misc bug fixes for recent SSE commit
We were double-adding the ModRM byte for some instructions; fixed

7 years agoBug fix for infinite loop in analysis stepper.
Bill Williams [Mon, 18 Feb 2013 16:17:43 +0000 (10:17 -0600)]
Bug fix for infinite loop in analysis stepper.
Changed const Instruction::Ptr& to Instruction::Ptr for clearer semantics.
Added --disable-m32 option to configure.

7 years agoFix BGQ pc_thread problem where test pipe send collides with recv
Matthew LeGendre [Sat, 16 Feb 2013 00:17:55 +0000 (16:17 -0800)]
Fix BGQ pc_thread problem where test pipe send collides with recv

7 years agoHave pc_group test on BGQ use mmap to find free memory
Matthew LeGendre [Sat, 16 Feb 2013 00:17:28 +0000 (16:17 -0800)]
Have pc_group test on BGQ use mmap to find free memory

7 years agoIRPCs allocated with getExecMemory weren't saving/restoring the original memory at...
Matthew LeGendre [Sat, 16 Feb 2013 00:16:39 +0000 (16:16 -0800)]
IRPCs allocated with getExecMemory weren't saving/restoring the original memory at that location.

7 years agoReorder PC test startup operations to work better on BGQ
Matthew LeGendre [Fri, 15 Feb 2013 01:13:16 +0000 (17:13 -0800)]
Reorder PC test startup operations to work better on BGQ

7 years agoFix more valgrind found test-before-set errors
Matthew LeGendre [Fri, 15 Feb 2013 01:12:44 +0000 (17:12 -0800)]
Fix more valgrind found test-before-set errors

7 years agoFix issue where everything was built '-O2 -g' while ignoring Dyninst user settings
Matthew LeGendre [Fri, 15 Feb 2013 01:12:18 +0000 (17:12 -0800)]
Fix issue where everything was built '-O2 -g' while ignoring Dyninst user settings

7 years agoFix two valgrind reported issues of test before set in PC
Matthew LeGendre [Fri, 15 Feb 2013 01:09:34 +0000 (17:09 -0800)]
Fix two valgrind reported issues of test before set in PC

7 years agoFix problem on BGQ/thread_db where we'd lose thread destroy events
Matthew LeGendre [Fri, 15 Feb 2013 01:08:42 +0000 (17:08 -0800)]
Fix problem on BGQ/thread_db where we'd lose thread destroy events

7 years agoChange Windows install dir from DYN/../include to DYN/include
Zuyu Zhang [Thu, 14 Feb 2013 00:02:49 +0000 (18:02 -0600)]
Change Windows install dir from DYN/../include to DYN/include

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Zuyu Zhang [Wed, 13 Feb 2013 17:10:01 +0000 (11:10 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoFix build failure due to typo.
Andrew Bernat [Sat, 9 Feb 2013 15:12:28 +0000 (09:12 -0600)]
Fix build failure due to typo.

7 years agoChange install directory for Windows from ../i386-unknown-nt4.0/lib to ../lib to...
Andrew Bernat [Fri, 8 Feb 2013 21:53:17 +0000 (15:53 -0600)]
Change install directory for Windows from ../i386-unknown-nt4.0/lib to ../lib to match Unix platforms

7 years agoMerge branch 'master' of cumin.cs.wisc.edu:/p/paradyn/development/bernat/builds/dyninst
Paradyn Project [Fri, 8 Feb 2013 16:37:30 +0000 (08:37 -0800)]
Merge branch 'master' of cumin.cs.wisc.edu:/p/paradyn/development/bernat/builds/dyninst

7 years agoAdd 32-bit support to the pc_addlibrary test; silence annoying warning on RHEL 5...
Andrew Bernat [Fri, 8 Feb 2013 21:36:28 +0000 (15:36 -0600)]
Add 32-bit support to the pc_addlibrary test; silence annoying warning on RHEL 5 systems.

7 years agoSkip undefined symbols during SymLite lookup
Paradyn Project [Fri, 8 Feb 2013 16:37:10 +0000 (08:37 -0800)]
Skip undefined symbols during SymLite lookup

7 years agoAdd some debugging to Proccontrol's loadLibrary code
Paradyn Project [Fri, 8 Feb 2013 16:37:00 +0000 (08:37 -0800)]
Add some debugging to Proccontrol's loadLibrary code