dyninst.git
4 years agoMerge pull request #362 from dyninst/wrwilliams/cleanup-for-9.3.2 v9.3.2
Bill Williams [Mon, 17 Apr 2017 21:51:11 +0000 (16:51 -0500)]
Merge pull request #362 from dyninst/wrwilliams/cleanup-for-9.3.2

More 9.3.2 cleanup

4 years agoBump patch version 362/head
Bill Williams [Mon, 17 Apr 2017 19:02:56 +0000 (14:02 -0500)]
Bump patch version

4 years agoUpdated Dyninst manual.
Bill Williams [Mon, 17 Apr 2017 19:01:26 +0000 (14:01 -0500)]
Updated Dyninst manual.

4 years agoRemove IDE files
Bill Williams [Mon, 17 Apr 2017 16:55:13 +0000 (11:55 -0500)]
Remove IDE files

4 years agoRemove spurious LR save call
Bill Williams [Fri, 14 Apr 2017 20:19:22 +0000 (15:19 -0500)]
Remove spurious LR save call

We're going through the trap code if we encounter a call with a live LR for now--of course that should really never be the case as it should be killed by the call instruction itself.

4 years agoMerge pull request #361 from dyninst/wrwilliams/cleanup-for-9.3.2
Bill Williams [Thu, 13 Apr 2017 19:29:57 +0000 (14:29 -0500)]
Merge pull request #361 from dyninst/wrwilliams/cleanup-for-9.3.2

Final cleanup bits for 9.3.2

4 years agoClarify effective address expressions. 361/head
Bill Williams [Wed, 12 Apr 2017 19:47:50 +0000 (14:47 -0500)]
Clarify effective address expressions.

4 years agoPPC codegen fixes
Bill Williams [Wed, 12 Apr 2017 19:47:23 +0000 (14:47 -0500)]
PPC codegen fixes

4 years agoUpdate changelog towards 9.3.2
Bill Williams [Wed, 12 Apr 2017 19:29:01 +0000 (14:29 -0500)]
Update changelog towards 9.3.2

4 years agoMerge pull request #347 from dyninst/wrwilliams/exception_fixes
Bill Williams [Tue, 4 Apr 2017 16:31:28 +0000 (11:31 -0500)]
Merge pull request #347 from dyninst/wrwilliams/exception_fixes

Fix up exception handling code so that we only consider call instructions for exception sensitivity and its attendant emulation

4 years agoMerge branch 'v9.3.x' into wrwilliams/exception_fixes 347/head
Bill Williams [Wed, 29 Mar 2017 19:00:19 +0000 (14:00 -0500)]
Merge branch 'v9.3.x' into wrwilliams/exception_fixes

4 years agoMerge pull request #346 from dyninst/wrwilliams/owns_typ_fix
Bill Williams [Wed, 29 Mar 2017 18:59:26 +0000 (13:59 -0500)]
Merge pull request #346 from dyninst/wrwilliams/owns_typ_fix

Refactor BPatch_type so it always has a reference to its underlying symtab type.

4 years agoAssorted bug fixes; binary rewriting now tests clean locally again. 346/head
Bill Williams [Wed, 29 Mar 2017 16:44:12 +0000 (11:44 -0500)]
Assorted bug fixes; binary rewriting now tests clean locally again.

4 years agoFix for handling regions that have no disk backing
Bill Williams [Thu, 23 Mar 2017 15:53:12 +0000 (10:53 -0500)]
Fix for handling regions that have no disk backing

4 years agoMerge pull request #349 from dyninst/wrwilliams/cmake_fixup
Bill Williams [Mon, 20 Mar 2017 19:12:05 +0000 (14:12 -0500)]
Merge pull request #349 from dyninst/wrwilliams/cmake_fixup

CMake fixup

4 years agoTrack relocated interprocedural edge targets as RelocBlocks.
Matt Morehouse [Wed, 15 Mar 2017 20:56:10 +0000 (15:56 -0500)]
Track relocated interprocedural edge targets as RelocBlocks.

Before only call edges had their targets tracked as RelocBlocks and
all other interprocedural edge targets were tracked as
block_instances.

4 years agoCMake fixup: export C++ ABI settings for test suite to grab, and get boost from zipfi... 349/head
Bill Williams [Mon, 13 Mar 2017 16:12:12 +0000 (11:12 -0500)]
CMake fixup: export C++ ABI settings for test suite to grab, and get boost from zipfile for better portability

