dyninst.git
4 years agoonly suppress warnings for rose
Peter Foley [Thu, 21 Jul 2016 22:53:44 +0000 (18:53 -0400)]
only suppress warnings for rose

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
4 years agoFix std::isnan compile error
Peter Foley [Thu, 21 Jul 2016 21:44:40 +0000 (17:44 -0400)]
Fix std::isnan compile error

G++ 5.4 needs the using directive in c++11 mode.

4 years agoThe include "libtasn1.h" was wrongly added and shouldn't be there, removed it with...
Sunny Shah [Fri, 22 Jul 2016 20:55:08 +0000 (15:55 -0500)]
The include "libtasn1.h" was wrongly added and shouldn't be there, removed it with this commit

4 years agoMerge pull request #127 from dyninst/arm64/feature/semantics_setup
ssunny7 [Thu, 21 Jul 2016 20:39:44 +0000 (15:39 -0500)]
Merge pull request #127 from dyninst/arm64/feature/semantics_setup

Merge arm64/feature/semantics_setup into master

4 years agoset_type() in SgAsmExpression has to be virtual 127/head
Sunny Shah [Mon, 18 Jul 2016 22:13:12 +0000 (17:13 -0500)]
set_type() in SgAsmExpression has to be virtual

4 years agoMerge pull request #124 from dyninst/v9.2_patches
John Detter [Fri, 15 Jul 2016 15:55:56 +0000 (10:55 -0500)]
Merge pull request #124 from dyninst/v9.2_patches

V9.2 patches

4 years agoFixed issues seen while parsing a simple ARM binary
Sunny Shah [Thu, 14 Jul 2016 19:13:56 +0000 (14:13 -0500)]
Fixed issues seen while parsing a simple ARM binary

* Direct register expressions need to have their type set - this is set to SgAsmIntegerType for now. The type's signed-ness is set to unsigned, but it shouldn't matter because the only place register expressions' types are used is when accessing the width.
* regPos wasn't being set correctly for ARM flags when converting a Dyninst register to a ROSE register.
* The correct jump table analysis functions are now being called for ARM binaries.

4 years agoCreate Dispatcher object during symbolic expansion for instruction processing
Sunny Shah [Wed, 13 Jul 2016 16:25:23 +0000 (11:25 -0500)]
Create Dispatcher object during symbolic expansion for instruction processing

A BaseSemantics::Dispatcher object is created using the passed in RiscOperators object during the expansion of ARM64 instructions. A similar thing will be done for other architectures once they move to the new semantics.

4 years agoFixed issues seen while building SymEvalSemantics.C.
Sunny Shah [Wed, 13 Jul 2016 16:04:08 +0000 (11:04 -0500)]
Fixed issues seen while building SymEvalSemantics.C.

4 years agoAdded implementation for RiscOperators::addWithCarries().
Sunny Shah [Wed, 13 Jul 2016 16:02:26 +0000 (11:02 -0500)]
Added implementation for RiscOperators::addWithCarries().

4 years agoMerge pull request #118 from dyninst/release9.2/fixes/liveness-patch 124/head
John Detter [Tue, 12 Jul 2016 21:57:36 +0000 (16:57 -0500)]
Merge pull request #118 from dyninst/release9.2/fixes/liveness-patch

Release9.2/fixes/liveness patch

4 years agoAdded redundant register definitions 118/head
John Detter [Tue, 12 Jul 2016 21:51:39 +0000 (16:51 -0500)]
Added redundant register definitions

4 years agoMerge branch 'master' into release9.2/fixes/liveness-patch
John Detter [Tue, 12 Jul 2016 21:03:11 +0000 (16:03 -0500)]
Merge branch 'master' into release9.2/fixes/liveness-patch

4 years agoFix for #114. Support has been added for 32 bit YMM, ZMM and K mask registers to...
John Detter [Tue, 12 Jul 2016 20:59:28 +0000 (15:59 -0500)]
Fix for #114. Support has been added for 32 bit YMM, ZMM and K mask registers to prevent future similar issues.

