dyninst.git
2 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

2 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.

2 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.

2 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

2 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.

2 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.

2 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

2 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

2 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.

2 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.

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

2 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

2 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

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

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

2 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

2 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

2 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

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

2 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

2 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

2 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

2 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

2 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

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

2 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

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

2 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.

2 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.

2 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

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

2 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.

2 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

2 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

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

2 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.

2 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

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

2 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

2 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)

2 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.

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

2 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.

2 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

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

2 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

2 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

2 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

2 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

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

2 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.

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

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

2 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

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

2 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

2 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

2 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.

2 years agoFix fencepost error in string table guard; get shared pointer once rather than at...
Bill Williams [Wed, 7 Dec 2016 20:47:01 +0000 (14:47 -0600)]
Fix fencepost error in string table guard; get shared pointer once rather than at each use so that it can't disappear mid-function by accident.

2 years agoFix crash when walking backward through blocks ending in fallthrough edges only
Bill Williams [Wed, 7 Dec 2016 20:45:56 +0000 (14:45 -0600)]
Fix crash when walking backward through blocks ending in fallthrough edges only

2 years agoUpdate manual version numbers and minor fixes 291/head
Xiaozhu Meng [Wed, 7 Dec 2016 19:43:17 +0000 (13:43 -0600)]
Update manual version numbers and minor fixes

2 years agoMerge pull request #287 from dyninst/wrwilliams/line_info
Bill Williams [Wed, 7 Dec 2016 16:55:36 +0000 (10:55 -0600)]
Merge pull request #287 from dyninst/wrwilliams/line_info

Line info cleanup

2 years agoMerge pull request #289 from dyninst/stackanalysis_safety
Bill Williams [Tue, 6 Dec 2016 22:15:11 +0000 (16:15 -0600)]
Merge pull request #289 from dyninst/stackanalysis_safety

Remove stackanalysis assertions

2 years agoWrap stackanalysis in a try-catch per function, and replace assertions with exceptions. 289/head
Bill Williams [Tue, 6 Dec 2016 19:49:33 +0000 (13:49 -0600)]
Wrap stackanalysis in a try-catch per function, and replace assertions with exceptions.

2 years agoAdd StackAnalysis handling for pushing memory values on stack.
Matt Morehouse [Mon, 5 Dec 2016 22:15:18 +0000 (16:15 -0600)]
Add StackAnalysis handling for pushing memory values on stack.

2 years agoMerge branch 'master' of https://github.com/dyninst/dyninst into release9.3/fixes...
Matt Morehouse [Mon, 5 Dec 2016 21:12:48 +0000 (15:12 -0600)]
Merge branch 'master' of https://github.com/dyninst/dyninst into release9.3/fixes/test_pt_ls

2 years agoExtract ranges from statements if all else fails. 287/head
Bill Williams [Fri, 2 Dec 2016 19:26:02 +0000 (13:26 -0600)]
Extract ranges from statements if all else fails.

2 years agoCleaned up equal_range: it *must* use boost::tuple, not std::tuple, in order to look...
Bill Williams [Fri, 2 Dec 2016 19:22:48 +0000 (13:22 -0600)]
Cleaned up equal_range: it *must* use boost::tuple, not std::tuple, in order to look up by multiple fields of a composite key, but that works.

2 years agoDwarfWalker now ignores a lowpc/highpc entry of (0,0) and hands it back as "failed...
Bill Williams [Wed, 30 Nov 2016 20:03:16 +0000 (14:03 -0600)]
DwarfWalker now ignores a lowpc/highpc entry of (0,0) and hands it back as "failed to parse"; it's never meaningful DWARF and we shouldn't pretend it is.

2 years agoAdded interface to query whether a module already has address range information,...
Bill Williams [Wed, 30 Nov 2016 20:02:06 +0000 (14:02 -0600)]
Added interface to query whether a module already has address range information, and reindented--this had become a ragged mess of 3 space/4 space/tab indents. Fixed merge issues from architecture auto-detection.

2 years agoMerge pull request #228 from mxz297/master
Bill Williams [Fri, 2 Dec 2016 21:37:55 +0000 (14:37 -0700)]
Merge pull request #228 from mxz297/master