4 years agoAdd cache entry for boost to appveyor config 324/head
Bill Williams [Mon, 13 Mar 2017 20:39:32 +0000 (15:39 -0500)]
Add cache entry for boost to appveyor config

4 years agoFix up exception handling code so that we only consider call instructions for excepti...
Bill Williams [Mon, 13 Mar 2017 17:08:19 +0000 (12:08 -0500)]
Fix up exception handling code so that we only consider call instructions for exception sensitivity and its attendant emulation

4 years agoRefactor BPatch_type so it always has a reference to its underlying symtab type.
Bill Williams [Thu, 9 Mar 2017 19:57:26 +0000 (13:57 -0600)]
Refactor BPatch_type so it always has a reference to its underlying symtab type.

4 years agoABI fixes for 9.3.1 from scox@usms.org.
Bill Williams [Thu, 9 Mar 2017 19:49:16 +0000 (13:49 -0600)]
ABI fixes for 9.3.1 from scox@usms.org.

4 years agoRemove assert; simply delete iff refcount is zero. This should move to shared_ptr...
Bill Williams [Tue, 7 Mar 2017 18:22:28 +0000 (12:22 -0600)]
Remove assert; simply delete iff refcount is zero. This should move to shared_ptr for 10.0.

4 years agoBrought issues up to date and updated changelog accordingly. 341/head v9.3.1
Bill Williams [Thu, 2 Mar 2017 21:38:32 +0000 (15:38 -0600)]
Brought issues up to date and updated changelog accordingly.

4 years agoIncrement version and add changelog for 9.3.1
Bill Williams [Thu, 2 Mar 2017 21:20:19 +0000 (15:20 -0600)]
Increment version and add changelog for 9.3.1

4 years agoMerge pull request #340 from dyninst/wrwilliams/symtab-asserts
Bill Williams [Thu, 2 Mar 2017 21:02:24 +0000 (15:02 -0600)]
Merge pull request #340 from dyninst/wrwilliams/symtab-asserts

Replaced a bunch of asserts with graceful error handling.

4 years agoReplaced a bunch of asserts with graceful error handling. 340/head
Bill Williams [Thu, 2 Mar 2017 19:41:31 +0000 (13:41 -0600)]
Replaced a bunch of asserts with graceful error handling.

4 years agoMerge pull request #338 from dyninst/meng/lulesh-fix
Bill Williams [Fri, 24 Feb 2017 17:19:37 +0000 (11:19 -0600)]
Merge pull request #338 from dyninst/meng/lulesh-fix

Fix jump table analysis for lulesh

4 years agoA memory access to a known address should be considered as a variable, rather than... 338/head
Xiaozhu Meng [Thu, 23 Feb 2017 16:24:15 +0000 (10:24 -0600)]
A memory access to a known address should be considered as a variable, rather than a table read.
So, the jump table analysis should not try to read the content of the variable, but try to determine whether the variable is bounded

4 years agoMerge pull request #335 from teco-kit/master
Bill Williams [Mon, 20 Feb 2017 21:50:20 +0000 (15:50 -0600)]
Merge pull request #335 from teco-kit/master

Better handling of anonymous structs and unions

4 years agoUse an explicit name for anonymous unions, structs and classes 325/head 335/head
mneumann [Thu, 16 Feb 2017 10:49:18 +0000 (11:49 +0100)]
Use an explicit name for anonymous unions, structs and classes

4 years agoMerge pull request #331 from dyninst/itaru/x86_ifdefs
Bill Williams [Thu, 16 Feb 2017 22:23:21 +0000 (16:23 -0600)]
Merge pull request #331 from dyninst/itaru/x86_ifdefs

Use ifdef to guard x86 code

4 years agoMerge pull request #332 from dyninst/itaru/dev
Bill Williams [Thu, 16 Feb 2017 22:19:33 +0000 (16:19 -0600)]
Merge pull request #332 from dyninst/itaru/dev

Suppress debug message when no vsyscall page was found on arm64

4 years agoMerge pull request #333 from dyninst/leaks-for-9.3
Bill Williams [Thu, 16 Feb 2017 22:19:18 +0000 (16:19 -0600)]
Merge pull request #333 from dyninst/leaks-for-9.3