4 years agoAllow accessing StateARM64's Dyninst::Address member in RegisterStateARM64 for use...
Sunny Shah [Tue, 12 Jul 2016 17:50:44 +0000 (12:50 -0500)]
Allow accessing StateARM64's Dyninst::Address member in RegisterStateARM64 for use by wrap().

When calling wrap() in RegisterStateARM64::readRegister(), the Dyninst::Address member passed in to StateARM64 needs to be accessed. A new RegisterStateARM64::readRegister is added which takes the RegisterDescriptor and the Dyninst::Address, and the default readRegister() causes an assert().

RiscOperators in SymEvalSemantics is renamed to RiscOperatorsARM64. Two methods in it were wrongly named -- they have been renamed to their correct versions.

Building of SymEvalSemantics is also enabled now.

4 years agoWhen reaching shared blocks that have been parsed, we still need to invalidate the...
Xiaozhu Meng [Tue, 12 Jul 2016 16:36:34 +0000 (11:36 -0500)]
When reaching shared blocks that have been parsed, we still need to invalidate the cache of the current function as the function should include all the shared blocks

4 years agoMerge branch 'release9.2/fixes/aes-extension' into v9.2_patches
John Detter [Mon, 11 Jul 2016 07:00:48 +0000 (02:00 -0500)]
Merge branch 'release9.2/fixes/aes-extension' into v9.2_patches

4 years agoMerge branch 'release9.2/fixes/modify-data-assert' into v9.2_patches
John Detter [Mon, 11 Jul 2016 07:00:30 +0000 (02:00 -0500)]
Merge branch 'release9.2/fixes/modify-data-assert' into v9.2_patches

4 years agoAdded definitions for the remaining pure virtual members of the RiscOperators class...
Sunny Shah [Fri, 8 Jul 2016 21:56:40 +0000 (16:56 -0500)]
Added definitions for the remaining pure virtual members of the RiscOperators class for use by SymEvalSemantics.

4 years agoAdded definitions for about half of the pure virtual methods of the RiscOperators...
Sunny Shah [Fri, 8 Jul 2016 21:26:29 +0000 (16:26 -0500)]
Added definitions for about half of the pure virtual methods of the RiscOperators class.

Most of these micro-operations just translate to the creation of a unary/binary/ternary AST. Utility methods for creating such ASTs and then wrapping them around a SValuePtr are also added.

4 years agoDefinitions of the register state, memory state and value type for SymEval semantics...
Sunny Shah [Fri, 8 Jul 2016 17:29:16 +0000 (12:29 -0500)]
Definitions of the register state, memory state and value type for SymEval semantics are now complete.

Also modified the intialization of all 4 required components in SymEval.C to use the new definitions instead of those in BaseSemantics2.h. The final RiscOperators object is thus setup to be usable by Dyninst.

4 years agoFix for #116
John Detter [Thu, 7 Jul 2016 21:04:52 +0000 (16:04 -0500)]
Fix for #116

4 years agoRemoved slicing check for "skipRegs".
Matt Morehouse [Thu, 7 Jul 2016 20:34:56 +0000 (15:34 -0500)]
Removed slicing check for "skipRegs".

Instruction displacement updates were being incorrectly calculated
for registers labeled as skipRegs.  Simply labeling such registers
as non-skipRegs fixes the issue.  Fixes #113.

4 years agoAdded missing CRC32 instruction variation 115/head
John Detter [Wed, 6 Jul 2016 21:19:09 +0000 (16:19 -0500)]
Added missing CRC32 instruction variation

4 years agoAES instruction extension complete.
John Detter [Wed, 6 Jul 2016 20:59:06 +0000 (15:59 -0500)]
AES instruction extension complete.

4 years agoAdding support for aes instruction set extension
John Detter [Wed, 6 Jul 2016 20:30:34 +0000 (15:30 -0500)]
Adding support for aes instruction set extension

