interaspect.git
13 years agoUpdates version to v1.1! Huzzah! master release-v1.1
Justin Seyster [Wed, 13 Apr 2011 00:52:04 +0000 (20:52 -0400)]
Updates version to v1.1!  Huzzah!

13 years agoAdds missing plugin file so that it gets included in make dist.
Justin Seyster [Wed, 1 Aug 2012 01:45:01 +0000 (21:45 -0400)]
Adds missing plugin file so that it gets included in make dist.

13 years agoAdds note about Doxygen compatibility.
Justin Seyster [Wed, 1 Aug 2012 01:19:38 +0000 (21:19 -0400)]
Adds note about Doxygen compatibility.

13 years agoAdds missing copyright notice.
Justin Seyster [Wed, 1 Aug 2012 01:17:30 +0000 (21:17 -0400)]
Adds missing copyright notice.

13 years agoUpdates ChangeLog with static inline advice feature.
Justin Seyster [Tue, 31 Jul 2012 21:47:09 +0000 (17:47 -0400)]
Updates ChangeLog with static inline advice feature.

13 years agoAdds notes in doxygen for which functions need v1.1.
Justin Seyster [Tue, 31 Jul 2012 21:43:06 +0000 (17:43 -0400)]
Adds notes in doxygen for which functions need v1.1.

13 years agoSupports static inline advice functions.
Justin Seyster [Tue, 31 Jul 2012 21:18:35 +0000 (17:18 -0400)]
Supports static inline advice functions.

14 years agoChangeLog update for v1.1.
Justin Seyster [Wed, 13 Apr 2011 00:48:29 +0000 (20:48 -0400)]
ChangeLog update for v1.1.

14 years agoIncludes fclose_tracecut.c in make dist.
Justin Seyster [Wed, 13 Apr 2011 00:41:57 +0000 (20:41 -0400)]
Includes fclose_tracecut.c in make dist.

14 years agoMerge branch 'tracecut'
Justin Seyster [Wed, 13 Apr 2011 00:30:31 +0000 (20:30 -0400)]
Merge branch 'tracecut'

Conflicts:
src/Makefile.am

14 years agoAdds TC_BAD_RETURN_BINDING error code.
Justin Seyster [Wed, 13 Apr 2011 00:28:13 +0000 (20:28 -0400)]
Adds TC_BAD_RETURN_BINDING error code.

14 years agoRequires Python >= 2.6 for test cases.
Justin Seyster [Tue, 12 Apr 2011 23:45:37 +0000 (19:45 -0400)]
Requires Python >= 2.6 for test cases.

Older versions of Python are missing some of the syntax I used in the
test script.

Why does CentOS still use Python 2.4?  It's almost half a decade old.

14 years agoGives aop_finish "default" (public) visibilty.
Justin Seyster [Tue, 12 Apr 2011 23:43:46 +0000 (19:43 -0400)]
Gives aop_finish "default" (public) visibilty.

On some Linux versions, the setting a symbol as both hidden and weak
caused problems when trying to link an InterAspect plug-in.

14 years agoDocumentation for the Tracecut extension.
Justin Seyster [Fri, 8 Apr 2011 22:38:29 +0000 (18:38 -0400)]
Documentation for the Tracecut extension.

14 years agoAdds a tracecut example to the workspace directory.
Justin Seyster [Fri, 8 Apr 2011 20:31:42 +0000 (16:31 -0400)]
Adds a tracecut example to the workspace directory.

14 years agoFixes nasty typo in test case.
Justin Seyster [Fri, 8 Apr 2011 01:08:58 +0000 (21:08 -0400)]
Fixes nasty typo in test case.

14 years agoUpdates tracecut test cases to use tc_set_main_function().
Justin Seyster [Fri, 8 Apr 2011 01:03:43 +0000 (21:03 -0400)]
Updates tracecut test cases to use tc_set_main_function().

14 years agoFixes Doxygen warnings.
Justin Seyster [Fri, 8 Apr 2011 00:23:58 +0000 (20:23 -0400)]
Fixes Doxygen warnings.

14 years agoMerge branch 'tc-declare' into tracecut
Justin Seyster [Fri, 8 Apr 2011 00:18:16 +0000 (20:18 -0400)]
Merge branch 'tc-declare' into tracecut

Conflicts:
src/tracecut.c

14 years agoClarifies rules for allowed symbol and param names.
Justin Seyster [Fri, 8 Apr 2011 00:14:38 +0000 (20:14 -0400)]
Clarifies rules for allowed symbol and param names.