Fix memory leaks found with lsan

4 years agoEnable parsing of members without location information (implicitely 0) in unions
mneumann [Tue, 14 Feb 2017 18:18:38 +0000 (19:18 +0100)]
Enable parsing of members without location information (implicitely 0) in unions

4 years agomore leaks 333/head
Peter Foley [Sat, 26 Nov 2016 01:21:01 +0000 (20:21 -0500)]
more leaks

4 years agomore leak fixes
Peter Foley [Thu, 24 Nov 2016 22:06:48 +0000 (17:06 -0500)]
more leak fixes

4 years agofix more leaks
Peter Foley [Thu, 24 Nov 2016 20:49:57 +0000 (15:49 -0500)]
fix more leaks

4 years agofix memory leaks
Peter Foley [Thu, 24 Nov 2016 19:28:29 +0000 (14:28 -0500)]
fix memory leaks

4 years agoMerge branch 'dev' of https://github.com/ikitayama/dyninst into itaru/dev 332/head
Bill Williams [Wed, 15 Feb 2017 19:57:27 +0000 (13:57 -0600)]
Merge branch 'dev' of https://github.com/ikitayama/dyninst into itaru/dev

4 years agoMerge branch 'for-bill' of https://github.com/ikitayama/dyninst into itaru/x86_ifdefs 331/head
Bill Williams [Wed, 15 Feb 2017 19:54:12 +0000 (13:54 -0600)]
Merge branch 'for-bill' of https://github.com/ikitayama/dyninst into itaru/x86_ifdefs

4 years agoMerge pull request #329 from dyninst/wrwilliams/icf_leaks
Bill Williams [Tue, 14 Feb 2017 20:39:18 +0000 (14:39 -0600)]
Merge pull request #329 from dyninst/wrwilliams/icf_leaks

Fix memory leaks in indirect control flow.

4 years agoFix memory leaks in indirect control flow. 329/head
Bill Williams [Tue, 14 Feb 2017 20:05:40 +0000 (14:05 -0600)]
Fix memory leaks in indirect control flow.

4 years agoMerge pull request #323 from dyninst/wrwilliams/cleanup_for_9_3_1
Bill Williams [Tue, 14 Feb 2017 17:42:50 +0000 (11:42 -0600)]
Merge pull request #323 from dyninst/wrwilliams/cleanup_for_9_3_1

Fixes for API and dependency issues in 9.3.0

4 years agoUse elfutils-dev package for travis, so that we don't have to build from scratch... 323/head
Bill Williams [Tue, 7 Feb 2017 20:22:51 +0000 (14:22 -0600)]
Use elfutils-dev package for travis, so that we don't have to build from scratch--CLang can't manage it out of the box.

4 years agoExplicitly search for libelf.so.1, as libelf.so.0 is no longer supported.
Bill Williams [Tue, 7 Feb 2017 17:11:35 +0000 (11:11 -0600)]
Explicitly search for libelf.so.1, as libelf.so.0 is no longer supported.

Only build libelf from elfutils; their dwarf.h and libdwarf's dwarf.h appear to conflict.

4 years agoRemove dead code and inappropriate use of auto in public headers
Bill Williams [Thu, 2 Feb 2017 17:29:53 +0000 (11:29 -0600)]
Remove dead code and inappropriate use of auto in public headers

4 years agoMerge pull request #314 from dyninst/release10.0.0/fixes/stackmod-disp-fixes
Bill Williams [Wed, 1 Feb 2017 22:39:30 +0000 (16:39 -0600)]
Merge pull request #314 from dyninst/release10.0.0/fixes/stackmod-disp-fixes

Displacement validation checks updated

4 years agoMerge pull request #318 from dyninst/url_libelf_update
Bill Williams [Wed, 1 Feb 2017 22:38:40 +0000 (16:38 -0600)]
Merge pull request #318 from dyninst/url_libelf_update

Changing the URL of libelf to download elfutil.

4 years agoarm64: set number of regs defined in beginTrackRegDefs() 316/head
Itaru Kitayama [Wed, 1 Feb 2017 07:09:11 +0000 (16:09 +0900)]
arm64: set number of regs defined in beginTrackRegDefs()

