interaspect.git
15 years agoFixed crash when initial block has no first_stmt.
Justin Seyster [Sat, 14 Aug 2010 02:30:14 +0000 (22:30 -0400)]
Fixed crash when initial block has no first_stmt.

Still need to figure out how to correctly get the filename/lineno for
functions that have an entry block with no first_stmt.

15 years agoFixed bug when duplicating empty basic blocks.
Justin Seyster [Sat, 14 Aug 2010 01:59:36 +0000 (21:59 -0400)]
Fixed bug when duplicating empty basic blocks.

15 years agoAdded missing code block in find_lexical_block
Ketan Dixit [Wed, 4 Aug 2010 20:53:10 +0000 (16:53 -0400)]
Added missing code block in find_lexical_block

15 years agoFixed bug when trying to get the filename/lineno for a function entry.
Justin Seyster [Fri, 13 Aug 2010 23:26:44 +0000 (19:26 -0400)]
Fixed bug when trying to get the filename/lineno for a function entry.

15 years agoAdded documentation for join_on functions.
Justin Seyster [Fri, 13 Aug 2010 23:05:32 +0000 (19:05 -0400)]
Added documentation for join_on functions.

15 years agoMerge branch 'duplicate'
Justin Seyster [Fri, 13 Aug 2010 23:03:36 +0000 (19:03 -0400)]
Merge branch 'duplicate'

Conflicts:
src/aop-pc-assign.c
src/aop-pc-entry.c
src/aop-pc-exit.c
src/aop-pc-fun-call.c
src/aop-pointcut.c
src/aop-pointcut.h

15 years agoMerge branch 'workspace'
Justin Seyster [Fri, 13 Aug 2010 22:50:17 +0000 (18:50 -0400)]
Merge branch 'workspace'

15 years agoCapturing line no and file name of a joinpoint
Ketan Dixit [Fri, 13 Aug 2010 22:30:29 +0000 (18:30 -0400)]
Capturing line no and file name of a joinpoint

15 years agoIgnore Makefile again, now that autoconf generates it.
Justin Seyster [Fri, 13 Aug 2010 20:53:26 +0000 (16:53 -0400)]
Ignore Makefile again, now that autoconf generates it.

15 years agoWorkspace directory now works correctly when using separate build dir.
Justin Seyster [Fri, 13 Aug 2010 20:52:22 +0000 (16:52 -0400)]
Workspace directory now works correctly when using separate build dir.

15 years agoAdded documentation for the new aop_duplicate() function.
Justin Seyster [Fri, 13 Aug 2010 00:06:52 +0000 (20:06 -0400)]
Added documentation for the new aop_duplicate() function.

15 years agoPrevent an internal struct from appearing in the Doxygen docs.
Justin Seyster [Fri, 13 Aug 2010 00:06:40 +0000 (20:06 -0400)]
Prevent an internal struct from appearing in the Doxygen docs.

15 years agoaop_join_on_copy() support for function exit pointcuts.
Justin Seyster [Thu, 12 Aug 2010 23:23:46 +0000 (19:23 -0400)]
aop_join_on_copy() support for function exit pointcuts.

15 years agoaop_join_on_copy() support for function entry pointcuts.
Justin Seyster [Thu, 12 Aug 2010 22:59:51 +0000 (18:59 -0400)]
aop_join_on_copy() support for function entry pointcuts.

Added in_edge field to join points to support this feature.

15 years agoaop_join_on_copy() support for assignment pointcut.
Justin Seyster [Thu, 12 Aug 2010 20:13:01 +0000 (16:13 -0400)]
aop_join_on_copy() support for assignment pointcut.

15 years agoAdded aop_join_on_copy().
Justin Seyster [Thu, 12 Aug 2010 19:51:27 +0000 (15:51 -0400)]
Added aop_join_on_copy().

15 years agoThe two copies of a duplicated function are now available for joining.
Justin Seyster [Thu, 12 Aug 2010 19:30:38 +0000 (15:30 -0400)]
The two copies of a duplicated function are now available for joining.

The basic block pairs are now stored in globally accessible place and
are set up to get garbage collected when the pass ends.