Simplifies tc_declare_call_symbol parsing code.

14 years agoAdded the testcase for tc_declare_call_symbol.
Siddhi Tadpatrikar [Fri, 1 Apr 2011 18:39:31 +0000 (14:39 -0400)]
Added the testcase for tc_declare_call_symbol.

14 years agoAdded the function code for tc_declare_call_symbol.
Siddhi Tadpatrikar [Tue, 29 Mar 2011 20:18:15 +0000 (16:18 -0400)]
Added the function code for tc_declare_call_symbol.

14 years agoFixed return without return_error().
Justin Seyster [Thu, 17 Mar 2011 02:05:26 +0000 (22:05 -0400)]
Fixed return without return_error().

14 years agoAdds and documents tc_set_main_function().
Justin Seyster [Thu, 17 Mar 2011 02:03:51 +0000 (22:03 -0400)]
Adds and documents tc_set_main_function().

14 years agoRemoved debugging fprintfs.
Justin Seyster [Thu, 17 Mar 2011 01:36:04 +0000 (21:36 -0400)]
Removed debugging fprintfs.

14 years agotc_report_match() is overridable.
Justin Seyster [Thu, 17 Mar 2011 01:35:30 +0000 (21:35 -0400)]
tc_report_match() is overridable.

14 years agoDoxygen now compiles docs when the build dir is not the src dir.
Justin Seyster [Wed, 16 Mar 2011 01:12:17 +0000 (21:12 -0400)]
Doxygen now compiles docs when the build dir is not the src dir.

14 years agoResolved the merge conflicts in src/tracecut.c
Siddhi Tadpatrikar [Mon, 14 Mar 2011 17:05:22 +0000 (13:05 -0400)]
Resolved the merge conflicts in src/tracecut.c
Merge branch 'tracecut' of /home/jseyster/git/aop/interaspect into tracecut

Conflicts:

src/tracecut.c

14 years agoAdds Doxygen generation into Autoconf.
Justin Seyster [Sat, 12 Mar 2011 02:18:45 +0000 (21:18 -0500)]
Adds Doxygen generation into Autoconf.

14 years agoIncludes workspace examples in distribution.
Justin Seyster [Sat, 12 Mar 2011 01:27:55 +0000 (20:27 -0500)]
Includes workspace examples in distribution.

14 years agoIncludes test case files in distribution.
Justin Seyster [Sat, 12 Mar 2011 01:22:39 +0000 (20:22 -0500)]
Includes test case files in distribution.

14 years agoMakes sure COPYING.RUNTIME ends up in the distribution.
Justin Seyster [Sat, 12 Mar 2011 00:20:39 +0000 (19:20 -0500)]
Makes sure COPYING.RUNTIME ends up in the distribution.

14 years agoInstalls header files.
Justin Seyster [Sat, 12 Mar 2011 00:20:22 +0000 (19:20 -0500)]
Installs header files.

Also ensures that all header files get transferred over to the tarball
when using make dist.

14 years agoAdds comprehensive cleanup code.
Justin Seyster [Fri, 11 Mar 2011 23:24:01 +0000 (18:24 -0500)]
Adds comprehensive cleanup code.

14 years agoAdds stub for tc_declare_call_symbol().
Justin Seyster [Wed, 9 Mar 2011 22:57:17 +0000 (17:57 -0500)]
Adds stub for tc_declare_call_symbol().

14 years agoAdded the checks for signed/unsigned intergers and Floats
Siddhi Tadpatrikar [Wed, 9 Mar 2011 22:09:45 +0000 (17:09 -0500)]
Added the checks for signed/unsigned intergers and Floats
in capture_call_bindings.
Also added advice functions for them in tracecut-advice.c

14 years agoAdded some more convenient error handling.
Justin Seyster [Tue, 8 Mar 2011 02:33:03 +0000 (21:33 -0500)]
Added some more convenient error handling.

14 years agoUpdates documentation for subtype functions.
Justin Seyster [Thu, 3 Mar 2011 00:05:26 +0000 (19:05 -0500)]
Updates documentation for subtype functions.

14 years agoMerge branch 'cast' into tracecut
Justin Seyster [Wed, 2 Mar 2011 22:15:37 +0000 (17:15 -0500)]
Merge branch 'cast' into tracecut

14 years agoAdds casting for integer and fp types.
Siddhi Tadpatrikar [Wed, 2 Mar 2011 22:13:26 +0000 (17:13 -0500)]
Adds casting for integer and fp types.