4 years agoChanging the URL of libelf to download elfutil. 318/head
Sasha Nicolas [Tue, 31 Jan 2017 19:45:08 +0000 (13:45 -0600)]
Changing the URL of libelf to download elfutil.

4 years agoAdd a mapping of AArch64 MachRegister to index for Linux
Itaru Kitayama [Mon, 30 Jan 2017 04:15:45 +0000 (13:15 +0900)]
Add a mapping of AArch64 MachRegister to index for Linux

4 years agoFix warnings
Peter Foley [Sun, 29 Jan 2017 22:43:07 +0000 (17:43 -0500)]
Fix warnings

4 years agoMerge pull request #168 from pefoley2/types
Peter Foley [Sun, 29 Jan 2017 18:28:33 +0000 (13:28 -0500)]
Merge pull request #168 from pefoley2/types

Make dyninst compile on x64 windows

4 years agoUse ifdef to guard x86 code
Itaru Kitayama [Fri, 27 Jan 2017 07:22:17 +0000 (16:22 +0900)]
Use ifdef to guard x86 code

4 years agoMerge pull request #310 from dyninst/release9.3/fixes/icc_binaries
Bill Williams [Tue, 24 Jan 2017 17:03:29 +0000 (11:03 -0600)]
Merge pull request #310 from dyninst/release9.3/fixes/icc_binaries

Release9.3/fixes/icc binaries

4 years agoRemoved debug assert. 314/head
John Detter [Thu, 19 Jan 2017 16:26:09 +0000 (10:26 -0600)]
Removed debug assert.

4 years agoDisplacement validation checks updated.
John Detter [Thu, 19 Jan 2017 16:20:06 +0000 (10:20 -0600)]
Displacement validation checks updated.

4 years agogetOPDFunctionAddr() should always return a true value on arm64 313/head
Itaru Kitayama [Thu, 19 Jan 2017 06:35:33 +0000 (15:35 +0900)]
getOPDFunctionAddr() should always return a true value on arm64

4 years agoSuppress debug message when no vsyscall page was found on arm64
Itaru Kitayama [Wed, 18 Jan 2017 22:28:14 +0000 (07:28 +0900)]
Suppress debug message when no vsyscall page was found on arm64

4 years agoWhen dwarf_srcfiles returns no entry, we cannot call dwarf_dealloc 310/head
Xiaozhu Meng [Tue, 27 Dec 2016 20:38:55 +0000 (14:38 -0600)]
When dwarf_srcfiles returns no entry, we cannot call dwarf_dealloc

4 years agoFix icc compilation error
Xiaozhu Meng [Tue, 27 Dec 2016 20:00:55 +0000 (14:00 -0600)]
Fix icc compilation error

4 years agoLine table can exists, but does not contain any entry
Xiaozhu Meng [Tue, 27 Dec 2016 20:00:21 +0000 (14:00 -0600)]
Line table can exists, but does not contain any entry

4 years agoMerge pull request #309 from ikitayama/for-next
Xiaozhu Meng [Tue, 27 Dec 2016 19:56:15 +0000 (13:56 -0600)]
Merge pull request #309 from ikitayama/for-next

Fix test_basic test error

4 years agoCall dwarf_srcfiles properly with error argument 309/head
Itaru Kitayama [Mon, 26 Dec 2016 00:19:55 +0000 (18:19 -0600)]
Call dwarf_srcfiles properly with error argument

4 years agogetVsysInfo() return NULL on arm64 308/head
Itaru Kitayama [Sat, 24 Dec 2016 06:43:15 +0000 (00:43 -0600)]
getVsysInfo() return NULL on arm64

4 years agoMerge pull request #307 from dyninst/wrwilliams/aarch64_sw_first_party_fx v9.3.0
Bill Williams [Thu, 22 Dec 2016 21:53:54 +0000 (15:53 -0600)]
Merge pull request #307 from dyninst/wrwilliams/aarch64_sw_first_party_fx

ARM64 fixes for stack walking

4 years agoFixed bad assembly 307/head
Bill Williams [Thu, 22 Dec 2016 22:00:37 +0000 (16:00 -0600)]
Fixed bad assembly

4 years agoMerge pull request #299 from teco-kit/master
Bill Williams [Thu, 22 Dec 2016 18:16:48 +0000 (12:16 -0600)]
Merge pull request #299 from teco-kit/master

