1 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
4 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
5 * configure: Regenerated.
7 2013-09-08 Caroline Tice <cmtice@google.com>
9 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
10 * testsuite/environment.cc: Ditto.
11 * testsuite/template-list2.cc: Ditto.
12 * testsuite/event.h: Ditto.
13 * testsuite/dataentry.cc: Ditto.
14 * testsuite/event-private.h: Ditto.
15 * testsuite/virtual_inheritance.cc: Ditto.
16 * testsuite/povray-derived.cc: Ditto.
17 * testsuite/nested_vcall_test.cc: Ditto.
18 * testsuite/template-list-iostream.cc: Ditto.
19 * testsuite/parts-test-extra-parts-views.h: Ditto.
20 * testsuite/virtfunc-test.cc: Ditto.
21 * testsuite/parts-test-extra-parts.h: Ditto.
22 * testsuite/const_vtable.cc: Ditto.
23 * testsuite/template-list.cc: Ditto.
24 * testsuite/dup_name.cc: Ditto.
25 * testsuite/thunk.cc: Ditto.
26 * testsuite/parts-test-main.h: Ditto.
27 * testsuite/mul_inh.cc: Ditto.
28 * testsuite/test1.cc: Ditto.
29 * testsuite/bb_tests.cc: Ditto.
30 * testsuite/v8-test-2.cc: Ditto.
31 * testsuite/thunk_vtable_map_attack.cc: Ditto.
32 * testsuite/xlan-test.cc: Ditto.
33 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
34 change file extension from .cc to .cpp.
35 * testsuite/event-definitions.cpp: Ditto.
36 * testsuite/event-main.cpp: Ditto.
37 * testsuite/derived-main.cpp: Ditto.
38 * testsuite/derived-lib.cpp: Ditto.
39 * testsuite/event-private.cpp: Ditto.
40 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
41 * testsuite/parts-test-extra-parts.cpp: Ditto.
42 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
43 file extensions inside file from .cc to .cpp.
44 * testsuite/event.list: Ditto.
45 * testsuite/derived.list: Ditto.
46 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
47 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
48 (KEY_TYPE_FIXED_SIZE): New define.
49 (key_buffer, name_string, fake_names): New global variables.
50 (generate_names): New function.
51 (vtv_string_hans): New function.
52 (main): Add call to generate_names. Update middle for-loop to
53 initialize new parameters for __VLTRegisterPair... calls; move calls
54 to __VLTRegisterPair... to middle for-loop. Add calls to
56 * testsuite/register_pair_mt.cc: Ditto; renamed to
57 register_set_pair_mt.cc
58 * testsuite/libvtv.cc/vtv.exp: New file.
59 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
60 * testsuite/libvtv.mt.cc/mt.exp: New file.
61 * testsuite/lib/libvtv.exp: New file.
62 * testsuite/lib/libvtv-dg.exp: New file.
63 * testsuite/config/default.exp: New file.
64 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
66 * testsuite/Makefile.in: New file (generated).
67 * testsuite/mempool_negative.c: Change to C++ file; move to
68 libvtv.mempool.cc; include vtv-change-permission.h.
69 (main): Add call to __VLTChangePermission.
70 * testsuite/mempool_positive.c: Change to C++ file; move to
71 libvtv.mempool.cc; include vtv-change-permission.h.
72 (main): Add call to __VLTChangePermission.
73 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
74 * testsuite/environment-fail-64.s: Ditto.
75 * testsutite/dlopen.cc: Ditto.
76 * testsuite/so.cc: Ditto.
77 * testsuite/temp_deriv2.cc: Ditto.
78 * testsuite/field-test.cc: Ditto.
79 * testsuite/dlopen_mt.cc: Ditto.
80 * testsuite/environment-fail-32.s: Ditto.
81 * testsuite/temp_deriv.cc: Ditto.
82 * testsuite/replace-fail.cc: Ditto.
83 * testsuite/other-tests/Makefile.am: New file. Copied from the
84 Makefile.am that used to be in testsuite directory.
85 * testsuite/other-tests/Makefile.in: Generated. (New file).
86 * testsuite/other-tests/README: New file.
88 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
90 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
91 definition of check-am:.
92 * testsuite/Makefile.in: Regenerate.
94 2013-09-06 Caroline Tice <cmtice@google.com>
96 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
97 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
98 * Makefile.in: Regenerate.
99 * configure.ac: Remove checks and tests for --enable-vtable-verify.
100 * configure: Regenerate.
102 2013-08-20 Caroline Tice <cmtice@google.com>
104 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
105 * Makefile.in: Regenerate.
106 * configure.ac: Add check for __secure_getenv and secure_getenv.
107 * configure: Regenerate.
108 * vtv_utils.cc : Include stdlib.h
109 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
110 (log_dirs): Remove file static constant.
111 (__vtv_open_log): Increase size of log file name. Add the user
112 and process ids to the file name. Do not put the log files in /tmp.
113 Instead try to get the directory name from an environment variable; if
114 that fails try to use stderr. Add O_NOFOLLOW to the flags
115 for 'open'. Update function comment.
116 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
118 2013-08-08 Benjamin Kosnik <bkoz@rehat.com>
119 Michael Meissner <meissner@linux.vnet.ibm.com>
121 * configure.tgt : Simplify, just use VTV_SUPPORTED.
123 2013-08-07 Benjamin Kosnik <bkoz@rehat.com>
125 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
126 * Makefile.in: Regenerate.
127 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
128 * configure.ac: ...here. Make configure more verbose, re-order.
129 * configure: Regenerate.
131 2013-08-02 Caroline Tice <cmtice@google.com>
132 Benjamin Kosnik <bkoz@redhat.com>
133 Luis Lozano <llozano@google.com>
134 Geoff Pike <gpike@google.com>
136 Initial check-in of new vtable verification feature.
137 * configure.ac : New file.
138 * acinclude.m4 : New file.
139 * Makefile.am : New file.
140 * aclocal.m4 : New file.
141 * configure.tgt : New file.
142 * configure: New file (generated).
143 * Makefile.in: New file (generated).
144 * vtv_set.h : New file.
145 * vtv_utils.cc : New file.
146 * vtv_utils.h : New file.
147 * vtv_malloc.cc : New file.
148 * vtv_rts.cc : New file.
149 * vtv_malloc.h : New file.
150 * vtv_rts.h : New file.
151 * vtv_fail.cc : New file.
152 * vtv_fail.h : New file.
153 * vtv_map.h : New file.
154 * scripts/run-testsuite.sh : New file.
155 * scripts/sum-vtv-counts.c : New file.
156 * testsuite/parts-test-main.h : New file.
157 * testusite/dataentry.cc : New file.
158 * testsuite/temp_deriv.cc : New file.
159 * testsuite/register_pair.cc : New file.
160 * testsuite/virtual_inheritance.cc : New file.
161 * testsuite/field-test.cc : New file.
162 * testsuite/nested_vcall_test.cc : New file.
163 * testsuite/template-list-iostream.cc : New file.
164 * testsuite/register_pair_inserts.cc : New file.
165 * testsuite/register_pair_inserts_mt.cc : New file.
166 * testsuite/event.list : New file.
167 * testsuite/parts-test-extra-parts-views.cc : New file.
168 * testsuite/parts-test-extra-parts-views.h : New file.
169 * testsuite/environment-fail-32.s : New file.
170 * testsuite/parts-test-extra-parts.h : New file.
171 * testsuite/temp_deriv2.cc : New file.
172 * testsuite/dlopen_mt.cc : New file.
173 * testsuite/event.h : New file.
174 * testsuite/template-list.cc : New file.
175 * testsuite/replace-fail.cc : New file.
176 * testsuite/Makefile.am : New file.
177 * testsuite/Makefile.in: New file (generated).
178 * testsuite/mempool_negative.c : New file.
179 * testsuite/parts-test-main.cc : New file.
180 * testsuite/event-private.cc : New file.
181 * testsuite/thunk.cc : New file.
182 * testsuite/event-defintiions.cc : New file.
183 * testsuite/event-private.h : New file.
184 * testsuite/parts-test.list : New file.
185 * testusite/register_pair_mt.cc : New file.
186 * testsuite/povray-derived.cc : New file.
187 * testsuite/event-main.cc : New file.
188 * testsuite/environment.cc : New file.
189 * testsuite/template-list2.cc : New file.
190 * testsuite/thunk_vtable_map_attack.cc : New file.
191 * testsuite/parts-test-extra-parts.cc : New file.
192 * testsuite/environment-fail-64.s : New file.
193 * testsuite/dlopen.cc : New file.
194 * testsuite/so.cc : New file.
195 * testsuite/temp_deriv3.cc : New file.
196 * testsuite/const_vtable.cc : New file.
197 * testsuite/mempool_positive.c : New file.
198 * testsuite/dup_name.cc : New file.