14 years agoTracecut advice deletes tuples it doesn't need to store.
Justin Seyster [Thu, 17 Feb 2011 23:25:10 +0000 (18:25 -0500)]
Tracecut advice deletes tuples it doesn't need to store.

14 years agoTracecut reports print out param vals.
Justin Seyster [Thu, 17 Feb 2011 22:34:42 +0000 (17:34 -0500)]
Tracecut reports print out param vals.

14 years agoTracecut initialize also sends param names to tracecut-advice.
Justin Seyster [Thu, 17 Feb 2011 22:21:42 +0000 (17:21 -0500)]
Tracecut initialize also sends param names to tracecut-advice.

14 years agoMore useful match reports. Made some functions static.
Justin Seyster [Thu, 17 Feb 2011 22:01:05 +0000 (17:01 -0500)]
More useful match reports.  Made some functions static.

14 years agoTracecut advice compiles rules and reports tracecut matches.
Justin Seyster [Thu, 17 Feb 2011 20:57:29 +0000 (15:57 -0500)]
Tracecut advice compiles rules and reports tracecut matches.

14 years agoChanges to NFA code.
Justin Seyster [Thu, 17 Feb 2011 20:54:22 +0000 (15:54 -0500)]
Changes to NFA code.

- New lexer thats treat multi-letter words as one symbol.

- Ability to create multiple NFAs and to simultaneously track multiple
  inputs on each.

- Header file providing an external interface.

14 years agoAdds Russ Cox's awesome regexp DFA implementation.
Justin Seyster [Thu, 17 Feb 2011 01:58:20 +0000 (20:58 -0500)]
Adds Russ Cox's awesome regexp DFA implementation.

Lots of scary licensing text!  I'm keeping this GPL3 just for the sake
of simplicity/consistency.  Nobody is going to want the changes I make
here anyway, so it doesn't make much of a difference that I'm
relicensing.

14 years agoUser can provide rules for the tracecut.
Justin Seyster [Wed, 16 Feb 2011 01:24:16 +0000 (20:24 -0500)]
User can provide rules for the tracecut.

Updates test case.

14 years agoEvents create new tuples and advance existing tuples.
Justin Seyster [Tue, 15 Feb 2011 03:21:42 +0000 (22:21 -0500)]
Events create new tuples and advance existing tuples.

14 years agoAdded API functions for checking types of signed and unsigned ints
Siddhi Tadpatrikar [Sat, 12 Feb 2011 00:18:53 +0000 (19:18 -0500)]
Added API functions for checking types of signed and unsigned ints

14 years agoCollects event params.
Justin Seyster [Fri, 11 Feb 2011 21:44:32 +0000 (16:44 -0500)]
Collects event params.

14 years agoAdds a tracecut runtime library.
Justin Seyster [Fri, 11 Feb 2011 01:10:12 +0000 (20:10 -0500)]
Adds a tracecut runtime library.

14 years agoAdded tracecut test case.
Justin Seyster [Thu, 10 Feb 2011 00:53:51 +0000 (19:53 -0500)]
Added tracecut test case.

14 years agoAdds API for inserting initialization instrumentation.
Justin Seyster [Wed, 9 Feb 2011 22:20:55 +0000 (17:20 -0500)]
Adds API for inserting initialization instrumentation.

14 years agoPass a tracecut index with each advice call.
Justin Seyster [Tue, 8 Feb 2011 02:48:26 +0000 (21:48 -0500)]
Pass a tracecut index with each advice call.

Fail with TC_BAD_CONTEXT when tracecut calls occur after compilation
starts.

14 years agoEvents insert advice to capture bound params.
Justin Seyster [Mon, 7 Feb 2011 23:03:56 +0000 (18:03 -0500)]
Events insert advice to capture bound params.

14 years agoAdded type requirement for tracecut params.
Justin Seyster [Mon, 7 Feb 2011 22:29:16 +0000 (17:29 -0500)]
Added type requirement for tracecut params.

14 years agoAdded test case for dynval casting.
Justin Seyster [Mon, 7 Feb 2011 21:06:58 +0000 (16:06 -0500)]
Added test case for dynval casting.

14 years agoAdded functions for casting a dynval to aop_t_all_pointer().
Justin Seyster [Mon, 7 Feb 2011 21:06:31 +0000 (16:06 -0500)]
Added functions for casting a dynval to aop_t_all_pointer().

14 years agoAdd tracecut params and ability to bind them to call params.
Justin Seyster [Sat, 5 Feb 2011 00:14:59 +0000 (19:14 -0500)]
Add tracecut params and ability to bind them to call params.