Enhance DWARF parser to recognize (and skip) DW_TAG_member entries for static fields

4 years agoGuard with cap_stack_mod
Bill Williams [Thu, 22 Dec 2016 17:58:46 +0000 (11:58 -0600)]
Guard with cap_stack_mod

4 years agoMerge pull request #306 from dyninst/wrwilliams/assignment_converter_fix
Bill Williams [Thu, 22 Dec 2016 17:41:22 +0000 (11:41 -0600)]
Merge pull request #306 from dyninst/wrwilliams/assignment_converter_fix

Update AssignmentConverter instantiation to make use of stack analysis explicit.

4 years agoUpdate AssignmentConverter instantiation to make use of stack analysis explicit. 306/head
Bill Williams [Thu, 22 Dec 2016 16:32:36 +0000 (10:32 -0600)]
Update AssignmentConverter instantiation to make use of stack analysis explicit.

4 years agoMerge pull request #302 from dyninst/wrwilliams/pcontrol_fix
Bill Williams [Wed, 21 Dec 2016 21:54:25 +0000 (15:54 -0600)]
Merge pull request #302 from dyninst/wrwilliams/pcontrol_fix

Bug fix for PR#294

4 years agoFixed heading markdown
Bill Williams [Wed, 21 Dec 2016 20:37:11 +0000 (14:37 -0600)]
Fixed heading markdown

4 years agoClean up memory leaks in binary rewriting. 302/head
Bill Williams [Wed, 21 Dec 2016 19:45:11 +0000 (13:45 -0600)]
Clean up memory leaks in binary rewriting.