Merge ARM instruction semantics and jump table parsing

2 years agoMerge pull request #279 from rafzi/patch-1
Bill Williams [Fri, 2 Dec 2016 19:19:48 +0000 (12:19 -0700)]
Merge pull request #279 from rafzi/patch-1

Fix dependency of LibDwarf

2 years agoMerge pull request #284 from dyninst/ppc_elf_fix
Bill Williams [Fri, 2 Dec 2016 18:13:08 +0000 (11:13 -0700)]
Merge pull request #284 from dyninst/ppc_elf_fix

Use in-place translation

2 years agoFix findMain analysis: we should analyze the first instruction before the call
Xiaozhu Meng [Fri, 2 Dec 2016 15:38:24 +0000 (09:38 -0600)]
Fix findMain analysis: we should analyze the first instruction before the call

2 years agoMerge pull request #285 from dyninst/sfm/fixes/untouched_blocks
morehouse [Thu, 1 Dec 2016 22:18:19 +0000 (16:18 -0600)]
Merge pull request #285 from dyninst/sfm/fixes/untouched_blocks

Sfm/fixes/untouched blocks

2 years agoAvoid unnecessary block revisits in StackAnalyis. 285/head
Matt Morehouse [Thu, 1 Dec 2016 20:57:41 +0000 (14:57 -0600)]
Avoid unnecessary block revisits in StackAnalyis.

2 years agoAnalyze all blocks at least once in fixpoint.
Matt Morehouse [Thu, 1 Dec 2016 20:22:47 +0000 (14:22 -0600)]
Analyze all blocks at least once in fixpoint.

2 years agoMerge branch 'master' into arm64/feature/semantics 228/head
Sunny Shah [Thu, 1 Dec 2016 17:28:58 +0000 (11:28 -0600)]
Merge branch 'master' into arm64/feature/semantics

2 years agoUse in-place translation 284/head
William Williams [Thu, 1 Dec 2016 17:22:25 +0000 (09:22 -0800)]
Use in-place translation

2 years agoMerge remote-tracking branch 'mx297/master' into arm64/feature/semantics
Sunny Shah [Thu, 1 Dec 2016 17:22:24 +0000 (11:22 -0600)]
Merge remote-tracking branch 'mx297/master' into arm64/feature/semantics

2 years agocmake: only make LibDwarf depend on LibElf if that exists 279/head
rafzi [Wed, 30 Nov 2016 22:57:19 +0000 (23:57 +0100)]
cmake: only make LibDwarf depend on LibElf if that exists

2 years agoMerge pull request #280 from cuviper/yama-process_vm_rw
Josh Stone [Wed, 30 Nov 2016 22:54:55 +0000 (14:54 -0800)]
Merge pull request #280 from cuviper/yama-process_vm_rw

common: use ptrace if yama blocked process_vm_readv/writev

2 years agoMerge pull request #261 from cuviper/procs-erase-inc
Josh Stone [Wed, 30 Nov 2016 22:54:40 +0000 (14:54 -0800)]
Merge pull request #261 from cuviper/procs-erase-inc

proccontrol: fix double-increment while erasing a dead process

2 years agoMerge pull request #259 from cuviper/scrub-failed-createThread
Josh Stone [Wed, 30 Nov 2016 22:54:28 +0000 (14:54 -0800)]
Merge pull request #259 from cuviper/scrub-failed-createThread

proccontrol: scrub newly created threads that fail to attach

2 years agocommon: use ptrace if yama blocked process_vm_readv/writev 280/head
Josh Stone [Wed, 30 Nov 2016 02:27:29 +0000 (18:27 -0800)]
common: use ptrace if yama blocked process_vm_readv/writev

Having sysctl kernel.yama.ptrace_scope=1, one may only call ptrace
attach on direct descendants.  The same restriction is also checked for
`process_vm_readv`/`writev` and certain procfs files.  However, if an
intermediate parent process already exited, we could end up with a
grandchild that we're still ptracing but isn't our descendant, so we
can't use the `process_vm` functions anymore -> `EPERM`.

We already had a fallback here for `EFAULT`, to just use `ptrace` memory
access, so use the same fallback after `EPERM` too.