15 years agoAdded support for duplicating a function.
Justin Seyster [Wed, 11 Aug 2010 23:41:13 +0000 (19:41 -0400)]
Added support for duplicating a function.

15 years agoUpdated comments to explain the new aop_capture_lhs_name() semantics.
Justin Seyster [Mon, 2 Aug 2010 22:47:20 +0000 (18:47 -0400)]
Updated comments to explain the new aop_capture_lhs_name() semantics.

15 years agoGenerate-unique-no-for-lexical-block-in-fun-scope
Ketan Dixit [Mon, 2 Aug 2010 21:47:33 +0000 (17:47 -0400)]
Generate-unique-no-for-lexical-block-in-fun-scope

15 years agoUpdated doxygen comments for aop_capture_lhs_var_scope.
Justin Seyster [Wed, 28 Jul 2010 00:51:43 +0000 (20:51 -0400)]
Updated doxygen comments for aop_capture_lhs_var_scope.

15 years agoAdded support for capturing lhs var scope
Ketan Dixit [Tue, 27 Jul 2010 22:34:41 +0000 (18:34 -0400)]
Added support for capturing lhs var scope

15 years agoMinor formatting.
Justin Seyster [Thu, 15 Jul 2010 23:30:55 +0000 (19:30 -0400)]
Minor formatting.

15 years agoAdded common init function for joinpoint
Ketan Dixit [Thu, 15 Jul 2010 22:44:13 +0000 (18:44 -0400)]
Added common init function for joinpoint

15 years agoAdded generic constructor for pointcut
Ketan Dixit [Wed, 14 Jul 2010 21:02:00 +0000 (17:02 -0400)]
Added generic constructor for pointcut

15 years agoChanged (int) cast to (HOST_WIDE_INT) to prevent warnings on amd64.
Justin Seyster [Fri, 9 Jul 2010 21:19:33 +0000 (17:19 -0400)]
Changed (int) cast to (HOST_WIDE_INT) to prevent warnings on amd64.

Some style changes.

15 years agoAdded GENERATOR_FILE macro to prevent real.h from including mpc.h.
Justin Seyster [Fri, 9 Jul 2010 21:18:10 +0000 (17:18 -0400)]
Added GENERATOR_FILE macro to prevent real.h from including mpc.h.

15 years agoAdded float and void ptr params for weave func
Ketan Dixit [Fri, 9 Jul 2010 00:04:35 +0000 (20:04 -0400)]
Added float and void ptr params for weave func

15 years agoMerge branch 'master' into workspace
Justin Seyster [Thu, 8 Jul 2010 19:27:44 +0000 (15:27 -0400)]
Merge branch 'master' into workspace

15 years agoSet .gitignore files to export-ignore.
Justin Seyster [Thu, 8 Jul 2010 00:26:45 +0000 (20:26 -0400)]
Set .gitignore files to export-ignore.

15 years agoAdded a basic README file.
Justin Seyster [Thu, 8 Jul 2010 00:03:50 +0000 (20:03 -0400)]
Added a basic README file.

15 years agoDocumentation for the new workspace feature.
Justin Seyster [Wed, 7 Jul 2010 23:56:06 +0000 (19:56 -0400)]
Documentation for the new workspace feature.

15 years agoAdded a Hello World example plug-in.
Justin Seyster [Wed, 7 Jul 2010 23:55:34 +0000 (19:55 -0400)]
Added a Hello World example plug-in.

15 years agoAdded a workspace directory with plug-in Makefile.
Justin Seyster [Wed, 7 Jul 2010 23:31:37 +0000 (19:31 -0400)]
Added a workspace directory with plug-in Makefile.

15 years agoComprehensive guide for installing GCC and compiling InterAspect.
Justin Seyster [Wed, 7 Jul 2010 23:10:18 +0000 (19:10 -0400)]
Comprehensive guide for installing GCC and compiling InterAspect.

15 years agoMerge branch 'regimplify'
Justin Seyster [Tue, 6 Jul 2010 22:31:29 +0000 (18:31 -0400)]
Merge branch 'regimplify'

Conflicts:
src/aop-pc-exit.c