4 years agoAdded definitions/declarations of methods for the ARM64 register state
Sunny Shah [Tue, 5 Jul 2016 18:00:27 +0000 (13:00 -0500)]
Added definitions/declarations of methods for the ARM64 register state

4 years agoClass declarations for SymEvalSemantics
Sunny Shah [Fri, 1 Jul 2016 22:02:15 +0000 (17:02 -0500)]
Class declarations for SymEvalSemantics

SymEvalPolicy is now called "SymEvalSemantics" - in line with the terminology of the new semantics framework. Using this requires the implementation of 4 main classes - SValue (the value type), RegisterState, MemoryState and RiscOperators. All of these inherit from their respective definitions in BaseSemantics2.h.

Everything from the old policy (eg. SymEvalPolicy) needs to be mapped to these 4 classes. Currently, the implementation of SValue is mostly complete (a couple methods are yet to be implemented and few others need a little more thought) and declarations for some methods in RiscOperators have been added.

4 years agoInitialize semantics for use with ARM64
Sunny Shah [Thu, 30 Jun 2016 18:21:25 +0000 (13:21 -0500)]
Initialize semantics for use with ARM64

Before the dispatcher for ARM64 can be called for instruction processing, the value type, register state, memory state and RISC operators need to be initialized. Ideally, these should be specific to Dyninst's SymEvalPolicy. That policy, however, needs to be re-written to work with the new semantics - this hasn't been done yet. Thus the current initializations of the type, states and operators use the base types (defined in BaseSemantics2.h) and will later by replaced by concretized versions.

4 years agoUpdate version numbers and dates in doc manuals v9.2.0
Xiaozhu Meng [Wed, 29 Jun 2016 21:54:14 +0000 (16:54 -0500)]
Update version numbers and dates in doc manuals

4 years agoBump version number and date for dyninstAPI and proccontrol manuals
Xiaozhu Meng [Wed, 29 Jun 2016 21:59:35 +0000 (16:59 -0500)]
Bump version number and date for dyninstAPI and proccontrol manuals

4 years agoAdd dataflow manual.
Bill Williams [Wed, 29 Jun 2016 21:50:18 +0000 (16:50 -0500)]
Add dataflow manual.

4 years agoUpdate manuals and docs target for 9.2.
Bill Williams [Wed, 29 Jun 2016 21:49:44 +0000 (16:49 -0500)]
Update manuals and docs target for 9.2.

4 years agoBump version to 9.2.0 and update README with 9.2 release notes.
Bill Williams [Wed, 29 Jun 2016 21:16:44 +0000 (16:16 -0500)]
Bump version to 9.2.0 and update README with 9.2 release notes.

4 years agoTrack the relationship between base and subregisters.
Matt Morehouse [Wed, 29 Jun 2016 19:17:31 +0000 (14:17 -0500)]
Track the relationship between base and subregisters.

Any modification of a base register (e.g., RAX) has a related
modification on its subregister (e.g., EAX).  The opposite is also
true.  This commit introduces functionality to track that
relationship so that modifying one register in the pair affects the
other register appropriately.

4 years agoRemove flag tracking from StackAnalysis.
Matt Morehouse [Wed, 29 Jun 2016 18:11:09 +0000 (13:11 -0500)]
Remove flag tracking from StackAnalysis.

4 years agoImprove handling of XOR.
Matt Morehouse [Wed, 29 Jun 2016 18:04:41 +0000 (13:04 -0500)]
Improve handling of XOR.

Add memory tracking to StackAnalysis::handleXor() and replace
the default handling with more correct handling.

4 years agoChange representation of delta functions.
Matt Morehouse [Wed, 29 Jun 2016 17:40:13 +0000 (12:40 -0500)]
Change representation of delta functions.

Represent delta functions as "copies with deltas", where the from
and target locations are the same.  This representation simplifies
much of the accumulation logic for deltas.