Fixes #274.

2 years agoMerge pull request #277 from dyninst/release9.2/fixes/ppc-fixes
John Detter [Tue, 29 Nov 2016 21:57:40 +0000 (15:57 -0600)]
Merge pull request #277 from dyninst/release9.2/fixes/ppc-fixes

Cleanup ppc (and old gcc) issues

2 years agoFix dependency of LibDwarf
rafzi [Tue, 29 Nov 2016 21:52:20 +0000 (22:52 +0100)]
Fix dependency of LibDwarf

Dyninst would not build on the first run when libelf and libdwarf are not installed on the system.

2 years agoRemoved references to nullptr 277/head
John Detter [Tue, 29 Nov 2016 21:08:44 +0000 (15:08 -0600)]
Removed references to nullptr

2 years agoMerge pull request #273 from ikitayama/myv9.2.0
Bill Williams [Tue, 29 Nov 2016 17:06:27 +0000 (10:06 -0700)]
Merge pull request #273 from ikitayama/myv9.2.0

Compiling DynInst v9.2.0 on arm64

2 years agoMerge pull request #260 from dyninst/proccontrol/doc/tracking
Bill Williams [Tue, 29 Nov 2016 17:05:42 +0000 (10:05 -0700)]
Merge pull request #260 from dyninst/proccontrol/doc/tracking

Document some of the ProcControlAPI options in PlatFeatures.h.

2 years agoRevised ProcControlAPI platform-specific feature documentation. 260/head
Matt Morehouse [Mon, 28 Nov 2016 17:45:39 +0000 (11:45 -0600)]
Revised ProcControlAPI platform-specific feature documentation.

2 years agoMerge branch 'master' of https://github.com/dyninst/dyninst into proccontrol/doc...
Matt Morehouse [Mon, 28 Nov 2016 17:44:54 +0000 (11:44 -0600)]
Merge branch 'master' of https://github.com/dyninst/dyninst into proccontrol/doc/tracking

2 years agofix warnings under lto
Peter Foley [Fri, 25 Nov 2016 04:58:49 +0000 (23:58 -0500)]
fix warnings under lto

2 years agoAs reported by Will on the list, 273/head
Itaru Kitayama [Wed, 23 Nov 2016 01:32:16 +0000 (19:32 -0600)]
As reported by Will on the list,

https://www-auth.cs.wisc.edu/lists/dyninst-api/2015/msg00382.shtml

For the v9.2.0 release to be built on arm64, dyninst needs to be
aware of the namge changes.

2 years agoproccontrol: fix another process erasure during attach 261/head
Josh Stone [Mon, 21 Nov 2016 19:52:48 +0000 (11:52 -0800)]
proccontrol: fix another process erasure during attach

If a process initially failed to attach threads, a `pthrd_printf` was
indicating that it would try again, but the process was getting erased
from the set while incorrectly causing the iterator to double-increment.

Now the messages about "will try again" and "now an error" are changed
to simply report an immediate error, and it continus the loop after
process erasure to avoid incrementing the iterator again.

2 years agoOn x86, and instruction would generate an zf assignment that looks like an assignment...
Xiaozhu Meng [Mon, 21 Nov 2016 15:39:13 +0000 (09:39 -0600)]
On x86, and instruction would generate an zf assignment that looks like an assignment generated from a cmp instruction.
The zf assignment from and needs special handling from a zf assignment from cmp.

2 years agofix unused but set warning
Peter Foley [Mon, 21 Nov 2016 08:18:34 +0000 (03:18 -0500)]
fix unused but set warning

2 years agoFix writable string warning
Peter Foley [Mon, 21 Nov 2016 08:14:20 +0000 (03:14 -0500)]
Fix writable string warning

C.y:43:25: warning: ISO C++ forbids converting a string constant to
‘char*’ [-Wwrite-strings]

2 years agoremove trailing whitespace
Peter Foley [Mon, 21 Nov 2016 08:13:37 +0000 (03:13 -0500)]
remove trailing whitespace

2 years agodisable cmake boost debugging by default
Peter Foley [Mon, 21 Nov 2016 07:39:32 +0000 (02:39 -0500)]
disable cmake boost debugging by default