15 years agoFixed whitespace errors.
Justin Seyster [Tue, 6 Jul 2010 22:25:32 +0000 (18:25 -0400)]
Fixed whitespace errors.

15 years agoAdded regimplification for assignment ptcut
Ketan Dixit [Mon, 5 Jul 2010 20:52:24 +0000 (16:52 -0400)]
Added regimplification for assignment ptcut

15 years agoError on capturing return value in before advice.
Justin Seyster [Mon, 5 Jul 2010 20:55:05 +0000 (16:55 -0400)]
Error on capturing return value in before advice.

15 years agoMerge branch 'doxygen'
Justin Seyster [Sat, 3 Jul 2010 00:42:44 +0000 (20:42 -0400)]
Merge branch 'doxygen'

Conflicts:
src/aop-pc-fun-call.c

15 years agoAdded Doxygen main page and groups for each type of pointcut.
Justin Seyster [Sat, 3 Jul 2010 00:37:38 +0000 (20:37 -0400)]
Added Doxygen main page and groups for each type of pointcut.

15 years agoAdded Doxygen configuration.
Justin Seyster [Sat, 3 Jul 2010 00:01:34 +0000 (20:01 -0400)]
Added Doxygen configuration.

Added the Doxygen output directory to .gitignore.

15 years agoAdded aop_capture_called_function_name.
Justin Seyster [Fri, 2 Jul 2010 23:55:24 +0000 (19:55 -0400)]
Added aop_capture_called_function_name.

Fixed some error messages.

15 years agoFinshed function call parameter interface.
Justin Seyster [Fri, 2 Jul 2010 23:24:44 +0000 (19:24 -0400)]
Finshed function call parameter interface.

Added aop_filter_call_pc_by_param function to replace a handful of
temporary API functions.

Added aop_capture_param_by_type for capturing without filtering.

Replaced unnecessary get_return_value function with an equivalent
function already provided by GCC.

15 years agoAdded aop_capture_return_value_by_type().
Justin Seyster [Thu, 1 Jul 2010 23:29:40 +0000 (19:29 -0400)]
Added aop_capture_return_value_by_type().

15 years agoDocumented several functions.
Justin Seyster [Thu, 1 Jul 2010 22:27:33 +0000 (18:27 -0400)]
Documented several functions.

15 years agoAdded proper support for filtering calls by return type.
Justin Seyster [Wed, 30 Jun 2010 23:22:56 +0000 (19:22 -0400)]
Added proper support for filtering calls by return type.

15 years agoMake it always possible to capture function return values.
Justin Seyster [Wed, 30 Jun 2010 22:03:24 +0000 (18:03 -0400)]
Make it always possible to capture function return values.

op_get_return_value() can now capture the return value for function calls
that do not directly store the return value (previous it would crash).

15 years agoPreparations for adding doxygen support.
Justin Seyster [Wed, 30 Jun 2010 19:31:23 +0000 (15:31 -0400)]
Preparations for adding doxygen support.

Added necessary documentation to aop.h to make doxygen generate
browsable HTML documentation.

15 years agoCleaned up function exit pointcuts so that after advice works.
Justin Seyster [Fri, 18 Jun 2010 21:12:44 +0000 (17:12 -0400)]
Cleaned up function exit pointcuts so that after advice works.

Also documented the use of before and after advice in detail in the
aop_insert_advice() documentation.

15 years agoCleaned up function entry pointcut.
Justin Seyster [Fri, 18 Jun 2010 02:10:49 +0000 (22:10 -0400)]
Cleaned up function entry pointcut.

Fixed bug because of uninitialized function_name field in the
pointcut.

Added a prepare function that guards against the case of adding to a
function that begins with a label.

Renamed the filter by name function.

15 years agoFixed style problems in aop.h.
Justin Seyster [Fri, 18 Jun 2010 01:10:38 +0000 (21:10 -0400)]
Fixed style problems in aop.h.

15 years agoMoved PAUSE_ON_START back where it belongs.
Justin Seyster [Mon, 7 Jun 2010 22:59:23 +0000 (18:59 -0400)]
Moved PAUSE_ON_START back where it belongs.