4 years agoRemove sentinel values from Height and TransferFunc classes.
Matt Morehouse [Wed, 29 Jun 2016 17:25:39 +0000 (12:25 -0500)]
Remove sentinel values from Height and TransferFunc classes.

Use a flag to specify TOP and BOTTOM rather than MAX_LONG and
MIN_LONG.

4 years agoReorganize StackAnalysis header file.
Matt Morehouse [Wed, 29 Jun 2016 17:00:33 +0000 (12:00 -0500)]
Reorganize StackAnalysis header file.

Move some implementation details to the implementation file to
avoid clutter.  Also ensure uniform indentation in both files.

4 years agoAdd function summary capability to StackAnalysis.
Matt Morehouse [Wed, 29 Jun 2016 16:20:45 +0000 (11:20 -0500)]
Add function summary capability to StackAnalysis.

A function summary is a mapping from Abslocs to TransferFuncs. Each
Absloc in the mapping represents an abstract location that is
modified by the function. Each TransferFunc in the mapping
describes how the corresponding Absloc is defined in terms of
function inputs after the function returns. This commit adds the
StackAnalysis::getFunctionSummary() method which generates and
returns function summaries for the specified function.

4 years agoMiscellaneous accumulation logic fixes.
Matt Morehouse [Wed, 29 Jun 2016 00:16:32 +0000 (19:16 -0500)]
Miscellaneous accumulation logic fixes.

4 years agoFix return handling and add memory tracking for leave instructions.
Matt Morehouse [Wed, 29 Jun 2016 00:14:58 +0000 (19:14 -0500)]
Fix return handling and add memory tracking for leave instructions.

4 years agoAdd memory tracking for push/pop instructions.
Matt Morehouse [Wed, 29 Jun 2016 00:05:28 +0000 (19:05 -0500)]
Add memory tracking for push/pop instructions.

4 years agoRename aliasFunc to copyFunc.
Matt Morehouse [Wed, 29 Jun 2016 00:03:45 +0000 (19:03 -0500)]
Rename aliasFunc to copyFunc.

Copying is a more accurate description of the operation that
aliasFunc has been capturing since the copied value can be modified
without changing any of the other copies.

4 years agoAdd check for stack accesses with unknown offsets.
Matt Morehouse [Tue, 28 Jun 2016 23:59:22 +0000 (18:59 -0500)]
Add check for stack accesses with unknown offsets.

4 years agoMerge branch 'arm64/feature/semantics_importnew'
Sunny Shah [Wed, 29 Jun 2016 18:03:13 +0000 (13:03 -0500)]
Merge branch 'arm64/feature/semantics_importnew'

4 years agoMerge branch 'master' of https://github.com/dyninst/dyninst
Sunny Shah [Wed, 29 Jun 2016 18:02:53 +0000 (13:02 -0500)]
Merge branch 'master' of https://github.com/dyninst/dyninst

4 years agoMerge pull request #112 from dyninst/release9.2/fixes/rewriter_assert
John Detter [Wed, 29 Jun 2016 15:59:17 +0000 (10:59 -0500)]
Merge pull request #112 from dyninst/release9.2/fixes/rewriter_assert

Disabled condition decoding in stack rewriting.

4 years agoDisabled condition decoding in stack rewriting. 112/head
John Detter [Wed, 29 Jun 2016 14:35:33 +0000 (09:35 -0500)]
Disabled condition decoding in stack rewriting.

4 years agoMerge pull request #109 from cuviper/paged-papercuts
Bill Williams [Tue, 28 Jun 2016 21:11:06 +0000 (16:11 -0500)]
Merge pull request #109 from cuviper/paged-papercuts

symtabAPI: Apply corrections for the library_adjust page offset

4 years agoMerge pull request #107 from dyninst/VEX
John Detter [Tue, 28 Jun 2016 20:32:19 +0000 (15:32 -0500)]
Merge pull request #107 from dyninst/VEX

Rewriter fixes, instruction decoding fixes.