4 years agoFixed parseMember to only parse members with locations; named constants (which are... 299/head
mneumann [Wed, 21 Dec 2016 17:59:26 +0000 (18:59 +0100)]
Fixed parseMember to only parse members with locations; named constants (which are fields without location) are forwarded to parseConstant

4 years agoMerge pull request #297 from dyninst/release9.3/fixes/dyninstAPI_manual
Bill Williams [Wed, 21 Dec 2016 17:22:04 +0000 (11:22 -0600)]
Merge pull request #297 from dyninst/release9.3/fixes/dyninstAPI_manual

More manual fixes

4 years agoVersion bump for release.
Bill Williams [Tue, 20 Dec 2016 20:29:39 +0000 (14:29 -0600)]
Version bump for release.

4 years agoFix non-ARM register read: the do_ptrace from PEEK* returns the value read, and a... 301/head
Bill Williams [Tue, 20 Dec 2016 20:06:23 +0000 (14:06 -0600)]
Fix non-ARM register read: the do_ptrace from PEEK* returns the value read, and a non-zero result is not an error. -1 indicates that we should check errno.

4 years agoEnhance DWARF parser to recognize (and skip) DW_TAG_member entries for static fields...
mneumann [Tue, 20 Dec 2016 10:38:24 +0000 (11:38 +0100)]
Enhance DWARF parser to recognize (and skip) DW_TAG_member entries for static fields in structs

4 years agoMerge f47d0f6d5aa5878147dac31a86eabcc22f259da2 into 348e18947cf790e5fff8405e93140487c...
Itaru Kitayama [Mon, 19 Dec 2016 22:58:17 +0000 (22:58 +0000)]
Merge f47d0f6d5aa5878147dac31a86eabcc22f259da2 into 348e18947cf790e5fff8405e93140487ce96373e

4 years agoMerge pull request #298 from teco-kit/master
Bill Williams [Mon, 19 Dec 2016 22:56:53 +0000 (16:56 -0600)]
Merge pull request #298 from teco-kit/master

Fix omitting leading 0's when concatenating hex bytes in stringstream

4 years agoMerge pull request #286 from dyninst/release9.3/fixes/test_pt_ls
Bill Williams [Mon, 19 Dec 2016 22:53:45 +0000 (16:53 -0600)]
Merge pull request #286 from dyninst/release9.3/fixes/test_pt_ls

Passing test_pt_ls (at least on RHEL7)

4 years agoTreat calls as non-sensitive in normal mode. 286/head
Bill Williams [Mon, 19 Dec 2016 21:08:30 +0000 (15:08 -0600)]
Treat calls as non-sensitive in normal mode.

4 years agoFix Windows build
Bill Williams [Mon, 19 Dec 2016 16:59:29 +0000 (10:59 -0600)]
Fix Windows build

4 years agoFixes to reduce quantity of stack analysis required (we were performing it by default...
Bill Williams [Mon, 19 Dec 2016 16:35:44 +0000 (10:35 -0600)]
Fixes to reduce quantity of stack analysis required (we were performing it by default when performing any absloc/absregion analysis) and to ensure stack analysis performed during relocation gets cleaned up afterward.

4 years agoarm64 check return value of the ptrace systemcall, not errno 294/head
Itaru Kitayama [Fri, 16 Dec 2016 12:46:43 +0000 (06:46 -0600)]
arm64 check return value of the ptrace systemcall, not errno

4 years agoBuild fixes for Windows
John Detter [Wed, 14 Dec 2016 18:28:58 +0000 (12:28 -0600)]
Build fixes for Windows

4 years agoMerge branch 'wrwilliams/rtlib_autodetect' of http://github.com/dyninst/dyninst into...
John Detter [Wed, 14 Dec 2016 17:11:14 +0000 (11:11 -0600)]
Merge branch 'wrwilliams/rtlib_autodetect' of github.com/dyninst/dyninst into release9.3/fixes/test_pt_ls

4 years agoFix omitting leading 0's when concatenating hex bytes in stringstream 298/head
mneumann [Tue, 13 Dec 2016 13:16:38 +0000 (14:16 +0100)]
Fix omitting leading 0's when concatenating hex bytes in stringstream

4 years agoAdd description for BPatch::registerDynamicCallCallback and document BPatch_point... 297/head
Xiaozhu Meng [Mon, 12 Dec 2016 19:19:39 +0000 (13:19 -0600)]
Add description for BPatch::registerDynamicCallCallback and document BPatch_point::monitorCalls and BPatch_point::stopMonitoring

4 years agoarm64 remove SYSCALL_EXIT_BREAKPOINT define and the DSIABLE_POSTONE code
Itaru Kitayama [Sat, 10 Dec 2016 07:53:58 +0000 (01:53 -0600)]
arm64 remove SYSCALL_EXIT_BREAKPOINT define and the DSIABLE_POSTONE code

4 years agoarm64: remove syscall tracing workaround
Itaru Kitayama [Sat, 10 Dec 2016 04:42:22 +0000 (22:42 -0600)]
arm64: remove syscall tracing workaround

4 years agoAdd windows-ish implementation for process-level getRTLibName. 293/head
Bill Williams [Thu, 8 Dec 2016 22:10:01 +0000 (16:10 -0600)]
Add windows-ish implementation for process-level getRTLibName.

4 years agoWarning cleanup
Bill Williams [Thu, 8 Dec 2016 21:34:54 +0000 (15:34 -0600)]
Warning cleanup

4 years agoFix statically linked rewriting crash?
Bill Williams [Thu, 8 Dec 2016 21:34:45 +0000 (15:34 -0600)]
Fix statically linked rewriting crash?

4 years agoAuto-detect RTlib name on Unix-ish based on library paths
Bill Williams [Wed, 16 Nov 2016 19:58:10 +0000 (13:58 -0600)]
Auto-detect RTlib name on Unix-ish based on library paths

4 years agoWarning cleanup
Bill Williams [Wed, 7 Dec 2016 21:56:22 +0000 (15:56 -0600)]
Warning cleanup

4 years agoMerge pull request #292 from dyninst/wrwilliams/papercuts
Bill Williams [Wed, 7 Dec 2016 21:55:02 +0000 (15:55 -0600)]
Merge pull request #292 from dyninst/wrwilliams/papercuts

Small fixes

4 years agoMerge pull request #291 from dyninst/release9.3/fixes/manuals
Bill Williams [Wed, 7 Dec 2016 21:25:17 +0000 (15:25 -0600)]
Merge pull request #291 from dyninst/release9.3/fixes/manuals

Update manual version numbers and minor fixes

4 years agoFixed build for gcc 4.4: structs can't be defined inside functions. Also removed... 292/head
Bill Williams [Wed, 7 Dec 2016 20:47:42 +0000 (14:47 -0600)]
Fixed build for gcc 4.4: structs can't be defined inside functions. Also removed lurking debug output.