15 years agoOrder of prepare_for_weave and insert advice is fixed
Ketan Dixit [Mon, 7 Jun 2010 22:48:42 +0000 (18:48 -0400)]
Order of prepare_for_weave and insert advice is fixed

15 years agoStyle improvements.
Justin Seyster [Mon, 24 May 2010 19:55:13 +0000 (15:55 -0400)]
Style improvements.

15 years agobzip bug fix with prepare_for_weave changes
Ketan Dixit [Mon, 24 May 2010 19:19:05 +0000 (15:19 -0400)]
bzip bug fix with prepare_for_weave changes

15 years agoMerge branch 'master' of ssh://ketand@git.fsl.cs.sunysb.edu/home/fslgit/interaspect
Ketan Dixit [Fri, 21 May 2010 02:33:36 +0000 (22:33 -0400)]
Merge branch 'master' of ssh://ketand@git.fsl.cs.sunysb.edu/home/fslgit/interaspect

Conflicts:
src/aop-dynval.h
src/aop-pointcut.h
src/aop-weave.c

15 years agoFixed the bugs for compilation with Bzip
Ketan Dixit [Fri, 21 May 2010 01:10:22 +0000 (21:10 -0400)]
Fixed the bugs for compilation with Bzip

15 years agoAdded ability to capture the value of an assignment.
Justin Seyster [Thu, 20 May 2010 00:28:13 +0000 (20:28 -0400)]
Added ability to capture the value of an assignment.

With this patch, instrumented assignments get broken up into two
parts, one that assigns to a temp variable and one that assigns the
temp variable to the actual assignment target variable.  This split
makes several things simpler, including capturing the value of the
rhs.

In order to perform this split, the patch also introduces a prepare
function, which will only get called once for a given join point:
right before the first time it is instrumented with advice.

15 years agoMerge branch 'master' of ssh://ketand@git.fsl.cs.sunysb.edu/home/fslgit/interaspect
Ketan Dixit [Tue, 20 Apr 2010 23:15:42 +0000 (19:15 -0400)]
Merge branch 'master' of ssh://ketand@git.fsl.cs.sunysb.edu/home/fslgit/interaspect

15 years agoFixed error in build_gcc_call().
Justin Seyster [Fri, 16 Apr 2010 01:37:25 +0000 (21:37 -0400)]
Fixed error in build_gcc_call().

Building the argtype_list the wrong way resulted in a malformed list
that caused build_function_type() to crash in some circumstances.

15 years agofun call pointcut
Ketan Dixit [Wed, 14 Apr 2010 22:13:51 +0000 (18:13 -0400)]
fun call pointcut

15 years agoAdded verbose flag to test driver.
Justin Seyster [Thu, 1 Apr 2010 20:28:32 +0000 (16:28 -0400)]
Added verbose flag to test driver.

15 years agoAdded missing test driver header file.
Justin Seyster [Thu, 1 Apr 2010 20:28:08 +0000 (16:28 -0400)]
Added missing test driver header file.

15 years agoAdded support for aop_capture_lhs_addr() on assignment pointcuts.
Justin Seyster [Thu, 1 Apr 2010 20:27:35 +0000 (16:27 -0400)]
Added support for aop_capture_lhs_addr() on assignment pointcuts.

15 years agoAdded support for including aop_dynval objects in advice calls.
Justin Seyster [Thu, 1 Apr 2010 20:21:56 +0000 (16:21 -0400)]
Added support for including aop_dynval objects in advice calls.

15 years agoChanged the location of the AOP instrumentation pass.
Justin Seyster [Thu, 1 Apr 2010 20:14:36 +0000 (16:14 -0400)]
Changed the location of the AOP instrumentation pass.

With the instrumentation pass occuring much earlier in compilation, it
is much less likely for optimizations to interfere with
intstrumentation.

Added PAUSE_ON_START debugging feature.

15 years agoAdded verbose mode to test case framework.
Justin Seyster [Tue, 30 Mar 2010 22:09:21 +0000 (18:09 -0400)]
Added verbose mode to test case framework.

Verbose mode prints each GCC command that the framework executes.