4 years agoProperly check the return value of inferior malloc irpc 107/head
Xiaozhu Meng [Tue, 28 Jun 2016 18:34:12 +0000 (13:34 -0500)]
Properly check the return value of inferior malloc irpc

4 years agosymtabAPI: Apply corrections for the library_adjust page offset 109/head
Josh Stone [Tue, 28 Jun 2016 00:44:49 +0000 (17:44 -0700)]
symtabAPI: Apply corrections for the library_adjust page offset

This commit aggregates the incremental fixes that Bill Williams and I
found while investigating issue #93, rewriting libc.so.

- The offsets of new sections need to account for library_adjust when
  placing themselves after the first new section.
- TLS symbol values need *not* be adjusted, as they're section-relative.
- DT_INIT/FINI values need to be adjusted.
- x86 IRELATIVE relocations need their addends adjusted.

Fixes #93.

4 years agoMerge branch 'VEX' of http://github.com/dyninst/dyninst into VEX
John Detter [Tue, 28 Jun 2016 00:26:21 +0000 (19:26 -0500)]
Merge branch 'VEX' of github.com/dyninst/dyninst into VEX

4 years agoFixed Mark Krentel's build issue
John Detter [Mon, 27 Jun 2016 23:47:43 +0000 (18:47 -0500)]
Fixed Mark Krentel's build issue

4 years agoMerge pull request #105 from pefoley2/llvm_travis
Bill Williams [Mon, 27 Jun 2016 21:13:49 +0000 (16:13 -0500)]
Merge pull request #105 from pefoley2/llvm_travis

Don't use broken llvm apt mirror

4 years agoMerge branch 'master' of https://github.com/dyninst/dyninst
Sunny Shah [Mon, 27 Jun 2016 17:21:23 +0000 (12:21 -0500)]
Merge branch 'master' of https://github.com/dyninst/dyninst

4 years agoIntegration of ROSE's new semantics framework with Dyninst
Sunny Shah [Mon, 27 Jun 2016 17:07:07 +0000 (12:07 -0500)]
Integration of ROSE's new semantics framework with Dyninst

This commit brings in and sets up all the files required to use the new ROSE semantics framework from within Dyninst. The starting point for this was the src/midend/binaryAnalyses/instructionSemantics folder within ROSE's source tree. All the other files have been added because semantics directlyu or indirectly depends on them.

After adding the file to the Dyninst source, several changes may or may not have been made to it. Most of the changes revolve around updating the include paths and removing any macros used by ROSE but not required by Dyninst. Other minor changes have also been made based on build errors/warnings.

Currently, he build succeeds but with a ton of warnings. I've suppressed them for the time being.

By doing this, both old and new instruction semantics should ideally be able to co-exist, although this hasn't been tested yet.

4 years agoMerge pull request #108 from pefoley2/VEX_win
John Detter [Mon, 27 Jun 2016 16:40:43 +0000 (11:40 -0500)]
Merge pull request #108 from pefoley2/VEX_win

fix dll linkage on windows

4 years agofix dll linkage on windows 108/head
Peter Foley [Fri, 24 Jun 2016 18:00:33 +0000 (14:00 -0400)]
fix dll linkage on windows

4 years agoDon't use broken llvm apt mirror 105/head
Peter Foley [Fri, 24 Jun 2016 13:56:18 +0000 (09:56 -0400)]
Don't use broken llvm apt mirror

4 years agoBuild fix for 32 bit environments 106/head
John Detter [Fri, 24 Jun 2016 15:47:22 +0000 (10:47 -0500)]
Build fix for 32 bit environments

4 years agoBuild fix for 32 bit environments
John Detter [Wed, 22 Jun 2016 18:48:48 +0000 (13:48 -0500)]
Build fix for 32 bit environments

4 years agoFixed test_mem* issues
John Detter [Tue, 21 Jun 2016 23:23:58 +0000 (18:23 -0500)]
Fixed test_mem* issues

4 years agoMerge branch 'master' into VEX
John Detter [Tue, 21 Jun 2016 19:12:11 +0000 (14:12 -0500)]
Merge branch 'master' into VEX

