Justin Seyster [Thu, 28 Oct 2010 19:32:19 +0000 (15:32 -0400)]
Added duplication example plug-in.
Justin Seyster [Thu, 28 Oct 2010 00:13:28 +0000 (20:13 -0400)]
Modified duplication test to exercise fixed duplication bugs.
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.
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.
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.
Justin Seyster [Wed, 27 Oct 2010 21:50:01 +0000 (17:50 -0400)]
Added advisor to the copyright notices.
Justin Seyster [Wed, 27 Oct 2010 21:19:34 +0000 (17:19 -0400)]
Documentation for AOP_TERM_ARG.
Justin Seyster [Wed, 27 Oct 2010 21:02:52 +0000 (17:02 -0400)]
Changed aop_capture_return_value to aop_capture_call_return_value
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.
Justin Seyster [Wed, 27 Oct 2010 20:40:26 +0000 (16:40 -0400)]
Put aop_get_function_name() in its own group.
Justin Seyster [Wed, 27 Oct 2010 00:20:35 +0000 (20:20 -0400)]
Fixed incorrect protoype in in-param test case.
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).
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.
Justin Seyster [Tue, 26 Oct 2010 01:33:42 +0000 (21:33 -0400)]
Merge branch 'in_param'
Conflicts:
src/aop-pointcut.c
Justin Seyster [Tue, 26 Oct 2010 01:28:07 +0000 (21:28 -0400)]
Modified inparam test case to also test param capture by type.
Ketan Dixit [Tue, 26 Oct 2010 01:04:10 +0000 (21:04 -0400)]
Capture param without filtering
Justin Seyster [Fri, 22 Oct 2010 03:24:37 +0000 (23:24 -0400)]
Fixed some Doxygen typos.
Justin Seyster [Thu, 21 Oct 2010 19:33:57 +0000 (15:33 -0400)]
Clarified assignment pointcut docs.
Justin Seyster [Thu, 21 Oct 2010 19:06:29 +0000 (15:06 -0400)]
Documentation for aop_filter_entry_by_name().
Justin Seyster [Thu, 21 Oct 2010 18:52:09 +0000 (14:52 -0400)]
Added documentation for noinstrument.
Justin Seyster [Thu, 21 Oct 2010 18:34:08 +0000 (14:34 -0400)]
Added aop_t_cstring() convenience function.
Justin Seyster [Thu, 21 Oct 2010 03:22:09 +0000 (23:22 -0400)]
Added test case for capturing return value at exit join point.
Justin Seyster [Thu, 21 Oct 2010 03:17:10 +0000 (23:17 -0400)]
Added aop_capture_exit_return_value_by_type().
Justin Seyster [Thu, 21 Oct 2010 02:53:58 +0000 (22:53 -0400)]
Added filtering and capturing on return value for exit join points.
Justin Seyster [Wed, 20 Oct 2010 22:07:21 +0000 (18:07 -0400)]
Moved some internal functions out of Doxygen docs.
Justin Seyster [Wed, 20 Oct 2010 21:48:42 +0000 (17:48 -0400)]
Added AUTHORS files.
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
Justin Seyster [Wed, 20 Oct 2010 20:10:29 +0000 (16:10 -0400)]
Fixed backwards curly brace. Oops!
Justin Seyster [Wed, 20 Oct 2010 20:05:25 +0000 (16:05 -0400)]
Fixed incorrect typedef definition in automatic headers.
Justin Seyster [Wed, 20 Oct 2010 20:03:51 +0000 (16:03 -0400)]
Added test case for passing constants to advice.
Justin Seyster [Wed, 20 Oct 2010 20:01:03 +0000 (16:01 -0400)]
Fixed test broken by changing the type for AOP_INST_CST().
Justin Seyster [Wed, 20 Oct 2010 19:54:34 +0000 (15:54 -0400)]
Fixed precision-lossy cast to float.
Justin Seyster [Wed, 20 Oct 2010 18:48:36 +0000 (14:48 -0400)]
Correctly set types for constant values.
Justin Seyster [Wed, 20 Oct 2010 18:48:16 +0000 (14:48 -0400)]
Clarify documentation for AOP_INT_CST.
Justin Seyster [Wed, 20 Oct 2010 18:38:06 +0000 (14:38 -0400)]
Renamed AOP_FLOAT_CST() to AOP_DOUBLE_CST().
That's actually what it was, and naming it with FLOAT was confusing.
Justin Seyster [Wed, 20 Oct 2010 18:24:35 +0000 (14:24 -0400)]
No longer need a join point to find out the current function name.
Justin Seyster [Wed, 20 Oct 2010 04:09:47 +0000 (00:09 -0400)]
Added automatic headers group.
Justin Seyster [Wed, 20 Oct 2010 04:09:39 +0000 (00:09 -0400)]
Added capture functions group.
Justin Seyster [Wed, 20 Oct 2010 04:00:13 +0000 (00:00 -0400)]
Created group for advice insertion functions.
Justin Seyster [Wed, 20 Oct 2010 03:46:54 +0000 (23:46 -0400)]
Created a group for setup functions.
Justin Seyster [Wed, 20 Oct 2010 03:32:11 +0000 (23:32 -0400)]
Move the doc for aop_finish() so that it is visible to Doxygen.
Justin Seyster [Wed, 20 Oct 2010 03:27:41 +0000 (23:27 -0400)]
Documentation for entry/exit pointcut matching functions.
Justin Seyster [Wed, 20 Oct 2010 03:17:19 +0000 (23:17 -0400)]
Clarify documentation for aop_capture_assigned_value().
Justin Seyster [Wed, 20 Oct 2010 03:16:50 +0000 (23:16 -0400)]
Removed prototype for obsolete capture function.
Justin Seyster [Wed, 20 Oct 2010 03:01:51 +0000 (23:01 -0400)]
Added docs for aop_capture_lineno() and aop_capture_file_name().
Justin Seyster [Wed, 20 Oct 2010 02:20:18 +0000 (22:20 -0400)]
Removed the internal aop_abort() from documentation.
Justin Seyster [Wed, 20 Oct 2010 01:19:21 +0000 (21:19 -0400)]
Documenation for aop_main() and aop_reigster_pass().
Justin Seyster [Wed, 20 Oct 2010 01:00:32 +0000 (21:00 -0400)]
New README file. Clarification about Autotools in INSTALL.
Justin Seyster [Tue, 19 Oct 2010 23:12:58 +0000 (19:12 -0400)]
Copyright and licensing clarifications. Added runtime exception.
Justin Seyster [Fri, 15 Oct 2010 22:41:32 +0000 (18:41 -0400)]
Added LaRS link.
Justin Seyster [Fri, 15 Oct 2010 21:31:43 +0000 (17:31 -0400)]
Turned off the search engine for now.
Justin Seyster [Fri, 15 Oct 2010 21:31:09 +0000 (17:31 -0400)]
Updated web site navigation.
Justin Seyster [Wed, 13 Oct 2010 00:39:20 +0000 (20:39 -0400)]
Fixed bug caused by trying to do casts directly in advice calls.
Justin Seyster [Tue, 12 Oct 2010 23:56:33 +0000 (19:56 -0400)]
Added advice_header.c example plug-in.
Justin Seyster [Tue, 12 Oct 2010 22:11:12 +0000 (18:11 -0400)]
Added example plug-in to the documentation.
Justin Seyster [Tue, 12 Oct 2010 22:10:56 +0000 (18:10 -0400)]
Added list of structs with lifetimes to documentation.
Justin Seyster [Mon, 11 Oct 2010 22:26:15 +0000 (18:26 -0400)]
Documented aop_type.
Justin Seyster [Mon, 11 Oct 2010 21:46:32 +0000 (17:46 -0400)]
Documentation for the aop_pointcut.
Justin Seyster [Thu, 23 Sep 2010 22:59:06 +0000 (18:59 -0400)]
Merge branch 'in_param'
Justin Seyster [Thu, 23 Sep 2010 22:58:16 +0000 (18:58 -0400)]
Updated docs for in_params.
Justin Seyster [Thu, 23 Sep 2010 22:36:35 +0000 (18:36 -0400)]
Added test case for in_param support on all pointcut types.
Justin Seyster [Thu, 23 Sep 2010 22:28:26 +0000 (18:28 -0400)]
Added in_param filtering to all pointcuts.
Justin Seyster [Thu, 23 Sep 2010 20:36:17 +0000 (16:36 -0400)]
Fixed check_in_params().
Justin Seyster [Thu, 23 Sep 2010 00:24:27 +0000 (20:24 -0400)]
Added test case for inparams.
Justin Seyster [Thu, 23 Sep 2010 00:24:08 +0000 (20:24 -0400)]
Fixed uninitialized variable warning.
Ketan Dixit [Thu, 16 Sep 2010 00:06:29 +0000 (20:06 -0400)]
Generic param capture for pointcut
Justin Seyster [Tue, 21 Sep 2010 02:09:26 +0000 (22:09 -0400)]
Removed annoying documentation page for internal struct.
Justin Seyster [Tue, 21 Sep 2010 02:05:31 +0000 (22:05 -0400)]
Added a more useful introduction in the main documentation page.
Also documented aop_joinpoint and aop_dynval.
Justin Seyster [Wed, 15 Sep 2010 23:58:10 +0000 (19:58 -0400)]
Wider main body. Use em to adapt to larger fonts.
Justin Seyster [Wed, 15 Sep 2010 23:48:43 +0000 (19:48 -0400)]
Replaced default Doxygen tabs with something that fits the theme.
Justin Seyster [Thu, 9 Sep 2010 23:50:40 +0000 (19:50 -0400)]
Set up custom HTML header and footer for Doxy documentation.
Justin Seyster [Thu, 9 Sep 2010 00:45:18 +0000 (20:45 -0400)]
Distributor prototypes now appear in header files. (With test case.)
Justin Seyster [Thu, 9 Sep 2010 00:34:13 +0000 (20:34 -0400)]
Added duplication test case.
Justin Seyster [Thu, 9 Sep 2010 00:18:56 +0000 (20:18 -0400)]
Added noinstrument attribute (with test case).
Justin Seyster [Wed, 8 Sep 2010 02:49:49 +0000 (22:49 -0400)]
Assign join points also do not instrument advice calls.
The only time an advice call would appear in an assignment is when
it's a distributor function. A modification to
duplicate_function_body() was also necessary so that the inserted
distributor call is in the advice table.
Justin Seyster [Wed, 8 Sep 2010 02:17:20 +0000 (22:17 -0400)]
Make sure not to instrument calls to advice functions.
Along with relevant test cases.
Justin Seyster [Wed, 8 Sep 2010 02:04:16 +0000 (22:04 -0400)]
Fixed aop_register_pass() order.
We now insert BEFORE "veclower" instead of AFTER "cfg." The result is
the same when inserting just one pass, but when inserting multiple
passes, the order is preserved (i.e., passes occur in the same order
as they were inserted).
Justin Seyster [Wed, 8 Sep 2010 01:50:05 +0000 (21:50 -0400)]
Added a new initialization pass.
Justin Seyster [Wed, 8 Sep 2010 00:47:18 +0000 (20:47 -0400)]
Merge branch 'autoheaders'
Justin Seyster [Tue, 7 Sep 2010 22:25:21 +0000 (18:25 -0400)]
Check prototypes for struct/union/enum types testcase.
Justin Seyster [Tue, 7 Sep 2010 22:24:45 +0000 (18:24 -0400)]
Check prototypes for pointer types testcase.
Justin Seyster [Tue, 7 Sep 2010 22:24:22 +0000 (18:24 -0400)]
Check prototypes for float types testcase.
Justin Seyster [Tue, 7 Sep 2010 22:20:16 +0000 (18:20 -0400)]
Make int types test case use aop_finish() for writing its header.
Justin Seyster [Tue, 7 Sep 2010 22:19:54 +0000 (18:19 -0400)]
Added aop_finish().
Justin Seyster [Mon, 6 Sep 2010 21:06:47 +0000 (17:06 -0400)]
Added header generation to int types test case.
Justin Seyster [Mon, 6 Sep 2010 21:05:14 +0000 (17:05 -0400)]
Fixed incorrect qsort comparitor. Removed annoying debug printfs.
Hopefully, I also learned a valuable lesson about ignoring GCC
warnings.
Justin Seyster [Mon, 6 Sep 2010 20:58:19 +0000 (16:58 -0400)]
run-testcase.py can check the output of an automatic header file.
Justin Seyster [Sat, 4 Sep 2010 00:32:39 +0000 (20:32 -0400)]
Added a way to see arguments passed to the GCC command line.
Justin Seyster [Fri, 3 Sep 2010 22:32:08 +0000 (18:32 -0400)]
Merge branch 'master' into autoheaders
Justin Seyster [Fri, 3 Sep 2010 22:31:06 +0000 (18:31 -0400)]
Merge branch 'testcases'
Justin Seyster [Fri, 3 Sep 2010 22:24:21 +0000 (18:24 -0400)]
Rewrote format_c_type() to deal with all aop_type objects.
Justin Seyster [Fri, 3 Sep 2010 00:13:48 +0000 (20:13 -0400)]
get_param_types() no longer balks at AOP_STR_CST() params.
Justin Seyster [Fri, 3 Sep 2010 00:01:48 +0000 (20:01 -0400)]
Turns out you're supposed to NULL terminate linked lists.
Justin Seyster [Thu, 2 Sep 2010 23:53:14 +0000 (19:53 -0400)]
Fix: allocating just a pointer instead of the whole struct.
Justin Seyster [Thu, 2 Sep 2010 22:54:05 +0000 (18:54 -0400)]
Merge branch 'master' into autoheaders
Conflicts:
src/Makefile.am
src/aop-main.c
src/aop-type.h
src/aop.h
Justin Seyster [Thu, 2 Sep 2010 22:24:20 +0000 (18:24 -0400)]
Added struct/union/enum types test.
Justin Seyster [Thu, 2 Sep 2010 22:20:20 +0000 (18:20 -0400)]
Added pointer types test case.
Justin Seyster [Thu, 2 Sep 2010 21:46:46 +0000 (17:46 -0400)]
Added test case for matching floating point types.
Justin Seyster [Thu, 2 Sep 2010 20:56:44 +0000 (16:56 -0400)]
Test cases now work when the builddir is not the srcdir.
Justin Seyster [Thu, 2 Sep 2010 20:45:01 +0000 (16:45 -0400)]
Exit with error code when test case fails.
Fixed typo in failure message.