15 years agoFixed sizeof() type.
Justin Seyster [Sat, 27 Mar 2010 01:38:08 +0000 (21:38 -0400)]
Fixed sizeof() type.

15 years agoAdded an op in the aop_pointcut op vector for inserting a gimple stmt.
Justin Seyster [Wed, 24 Mar 2010 23:29:45 +0000 (19:29 -0400)]
Added an op in the aop_pointcut op vector for inserting a gimple stmt.

15 years agoAdded locale.h to some source files for Karmic support.
Justin Seyster [Wed, 24 Mar 2010 01:18:48 +0000 (21:18 -0400)]
Added locale.h to some source files for Karmic support.

Removed some whitespace.

15 years agoMerge branch 'entryexit'
Justin Seyster [Wed, 24 Mar 2010 01:07:44 +0000 (21:07 -0400)]
Merge branch 'entryexit'

15 years agoAdded function entry/exit pointcuts and support for one step method to define pointcu...
Ketan Dixit [Wed, 24 Mar 2010 00:43:33 +0000 (20:43 -0400)]
Added function entry/exit pointcuts and support for one step method to define pointcut and advice

15 years agoRenamed aop_do_weave() function to aop_insert_advice().
Justin Seyster [Mon, 22 Mar 2010 23:58:43 +0000 (19:58 -0400)]
Renamed aop_do_weave() function to aop_insert_advice().

15 years agoAdded Python test case framework.
Justin Seyster [Mon, 22 Mar 2010 23:48:59 +0000 (19:48 -0400)]
Added Python test case framework.

15 years agoPartial implementation of does_type_match(). Other fixups.
Justin Seyster [Fri, 12 Mar 2010 01:53:14 +0000 (20:53 -0500)]
Partial implementation of does_type_match().  Other fixups.

Added const qualifier to some aop_type variables.

Added locale.h include, which is necessary to compile on Ubuntu.

15 years agoAdded weaving function.
Justin Seyster [Fri, 12 Feb 2010 02:41:41 +0000 (21:41 -0500)]
Added weaving function.

15 years agoAdded capture function for assignment left-hand side.
Justin Seyster [Thu, 11 Feb 2010 21:18:12 +0000 (16:18 -0500)]
Added capture function for assignment left-hand side.

15 years agoFilled in aop_join_on for assignment pointcuts.
Justin Seyster [Wed, 10 Feb 2010 23:00:43 +0000 (18:00 -0500)]
Filled in aop_join_on for assignment pointcuts.

Added joinpoint data structure.

15 years agoAdded aop_pointcut and aop_type types. Added a match function and the
Justin Seyster [Sat, 6 Feb 2010 02:49:17 +0000 (21:49 -0500)]
Added aop_pointcut and aop_type types.  Added a match function and the
join_on () function.

15 years agoLinker magic to make compiling against InterAspect easy.
Justin Seyster [Wed, 3 Feb 2010 23:08:38 +0000 (18:08 -0500)]
Linker magic to make compiling against InterAspect easy.

15 years agoAdded cleanup for registered passes.
Justin Seyster [Wed, 3 Feb 2010 00:21:58 +0000 (19:21 -0500)]
Added cleanup for registered passes.

15 years agoFixed some typos that were preventing compilation.
Justin Seyster [Tue, 2 Feb 2010 22:14:35 +0000 (17:14 -0500)]
Fixed some typos that were preventing compilation.

15 years agoAutotools machinery.
Justin Seyster [Tue, 2 Feb 2010 22:06:52 +0000 (17:06 -0500)]
Autotools machinery.

15 years agoGPLv3 licence along with stub files that autotools wants.
Justin Seyster [Tue, 2 Feb 2010 22:05:51 +0000 (17:05 -0500)]
GPLv3 licence along with stub files that autotools wants.

15 years agoHandy .gitignore file!
Justin Seyster [Tue, 2 Feb 2010 22:05:04 +0000 (17:05 -0500)]
Handy .gitignore file!

15 years agoInitialized git repo.
Justin Seyster [Tue, 2 Feb 2010 21:40:55 +0000 (16:40 -0500)]
Initialized git repo.