4 years agoMerge pull request #102 from mxz297/master
Xiaozhu Meng [Tue, 21 Jun 2016 17:04:08 +0000 (12:04 -0500)]
Merge pull request #102 from mxz297/master

Fixes for jump table, instruction decoding, windows proccontrol

4 years agoFixes Windows Build 102/head
Xiaozhu Meng [Tue, 21 Jun 2016 16:49:20 +0000 (11:49 -0500)]
Fixes Windows Build

4 years agoAdded missing memory addressing modes from InstructionAPI
John Detter [Tue, 21 Jun 2016 14:24:05 +0000 (09:24 -0500)]
Added missing memory addressing modes from InstructionAPI

4 years agoMerge remote-tracking branch 'upstream/master' into windows
Xiaozhu Meng [Tue, 21 Jun 2016 02:33:21 +0000 (21:33 -0500)]
Merge remote-tracking branch 'upstream/master' into windows

4 years agoFixed a memory decoding issue
John Detter [Mon, 20 Jun 2016 22:04:21 +0000 (17:04 -0500)]
Fixed a memory decoding issue

4 years agoDisabled relocation debugging output
John Detter [Mon, 20 Jun 2016 21:22:39 +0000 (16:22 -0500)]
Disabled relocation debugging output

4 years agoBinary rewriting (IP relative) has been cleaned up and is working again
John Detter [Mon, 20 Jun 2016 21:17:27 +0000 (16:17 -0500)]
Binary rewriting (IP relative) has been cleaned up and is working again

4 years agoUse __thread instead of thread_local on non-windows platforms
Xiaozhu Meng [Mon, 20 Jun 2016 19:14:54 +0000 (14:14 -0500)]
Use __thread instead of thread_local on non-windows platforms

4 years agoFixes for procontrol on Windows including proper locking when deleting
Xiaozhu Meng [Mon, 20 Jun 2016 18:06:43 +0000 (13:06 -0500)]
Fixes for procontrol on Windows including proper locking when deleting
threads and broadcasting the conditional variable when create events
arrive

4 years agoFixed memory addressing assert
John Detter [Mon, 20 Jun 2016 12:40:07 +0000 (07:40 -0500)]
Fixed memory addressing assert

4 years agoBinary rewriting bugs fixed -- still segfault's with Unix benchmarking tool
John Detter [Mon, 20 Jun 2016 12:25:47 +0000 (07:25 -0500)]
Binary rewriting bugs fixed -- still segfault's with Unix benchmarking tool

4 years agoBug fixes for instruction parsing
John Detter [Mon, 20 Jun 2016 07:17:35 +0000 (02:17 -0500)]
Bug fixes for instruction parsing

4 years agoMerge branch 'master' of http://github.com/dyninst/dyninst into VEX
John Detter [Mon, 20 Jun 2016 05:17:31 +0000 (00:17 -0500)]
Merge branch 'master' of github.com/dyninst/dyninst into VEX

4 years agoError checking improvements
John Detter [Mon, 20 Jun 2016 05:17:22 +0000 (00:17 -0500)]
Error checking improvements

4 years agoMake the tramp guard bigger to avoid a glibc bug.
Josh Stone [Sat, 18 Jun 2016 00:28:07 +0000 (17:28 -0700)]
Make the tramp guard bigger to avoid a glibc bug.

Having just one byte of TLS induces glibc bug 14898 with the definition
of FORCED_DYNAMIC_TLS_OFFSET.  Bumping to two bytes avoids this.

Fixes #101

4 years agoImplemented rewriting fix -- testing
John Detter [Fri, 17 Jun 2016 20:02:42 +0000 (15:02 -0500)]
Implemented rewriting fix -- testing