14 years agoAdd tracecut pass that can instrument events reference in tracecuts.
Justin Seyster [Fri, 4 Feb 2011 21:17:11 +0000 (16:17 -0500)]
Add tracecut pass that can instrument events reference in tracecuts.

Add error return codes.

14 years agoAdded tc_add_call_symbol() and master tracecut list.
Justin Seyster [Tue, 1 Feb 2011 21:57:10 +0000 (16:57 -0500)]
Added tc_add_call_symbol() and master tracecut list.

14 years agoAdded source files for tracecuts feature.
Justin Seyster [Tue, 1 Feb 2011 01:06:55 +0000 (20:06 -0500)]
Added source files for tracecuts feature.

14 years agoFixed typos in documentation main page.
Justin Seyster [Tue, 23 Nov 2010 21:22:14 +0000 (16:22 -0500)]
Fixed typos in documentation main page.

14 years agoRemoved debugging printf that shouldn't be there. release-v1.0
Justin Seyster [Thu, 28 Oct 2010 21:19:50 +0000 (17:19 -0400)]
Removed debugging printf that shouldn't be there.

I put in that stupid printf at the very beginning of the project, in
the first commit, and I never bothered to get rid of it.  I'm finally
getting rid of it now, in what is fittingly, the last commit before
release.  This commit will be the lucky commit tagged for 1.0!

14 years agoRemoved legacy reference to aop_capture_function_name().
Justin Seyster [Thu, 28 Oct 2010 22:49:07 +0000 (18:49 -0400)]
Removed legacy reference to aop_capture_function_name().

14 years agoReplaced float96 and float128 with just long_double.
Justin Seyster [Thu, 28 Oct 2010 20:32:21 +0000 (16:32 -0400)]
Replaced float96 and float128 with just long_double.

These two types are not really distinct types: they are both just
80-bit floating point numbers padded to fit in machine registers.

14 years agoAdded helpful note about noinstrument to hello.c example.
Justin Seyster [Thu, 28 Oct 2010 19:36:26 +0000 (15:36 -0400)]
Added helpful note about noinstrument to hello.c example.

14 years agoAdded duplication example plug-in.
Justin Seyster [Thu, 28 Oct 2010 19:32:19 +0000 (15:32 -0400)]
Added duplication example plug-in.

14 years agoModified duplication test to exercise fixed duplication bugs.
Justin Seyster [Thu, 28 Oct 2010 00:13:28 +0000 (20:13 -0400)]
Modified duplication test to exercise fixed duplication bugs.

14 years agoFixed bug where entry pointcut wouldn't know the filename/lineno.
Justin Seyster [Thu, 28 Oct 2010 00:09:01 +0000 (20:09 -0400)]
Fixed bug where entry pointcut wouldn't know the filename/lineno.

In this case, if the user called aop_duplicate() with a captured
in_param.

14 years agoFixed ugly duplication bug.
Justin Seyster [Wed, 27 Oct 2010 23:49:43 +0000 (19:49 -0400)]
Fixed ugly duplication bug.

Sort of a hack.  I've managed worse, though.

14 years agoAdded idea of pre_stmts.
Justin Seyster [Wed, 27 Oct 2010 23:17:49 +0000 (19:17 -0400)]
Added idea of pre_stmts.

The pre_stmts vector lets build_dynval construct a list of statements
it wants to insert rather than directly inserting those statements on
its own.

14 years agoAdded advisor to the copyright notices.
Justin Seyster [Wed, 27 Oct 2010 21:50:01 +0000 (17:50 -0400)]
Added advisor to the copyright notices.

14 years agoDocumentation for AOP_TERM_ARG.
Justin Seyster [Wed, 27 Oct 2010 21:19:34 +0000 (17:19 -0400)]
Documentation for AOP_TERM_ARG.

14 years agoChanged aop_capture_return_value to aop_capture_call_return_value
Justin Seyster [Wed, 27 Oct 2010 21:02:52 +0000 (17:02 -0400)]
Changed aop_capture_return_value to aop_capture_call_return_value

14 years agoRenamed capture_param functions to capture_call_param.
Justin Seyster [Wed, 27 Oct 2010 20:56:23 +0000 (16:56 -0400)]
Renamed capture_param functions to capture_call_param.

This is to strengthen the separation between call_param and in_param.

14 years agoPut aop_get_function_name() in its own group.
Justin Seyster [Wed, 27 Oct 2010 20:40:26 +0000 (16:40 -0400)]
Put aop_get_function_name() in its own group.

