dyninst.git
11 years agoRemoved -g debug info flag when building RT library assembly file
Matthew Legendre [Tue, 10 Feb 2009 20:54:22 +0000 (14:54 -0600)]
Removed -g debug info flag when building RT library assembly file

Madhavi discovered a problem when building the RT library with debug info enabled, where one of the assembly files would produce a .o file with un-resolvable relocations.  This almost seems like a bug in our assembler, as a debug info symbol should not need relocations in the first place.

I've fixed this by removing the -g option for building this file.  Debug info odesn't produce anything useful for assembly files anyways.

11 years agofix solaris 2.9 newtestsuite build. (add compiler parameter for test6 assembly files)
James Waskiewicz [Tue, 10 Feb 2009 20:00:11 +0000 (15:00 -0500)]
fix solaris 2.9 newtestsuite build.  (add compiler parameter for test6 assembly files)

11 years agoFix missing whitespace in makemake.py and regenerate newtestsuite files
Matthew Legendre [Tue, 10 Feb 2009 17:38:37 +0000 (11:38 -0600)]
Fix missing whitespace in makemake.py and regenerate newtestsuite files

11 years agoFix build failure in newtestsuite
Matthew Legendre [Mon, 9 Feb 2009 22:33:17 +0000 (16:33 -0600)]
Fix build failure in newtestsuite

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Fri, 6 Feb 2009 22:18:26 +0000 (16:18 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
newtestsuite/src/dyninst/test5_7_mutatee.C

11 years agoBug fixes that go with the Binary Rewriter features
Matthew Legendre [Fri, 6 Feb 2009 22:16:05 +0000 (16:16 -0600)]
Bug fixes that go with the Binary Rewriter features

11 years agoIntroducing recursive traversal parsing into Dyninst.
Nathan Rosenblum [Thu, 22 Jan 2009 20:03:16 +0000 (14:03 -0600)]
Introducing recursive traversal parsing into Dyninst.

Instead of blindly parsing past call instructions, we now
parse the callee first, attempting to determine (if possible)
whether the function returns. If we can safely determine that
it _does not_, parsing is terminated at the call instruction
to prevent misparsed code.

This commit also disables speculative parsing of stripped
binaries using our current heuristics, which are known to
be faulty on some platforms.

A couple of other fixes crept in:

 - Functions created based on bad symbol table data
   (e.g., invalid addresses) are no longer parsed

 - A couple of build errors in the newtestsuite

11 years agoGracefully handle unexpectedly empty SYMTAB sections
Nathan Rosenblum [Fri, 6 Feb 2009 19:00:20 +0000 (13:00 -0600)]
Gracefully handle unexpectedly empty SYMTAB sections

We were not checking for validity of SYMTAB sections handed back by libelf;
this commit prevents faults in the case of empty but extant sections.

11 years agoWindows build fixes, take 1:
Bill Williams [Fri, 6 Feb 2009 18:43:59 +0000 (12:43 -0600)]
Windows build fixes, take 1:

* Test suite make gen-clean, make gen-all should work again.
* test2_10 removed from Windows genfiles
* Annotation test now passes on Windows
* Removed unused local from pdwinnt.C, thus removing a compiler warning

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Thu, 5 Feb 2009 20:36:32 +0000 (14:36 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dyninstAPI/src/BPatch_type.C
symtabAPI/src/parseDwarf.C

11 years agoBug fixes from testing binaryEdit changes
Matthew Legendre [Thu, 5 Feb 2009 20:34:03 +0000 (14:34 -0600)]
Bug fixes from testing binaryEdit changes

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Thu, 5 Feb 2009 20:33:09 +0000 (14:33 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dyninstAPI/src/BPatch_addressSpace.C
dyninstAPI/src/BPatch_module.C
dyninstAPI/src/BPatch_snippet.C
make.config
symtabAPI/src/parseDwarf.C

11 years agoThis commit allows us to return a correct set of types in BPatch_type::getComponents...
Tugrul Ince [Wed, 4 Feb 2009 20:39:20 +0000 (15:39 -0500)]
This commit allows us to return a correct set of types in BPatch_type::getComponents() for types whose base type (constituent type) is a structure/class.

In Dyninst::Symtab::Type::getComponents(), we were ignoring all derived types that are not typedefs. However, pointers to classes/structures are derived types that should be handled correctly. Instead of just dealing with typedeftypes, we now treat all derived types the same: return the components of the base type.

We never created BPatch_type objects for some Dyninst::Symtab::Type's. Therefore, the upPtr in Type was set to null. However, for derived types, Dyninst::Symtab::Type::getComponents() relies on correctly set upPtr's. Now, whenever we create a new BPatch_type from a Type object that is a derived type, we create a BPatch_type object for the base type as well. upPtr's are set accordingly in BPatch_type constructor. For now, we are not registering these new BPatch_type objects anywhere else.

11 years agoChanged reference to `stl::vector' to `pdvector', as AIX still uses
Nathan Rosenblum [Wed, 4 Feb 2009 16:39:49 +0000 (10:39 -0600)]
Changed reference to `stl::vector' to `pdvector', as AIX still uses
our home-rolled vector class.

11 years agoAdded AMD64 IP-relative "indirect" branch parsing.
Bill Williams [Tue, 3 Feb 2009 20:18:34 +0000 (14:18 -0600)]
Added AMD64 IP-relative "indirect" branch parsing.
AMD64 allows relative branches to be encoded either in the traditional IA32 manner, or as an indirect branch off the RIP register.
We were trying to handle RIP-relative indirect branches as jump tables, not as ordinary relative branches.  Fixed.

11 years agoChanged highPC to ~0 from -1.
madhavi [Tue, 3 Feb 2009 18:33:51 +0000 (12:33 -0600)]
Changed highPC to ~0 from -1.
Also type casted constants to match Address type.

11 years agoFixed typo in test1_27_mutatee.c
madhavi [Tue, 3 Feb 2009 18:14:44 +0000 (12:14 -0600)]
Fixed typo in test1_27_mutatee.c

11 years agoRemove more spurious prints
Matthew Legendre [Tue, 3 Feb 2009 00:28:33 +0000 (18:28 -0600)]
Remove more spurious prints

11 years agoFixed problem with resume log not being cleaned and spurious prints
Matthew Legendre [Tue, 3 Feb 2009 00:27:21 +0000 (18:27 -0600)]
Fixed problem with resume log not being cleaned and spurious prints

11 years agoRemoved spurious Fortran test prints
Matthew Legendre [Tue, 3 Feb 2009 00:26:22 +0000 (18:26 -0600)]
Removed spurious Fortran test prints

11 years agoFix Warnings
Matthew Legendre [Tue, 3 Feb 2009 00:25:11 +0000 (18:25 -0600)]
Fix Warnings

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Tue, 3 Feb 2009 00:17:27 +0000 (18:17 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dyninstAPI/src/BPatch_image.C
dyninstAPI/src/linux.C

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Mon, 2 Feb 2009 23:18:04 +0000 (17:18 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoRe-add the shared memory module to the Dyninst source repository. I've
Andrew Bernat [Mon, 2 Feb 2009 23:16:06 +0000 (17:16 -0600)]
Re-add the shared memory module to the Dyninst source repository. I've
moved it to a "valueAdded" directory.

"make ValueAdded" will compile all such value-added modules.

11 years agoMisc binary rewriter fixes:
Michael Lam [Mon, 2 Feb 2009 22:55:40 +0000 (17:55 -0500)]
Misc binary rewriter fixes:
+ Recalculate program header sizes
+ Fixed attributes for inter-library call symbols
+ Removed duplicate symbols for inter-library call symbols

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
Bill Williams [Mon, 2 Feb 2009 21:58:38 +0000 (15:58 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoFix for bugs introduced by my variable lookup optimization:
Bill Williams [Mon, 2 Feb 2009 21:58:04 +0000 (15:58 -0600)]
Fix for bugs introduced by my variable lookup optimization:

* Return null if variable not found
* Use int_variables for lookup if we don't find anything in globalVarsByName
* Remove spurious lookup for gBRKptr, which only existed for save_the_world

11 years agoModified
madhavi [Mon, 2 Feb 2009 19:29:14 +0000 (13:29 -0600)]
Modified
typedef struct {...} a;
to
struct a_t {...} ; typedef a_t a;

in test1_27 since g++ did not produce correct dwarf information for "typedef struct {...} a;"

11 years agoFixed BPatch_snippet to check if Frame Pointer location list is NULL (test1_35 crash)
madhavi [Mon, 2 Feb 2009 17:07:00 +0000 (11:07 -0600)]
Fixed BPatch_snippet to check if Frame Pointer location list is NULL (test1_35 crash)

11 years agoAdded qualifier for loc_t - that crashed AIX
madhavi [Fri, 30 Jan 2009 21:30:33 +0000 (15:30 -0600)]
Added qualifier for loc_t - that crashed AIX

11 years agoFixed segmentation fault for gcc in AMD64 due to uninitialized location list.
madhavi [Fri, 30 Jan 2009 20:06:26 +0000 (14:06 -0600)]
Fixed segmentation fault for gcc in AMD64 due to uninitialized location list.

11 years agoRemoved debugging printf from BPatch_snippet
madhavi [Fri, 30 Jan 2009 06:41:13 +0000 (00:41 -0600)]
Removed debugging printf from BPatch_snippet

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
madhavi [Thu, 29 Jan 2009 22:58:54 +0000 (16:58 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoThis commit fixes local variable parsing.
madhavi [Thu, 29 Jan 2009 22:57:51 +0000 (16:57 -0600)]
This commit fixes local variable parsing.
DW_AT_Location of a local variable can be a location list. If at some point, the local variable is in the stack, its location can point to an offset from the frame pointer.
In AMD64, the location of the frame pointer itself can be by a location list.
So, we need to merge the location list of the local variable and frame pointer for overlapping regions.

I modified the following files to implement merging of location lists, if required.

 dyninstAPI/src/BPatch_snippet.C
- Finds if a local variable is in a stack and its frame pointer has a location list.
  If so, merges the two location list.

 symtabAPI/h/Function.h
 symtabAPI/src/Function.C
- Stores the location list associated with a frame pointer

 symtabAPI/src/parseDwarf.C
- Parses the location list of a frame pointer and stores it

11 years agoMerge git.dyninst.org:/pub/dyninst into tcfix
Nathan Rosenblum [Thu, 29 Jan 2009 22:43:26 +0000 (16:43 -0600)]
Merge git.dyninst.org:/pub/dyninst into tcfix

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
Bill Williams [Thu, 29 Jan 2009 22:36:57 +0000 (16:36 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoOptimization: BPatch_process now looks up variables from the Dyninst runtime library...
Bill Williams [Thu, 29 Jan 2009 22:34:04 +0000 (16:34 -0600)]
Optimization: BPatch_process now looks up variables from the Dyninst runtime library by specific module.
This avoids a significant amount of unnecessary parsing.

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst into tcfix
Nathan Rosenblum [Thu, 29 Jan 2009 22:13:23 +0000 (16:13 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst into tcfix

11 years agoFix some odd reversion issues with my previous commit.
Andrew Bernat [Thu, 29 Jan 2009 21:52:03 +0000 (15:52 -0600)]
Fix some odd reversion issues with my previous commit.

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 29 Jan 2009 21:26:49 +0000 (15:26 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoFix AMD-64 32-bit mode.
Andrew Bernat [Thu, 29 Jan 2009 21:26:27 +0000 (15:26 -0600)]
Fix AMD-64 32-bit mode.

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
Bill Williams [Thu, 29 Jan 2009 21:25:47 +0000 (15:25 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoFixed a pernicious AMD64 crash bug with 32-bit mutatees.
Bill Williams [Thu, 29 Jan 2009 21:25:24 +0000 (15:25 -0600)]
Fixed a pernicious AMD64 crash bug with 32-bit mutatees.

When we load a library, we do a trap and a setPC deep in the guts of dlopen.  On AMD64, with a 32-bit mutatee, we were incorrectly using 64-bit values to set the mutatee PC.
Most of the time, the high 4 bytes were all zeros, and we were okay, but if they were ever non-zero, we'd segfault as soon as we tried to execute the next instruction.

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 29 Jan 2009 21:23:35 +0000 (15:23 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoAdds IA-32 to the list of platforms where BPatch_registerExpr and
Andrew Bernat [Thu, 29 Jan 2009 21:23:03 +0000 (15:23 -0600)]
Adds IA-32 to the list of platforms where BPatch_registerExpr and
BPatch_addressSpace::getRegisters are implemented.

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Thu, 29 Jan 2009 20:08:16 +0000 (14:08 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dyninstAPI/src/BPatch_asyncEventHandler.C
dyninstAPI/src/BPatch_image.C
make.config
symtabAPI/h/Variable.h
symtabAPI/src/Object-nt.C
symtabAPI/src/Variable.C
symtabAPI/src/parseDwarf.C

11 years agoAdd DYNINST_DEBUG_CRASH debugging mode
Matthew Legendre [Thu, 29 Jan 2009 17:30:51 +0000 (11:30 -0600)]
Add DYNINST_DEBUG_CRASH debugging mode

11 years agofixes error with annotation schema where you can specify a new
James Waskiewicz [Wed, 28 Jan 2009 23:00:08 +0000 (18:00 -0500)]
fixes error with annotation schema where you can specify a new
annotationClass with a given name, and a new ID will be assigned
regardless of whether that name has already been used.  Solution is
to add a static mapping of name<-->id that is checked before a name
is issued a new id.

Fleshes out test_anno_basic_types a bit more.

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Wed, 28 Jan 2009 19:32:21 +0000 (13:32 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
newtestsuite/src/test_lib.C
symtabAPI/src/Object-elf.C

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
James Waskiewicz [Wed, 28 Jan 2009 15:34:14 +0000 (10:34 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agofix stabs parsing for line information (elf platforms -- really just native sun compi...
James Waskiewicz [Wed, 28 Jan 2009 03:39:34 +0000 (22:39 -0500)]
fix stabs parsing for line information (elf platforms -- really just native sun compilers)

11 years agoMerge git.dyninst.org:/pub/dyninst into tcfix
Nathan Rosenblum [Tue, 27 Jan 2009 22:29:46 +0000 (16:29 -0600)]
Merge git.dyninst.org:/pub/dyninst into tcfix

11 years agoCheck for branches into the PLT; these we will label as tail calls.
Nathan Rosenblum [Tue, 27 Jan 2009 22:28:51 +0000 (16:28 -0600)]
Check for branches into the PLT; these we will label as tail calls.

11 years agoLink against libiberty or cplus_demangle and friends are undefined.
Nathan Rosenblum [Tue, 27 Jan 2009 22:27:32 +0000 (16:27 -0600)]
Link against libiberty or cplus_demangle and friends are undefined.
SymtabAPI may never have been tested on x86_64.

11 years agoBugfix for test5_1 crash on Windows.
Bill Williams [Tue, 27 Jan 2009 21:11:53 +0000 (15:11 -0600)]
Bugfix for test5_1 crash on Windows.

We were allocating a scratch virtual register in order to store the address of an indirect call.  We were then mapping this virtual register number to the physical register with the same ID.
This would enable us to overwrite ecx (call arguments), edx (ditto), ebp (bad for obvious reasons), and esp (really bad for obvious reasons) with the address that we were calling.
Fix: as per everywhere else in IA32 code generation, we use a known safe physical register (in this case, EAX).

11 years agoadjust logic for BPatch_image::getAddressRanges() -- first try to lookup module
James Waskiewicz [Tue, 27 Jan 2009 15:48:31 +0000 (10:48 -0500)]
adjust logic for BPatch_image::getAddressRanges() -- first try to lookup module
and perform search at that scope.  If that fails, then scan all modules.

11 years agoremove LineInformationImpl namespace
James Waskiewicz [Tue, 27 Jan 2009 15:26:01 +0000 (10:26 -0500)]
remove LineInformationImpl namespace

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Michael Lam [Mon, 26 Jan 2009 22:26:25 +0000 (17:26 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoFixed Symtab program header bug and improved hash table generation
Michael Lam [Mon, 26 Jan 2009 18:52:04 +0000 (13:52 -0500)]
Fixed Symtab program header bug and improved hash table generation

We weren't changing the file offset of the first segment, causing some
of the executable data to be mapped incorrectly.

We also nix any GNU hash information that exists because we currently do
not regenerate it, and force hash table bucket counts to be an odd
number.

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
Bill Williams [Mon, 26 Jan 2009 22:16:59 +0000 (16:16 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoAdded initial export of InstructionAPI instructions from BPatch_basicBlock, BPatch_pa...
Bill Williams [Mon, 26 Jan 2009 22:14:24 +0000 (16:14 -0600)]
Added initial export of InstructionAPI instructions from BPatch_basicBlock, BPatch_parRegion, and BPatch_instPoint.

Works well enough to create a mutator that disassembles itself (though not in objdump format).

11 years agolibX11 and libXT does not exist for 32 bit mode. Modified dlopen call to libform...
madhavi [Mon, 26 Jan 2009 18:07:04 +0000 (12:07 -0600)]
libX11 and libXT does not exist for 32 bit mode. Modified dlopen call to libform.so.5.6 and libresolv.so

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
James Waskiewicz [Sun, 25 Jan 2009 23:57:53 +0000 (18:57 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoaix build fix (CC vs GCC issue)
James Waskiewicz [Sun, 25 Jan 2009 23:55:52 +0000 (18:55 -0500)]
aix build fix (CC vs GCC issue)

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Fri, 23 Jan 2009 21:31:09 +0000 (15:31 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoRevert "Add some more SYMTAB_DEBUG_OBJECT statements for AIX debugging."
Andrew Bernat [Fri, 23 Jan 2009 21:29:09 +0000 (15:29 -0600)]
Revert "Add some more SYMTAB_DEBUG_OBJECT statements for AIX debugging."

This reverts commit c5546b488612f5a07759798a34eaf1559fb591dd.

11 years agoAdd some more SYMTAB_DEBUG_OBJECT statements for AIX debugging.
Andrew Bernat [Fri, 23 Jan 2009 21:28:13 +0000 (15:28 -0600)]
Add some more SYMTAB_DEBUG_OBJECT statements for AIX debugging.

11 years agoAdd pthread.h header file to libTest12, which uses pthread_self.
Andrew Bernat [Fri, 23 Jan 2009 21:27:28 +0000 (15:27 -0600)]
Add pthread.h header file to libTest12, which uses pthread_self.

11 years agoCorrectly build mutatee-side test libraries. Fixes bug 859
Andrew Bernat [Fri, 23 Jan 2009 21:19:48 +0000 (15:19 -0600)]
Correctly build mutatee-side test libraries. Fixes bug 859
(failure in test_callback_2 on AIX) as well as an identical failure
in test_thread_5.

11 years agoAdd two new error paths (instead of asserts) required by the testsuite.
Andrew Bernat [Fri, 23 Jan 2009 21:18:15 +0000 (15:18 -0600)]
Add two new error paths (instead of asserts) required by the testsuite.

Path 1: if the mutatee crashes while we are recognizing threads safely fail
  rather than asserting.
  Crash cause: an incorrect RT library function, also fixed.

Path 2: if we attempt to look up variables on an exited/deleted process,
  return failure instead of segfaulting/asserting
  Crash cause: an incorrect test library caused premature mutatee exit.

11 years agoStop building never-used test libraries (that fail to build on AIX)
Andrew Bernat [Fri, 23 Jan 2009 21:16:54 +0000 (15:16 -0600)]
Stop building never-used test libraries (that fail to build on AIX)

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
Bill Williams [Fri, 23 Jan 2009 00:19:28 +0000 (18:19 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoParsing fix: if we find any path back from an indirect branch that has a call before...
Bill Williams [Fri, 23 Jan 2009 00:09:46 +0000 (18:09 -0600)]
Parsing fix: if we find any path back from an indirect branch that has a call before a guard, don't try to parse that branch as a jump table.

11 years agoMake test variables global so that they work on AIX.
Andrew Bernat [Thu, 22 Jan 2009 23:47:09 +0000 (17:47 -0600)]
Make test variables global so that they work on AIX.

11 years agoMake test variables global
Andrew Bernat [Thu, 22 Jan 2009 23:30:38 +0000 (17:30 -0600)]
Make test variables global

11 years agoMake test variables global so they're visible on AIX.
Andrew Bernat [Thu, 22 Jan 2009 23:29:31 +0000 (17:29 -0600)]
Make test variables global so they're visible on AIX.

11 years agoUpdate DYNINST_ThreadPInfo in the runtime library to use the pthread info
Andrew Bernat [Thu, 22 Jan 2009 22:57:58 +0000 (16:57 -0600)]
Update DYNINST_ThreadPInfo in the runtime library to use the pthread info
structure defined in /usr/include/pthread.h rather than blindly poking memory.

Fixes Bug 861 and exposes new bugs.

11 years agoFixed build errors
madhavi [Thu, 22 Jan 2009 16:54:37 +0000 (10:54 -0600)]
Fixed build errors

11 years agoFixed build errors
madhavi [Thu, 22 Jan 2009 16:49:53 +0000 (10:49 -0600)]
Fixed build errors

11 years agoFinal merge for Windows testsuite fixes.
unknown [Wed, 21 Jan 2009 21:14:21 +0000 (15:14 -0600)]
Final merge for Windows testsuite fixes.

11 years agoMerge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst
unknown [Wed, 21 Jan 2009 21:03:56 +0000 (15:03 -0600)]
Merge branch 'master' of ssh://bill@git.dyninst.org/pub/dyninst

11 years agoWindows test suite & build fixes. VC2003 and VC2008 should both now build. Known...
unknown [Wed, 21 Jan 2009 21:03:12 +0000 (15:03 -0600)]
Windows test suite & build fixes.  VC2003 and VC2008 should both now build.  Known test failures in test1_33 and test5; known crashes in test3_5, which are by design.  Everything else should pass on Windows.

11 years agoFixed minor issue with binary rewriter (prefer dynamic symbols for inter-module calls)
Michael Lam [Wed, 21 Jan 2009 17:55:20 +0000 (12:55 -0500)]
Fixed minor issue with binary rewriter (prefer dynamic symbols for inter-module calls)

11 years agocheckpoint for merge
unknown [Tue, 20 Jan 2009 23:09:07 +0000 (17:09 -0600)]
checkpoint for merge

11 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Matthew Legendre [Mon, 19 Jan 2009 23:11:37 +0000 (17:11 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

11 years agoMake the modifyType call templated
Matthew Legendre [Mon, 19 Jan 2009 22:25:29 +0000 (16:25 -0600)]
Make the modifyType call templated

11 years agoSome generic test cleanup.
Matthew Legendre [Mon, 19 Jan 2009 22:24:35 +0000 (16:24 -0600)]
Some generic test cleanup.

11 years agorunTests wasn't properly removing the resumelog between runs
Matthew Legendre [Mon, 19 Jan 2009 22:22:58 +0000 (16:22 -0600)]
runTests wasn't properly removing the resumelog between runs

11 years agoremove test2_10. It was testing deprecated binary output functionality that we don...
Matthew Legendre [Mon, 19 Jan 2009 22:21:39 +0000 (16:21 -0600)]
remove test2_10.  It was testing deprecated binary output functionality that we don't support anymore.

11 years agoBPatch level getLineInformation was returning true, even when there was an error.
Matthew Legendre [Mon, 19 Jan 2009 22:16:12 +0000 (16:16 -0600)]
BPatch level getLineInformation was returning true, even when there was an error.

11 years agoFix problem with DWARF adding line info to wrong modules
Matthew Legendre [Mon, 19 Jan 2009 22:14:19 +0000 (16:14 -0600)]
Fix problem with DWARF adding line info to wrong modules

11 years agoUpdate more calls to updateType
Matthew Legendre [Mon, 19 Jan 2009 22:07:47 +0000 (16:07 -0600)]
Update more calls to updateType

11 years agoSymtabAPI was printing a message about readding line information and asking for inves...
Matthew Legendre [Mon, 19 Jan 2009 20:51:37 +0000 (14:51 -0600)]
SymtabAPI was printing a message about readding line information and asking for invesigation.  I investigated, found the issue benign, and removed the printf

11 years agoSome calls to updateType (which is now a templated function) were up casting to a...
Matthew Legendre [Mon, 19 Jan 2009 20:10:02 +0000 (14:10 -0600)]
Some calls to updateType (which is now a templated function) were up casting to a 'Type *' before calling.  This now illegal.  Added a compile time check to prevent this and fixed up all callsites.

11 years agoFix problem with forward references in Type parsing
Matthew Legendre [Mon, 19 Jan 2009 17:41:11 +0000 (11:41 -0600)]
Fix problem with forward references in Type parsing

11 years agoaix build fix (create symbols with Visibility parameter)
James Waskiewicz [Sat, 17 Jan 2009 23:58:19 +0000 (18:58 -0500)]
aix build fix (create symbols with Visibility parameter)

11 years agoAdded genfiles
unknown [Fri, 16 Jan 2009 22:21:55 +0000 (16:21 -0600)]
Added genfiles

11 years agoFinal checkpoint before merge
unknown [Fri, 16 Jan 2009 22:12:12 +0000 (16:12 -0600)]
Final checkpoint before merge

11 years agoFix problem introduced by last commit where group_test result would sometimes report...
Matthew Legendre [Fri, 16 Jan 2009 21:30:49 +0000 (15:30 -0600)]
Fix problem introduced by last commit where group_test result would sometimes report as false

11 years agoAdd missing files from newtestsuite
Matthew Legendre [Fri, 16 Jan 2009 20:59:40 +0000 (14:59 -0600)]
Add missing files from newtestsuite