4 years agoRTlib: use static TLS for the tramp guard (#99)
Josh Stone [Fri, 17 Jun 2016 17:51:43 +0000 (10:51 -0700)]
RTlib: use static TLS for the tramp guard (#99)

With dynamic TLS, the call to __tls_get_addr() could reach additional
instrumented code, infinitely recursing back to check the tramp guard.
Static TLS is a limited resource, but this case in RTlib is special
enough to warrant it for safety alone, nevermind performance.

4 years agoPrevent memory corruption: Dwarf_Dbg is a pointer under the hood, so don't take refer...
Bill Williams [Fri, 17 Jun 2016 16:17:11 +0000 (11:17 -0500)]
Prevent memory corruption: Dwarf_Dbg is a pointer under the hood, so don't take references to it.

4 years agoMerge branch 'heap_refactoring' of https://github.com/pefoley2/dyninst into windows
Xiaozhu Meng [Thu, 16 Jun 2016 22:13:17 +0000 (17:13 -0500)]
Merge branch 'heap_refactoring' of https://github.com/pefoley2/dyninst into windows

4 years agoMerge branch 'vs_build_fixes' of https://github.com/pefoley2/dyninst into windows
Xiaozhu Meng [Thu, 16 Jun 2016 21:31:06 +0000 (16:31 -0500)]
Merge branch 'vs_build_fixes' of https://github.com/pefoley2/dyninst into windows

4 years agoFix jump table analysis for 32-bit PIC code
Xiaozhu Meng [Wed, 15 Jun 2016 23:46:37 +0000 (18:46 -0500)]
Fix jump table analysis for 32-bit PIC code

4 years agoMerge branch 'arm64/feature/semantics_roseconvert'
Sunny Shah [Wed, 15 Jun 2016 21:05:33 +0000 (16:05 -0500)]
Merge branch 'arm64/feature/semantics_roseconvert'

4 years agouse more modern gcc 97/head
Peter Foley [Fri, 6 May 2016 03:30:05 +0000 (23:30 -0400)]
use more modern gcc

4 years agolink windows libraries privately
Peter Foley [Fri, 6 May 2016 03:18:59 +0000 (23:18 -0400)]
link windows libraries privately

4 years agofix Mutex undefined reference
Peter Foley [Fri, 6 May 2016 02:52:45 +0000 (22:52 -0400)]
fix Mutex undefined reference

4 years agodon't build parseThat on windows
Peter Foley [Fri, 6 May 2016 19:53:33 +0000 (15:53 -0400)]
don't build parseThat on windows

4 years agoVisual Studio build fixes
Peter Foley [Fri, 6 May 2016 17:41:35 +0000 (13:41 -0400)]
Visual Studio build fixes

4 years agoCleanup _snprintf logic
Peter Foley [Fri, 6 May 2016 00:19:28 +0000 (20:19 -0400)]
Cleanup _snprintf logic

Fix building dyninstAPI_RT with VS 2015.
Remove unnecessary overriding of _snprintf in favor of a centralized
definition.

4 years agouse thread_local for VS compatibility
Peter Foley [Fri, 6 May 2016 00:47:15 +0000 (20:47 -0400)]
use thread_local for VS compatibility

4 years agoBuild DyninstAPI_RT on Windows
Peter Foley [Wed, 15 Jun 2016 17:27:08 +0000 (13:27 -0400)]
Build DyninstAPI_RT on Windows

4 years agoRefactor RTheap to avoid doing arithmetic with void* 95/head
Peter Foley [Wed, 15 Jun 2016 17:52:23 +0000 (13:52 -0400)]
Refactor RTheap to avoid doing arithmetic with void*

Only causes a warning with gcc, but a fatal error with VS 2015.

4 years agodon't build docs by default under VS
Peter Foley [Mon, 30 May 2016 17:46:44 +0000 (13:46 -0400)]
don't build docs by default under VS

4 years agobundle cvconst.h
Peter Foley [Fri, 6 May 2016 03:21:47 +0000 (23:21 -0400)]
bundle cvconst.h

4 years agodelete generated vs files
Peter Foley [Thu, 5 May 2016 23:29:11 +0000 (19:29 -0400)]
delete generated vs files