14 years agoFixed incorrect protoype in in-param test case.
Justin Seyster [Wed, 27 Oct 2010 00:20:35 +0000 (20:20 -0400)]
Fixed incorrect protoype in in-param test case.

14 years agoModified floating point test case to deal with 12-bit (long double).
Justin Seyster [Wed, 27 Oct 2010 00:19:17 +0000 (20:19 -0400)]
Modified floating point test case to deal with 12-bit (long double).

14 years agoAdded aop_t_float96(), which is (long double) on 32-bit systems.
Justin Seyster [Wed, 27 Oct 2010 00:13:15 +0000 (20:13 -0400)]
Added aop_t_float96(), which is (long double) on 32-bit systems.

14 years agoMerge branch 'in_param'
Justin Seyster [Tue, 26 Oct 2010 01:33:42 +0000 (21:33 -0400)]
Merge branch 'in_param'

Conflicts:
src/aop-pointcut.c

14 years agoModified inparam test case to also test param capture by type.
Justin Seyster [Tue, 26 Oct 2010 01:28:07 +0000 (21:28 -0400)]
Modified inparam test case to also test param capture by type.

14 years agoCapture param without filtering
Ketan Dixit [Tue, 26 Oct 2010 01:04:10 +0000 (21:04 -0400)]
Capture param without filtering

14 years agoFixed some Doxygen typos.
Justin Seyster [Fri, 22 Oct 2010 03:24:37 +0000 (23:24 -0400)]
Fixed some Doxygen typos.

14 years agoClarified assignment pointcut docs.
Justin Seyster [Thu, 21 Oct 2010 19:33:57 +0000 (15:33 -0400)]
Clarified assignment pointcut docs.

14 years agoDocumentation for aop_filter_entry_by_name().
Justin Seyster [Thu, 21 Oct 2010 19:06:29 +0000 (15:06 -0400)]
Documentation for aop_filter_entry_by_name().

14 years agoAdded documentation for noinstrument.
Justin Seyster [Thu, 21 Oct 2010 18:52:09 +0000 (14:52 -0400)]
Added documentation for noinstrument.

14 years agoAdded aop_t_cstring() convenience function.
Justin Seyster [Thu, 21 Oct 2010 18:34:08 +0000 (14:34 -0400)]
Added aop_t_cstring() convenience function.

14 years agoAdded test case for capturing return value at exit join point.
Justin Seyster [Thu, 21 Oct 2010 03:22:09 +0000 (23:22 -0400)]
Added test case for capturing return value at exit join point.

14 years agoAdded aop_capture_exit_return_value_by_type().
Justin Seyster [Thu, 21 Oct 2010 03:17:10 +0000 (23:17 -0400)]
Added aop_capture_exit_return_value_by_type().

14 years agoAdded filtering and capturing on return value for exit join points.
Justin Seyster [Thu, 21 Oct 2010 02:53:58 +0000 (22:53 -0400)]
Added filtering and capturing on return value for exit join points.

14 years agoMoved some internal functions out of Doxygen docs.
Justin Seyster [Wed, 20 Oct 2010 22:07:21 +0000 (18:07 -0400)]
Moved some internal functions out of Doxygen docs.

14 years agoAdded AUTHORS files.
Justin Seyster [Wed, 20 Oct 2010 21:48:42 +0000 (17:48 -0400)]
Added AUTHORS files.

14 years agoMerge branch 'doxygen-style'
Justin Seyster [Wed, 20 Oct 2010 21:42:34 +0000 (17:42 -0400)]
Merge branch 'doxygen-style'

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

14 years agoFixed backwards curly brace. Oops!
Justin Seyster [Wed, 20 Oct 2010 20:10:29 +0000 (16:10 -0400)]
Fixed backwards curly brace.  Oops!

14 years agoFixed incorrect typedef definition in automatic headers.
Justin Seyster [Wed, 20 Oct 2010 20:05:25 +0000 (16:05 -0400)]
Fixed incorrect typedef definition in automatic headers.

14 years agoAdded test case for passing constants to advice.
Justin Seyster [Wed, 20 Oct 2010 20:03:51 +0000 (16:03 -0400)]
Added test case for passing constants to advice.

14 years agoFixed test broken by changing the type for AOP_INST_CST().
Justin Seyster [Wed, 20 Oct 2010 20:01:03 +0000 (16:01 -0400)]
Fixed test broken by changing the type for AOP_INST_CST().

14 years agoFixed precision-lossy cast to float.
Justin Seyster [Wed, 20 Oct 2010 19:54:34 +0000 (15:54 -0400)]
Fixed precision-lossy cast to float.