1 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3 * Makefile.in: Regenerated with automake-1.11.6.
4 * aclocal.m4: Likewise.
6 * testsuite/Makefile.in: Likewise.
7 * testsuite/other-tests/Makefile.in: Likewise.
9 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
11 * Makefile.in: Regenerate.
12 * aclocal.m4: Likewise.
13 * configure: Likewise.
14 * testsuite/Makefile.in: Likewise.
16 2015-01-29 Caroline Tice <cmtice@google.com>
18 Committing VTV Cywin/Ming patch for Patrick Wollgast
19 * libvtv/Makefile.in : Regenerate.
20 * libvtv/configure : Regenerate.
22 2015-01-28 Caroline Tice <cmtice@google.com>
24 Committing VTV Cywin/Ming patch for Patrick Wollgast
25 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
26 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
27 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
28 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
29 * libvtv/aclocal.m4 : Regenerate.
30 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
31 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
33 (i?86-*-mingw*): Add to supported targets.
34 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
35 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
37 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
38 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
39 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
41 (__vtv_malloc_init): Exchange call to sysconf with call to port of
42 sysconf on Cygwin and MinGW.
43 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
44 PROT_WRITE on Cygwin and MinGW.
45 * libvtv/map.h : Include stdint.h on MinGW.
46 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
47 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
48 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
49 uintptr_t on Cygwin and MinGW.
50 (read_section_offset_and_length): Add port for Cygwin and MinGW
51 (iterate_modules): New function.
52 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
53 dl_iterate_phdr on Cygwin and MinGW.
54 (vtv_protect_vtable_vars): Likewise.
55 (count_all_pages): Likewise.
56 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
57 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
59 (__vtv_open_log): Exchange call to getuid and getpid with
60 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
61 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
63 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
64 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
67 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
69 * testsuite/lib/libvtv.exp: Load target-utils.exp
71 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
74 * configure: Regenerated.
76 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
79 * configure: Regenerate.
81 2013-09-25 Caroline Tice <cmtice@google.com>
83 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
84 sure testsuite is not run if libstdc++ and libgcc were not built
85 with vtable verification.
86 * Makefile.in: Regenerated.
87 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
88 to make sure testsuite is not run if libstdc++ and libgcc were not
89 built with vtable verification.
90 * configure: Regenerated.
92 2013-09-24 Caroline Tice <cmtice@google.com>
94 * Makefile.am: Change libvtv_includedir to the directory used by
95 the other libraries rather than the top include directory.
96 * Makefile.in: Regenerated.
98 2013-09-20 Alan Modra <amodra@gmail.com>
100 * configure: Regenerate.
102 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
104 * configure.tgt: Remove *-*-*android* from supported targets.
106 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
109 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
110 * configure: Regenerated.
112 2013-09-08 Caroline Tice <cmtice@google.com>
114 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
115 * testsuite/environment.cc: Ditto.
116 * testsuite/template-list2.cc: Ditto.
117 * testsuite/event.h: Ditto.
118 * testsuite/dataentry.cc: Ditto.
119 * testsuite/event-private.h: Ditto.
120 * testsuite/virtual_inheritance.cc: Ditto.
121 * testsuite/povray-derived.cc: Ditto.
122 * testsuite/nested_vcall_test.cc: Ditto.
123 * testsuite/template-list-iostream.cc: Ditto.
124 * testsuite/parts-test-extra-parts-views.h: Ditto.
125 * testsuite/virtfunc-test.cc: Ditto.
126 * testsuite/parts-test-extra-parts.h: Ditto.
127 * testsuite/const_vtable.cc: Ditto.
128 * testsuite/template-list.cc: Ditto.
129 * testsuite/dup_name.cc: Ditto.
130 * testsuite/thunk.cc: Ditto.
131 * testsuite/parts-test-main.h: Ditto.
132 * testsuite/mul_inh.cc: Ditto.
133 * testsuite/test1.cc: Ditto.
134 * testsuite/bb_tests.cc: Ditto.
135 * testsuite/v8-test-2.cc: Ditto.
136 * testsuite/thunk_vtable_map_attack.cc: Ditto.
137 * testsuite/xlan-test.cc: Ditto.
138 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
139 change file extension from .cc to .cpp.
140 * testsuite/event-definitions.cpp: Ditto.
141 * testsuite/event-main.cpp: Ditto.
142 * testsuite/derived-main.cpp: Ditto.
143 * testsuite/derived-lib.cpp: Ditto.
144 * testsuite/event-private.cpp: Ditto.
145 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
146 * testsuite/parts-test-extra-parts.cpp: Ditto.
147 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
148 file extensions inside file from .cc to .cpp.
149 * testsuite/event.list: Ditto.
150 * testsuite/derived.list: Ditto.
151 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
152 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
153 (KEY_TYPE_FIXED_SIZE): New define.
154 (key_buffer, name_string, fake_names): New global variables.
155 (generate_names): New function.
156 (vtv_string_hans): New function.
157 (main): Add call to generate_names. Update middle for-loop to
158 initialize new parameters for __VLTRegisterPair... calls; move calls
159 to __VLTRegisterPair... to middle for-loop. Add calls to
161 * testsuite/register_pair_mt.cc: Ditto; renamed to
162 register_set_pair_mt.cc
163 * testsuite/libvtv.cc/vtv.exp: New file.
164 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
165 * testsuite/libvtv.mt.cc/mt.exp: New file.
166 * testsuite/lib/libvtv.exp: New file.
167 * testsuite/lib/libvtv-dg.exp: New file.
168 * testsuite/config/default.exp: New file.
169 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
171 * testsuite/Makefile.in: New file (generated).
172 * testsuite/mempool_negative.c: Change to C++ file; move to
173 libvtv.mempool.cc; include vtv-change-permission.h.
174 (main): Add call to __VLTChangePermission.
175 * testsuite/mempool_positive.c: Change to C++ file; move to
176 libvtv.mempool.cc; include vtv-change-permission.h.
177 (main): Add call to __VLTChangePermission.
178 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
179 * testsuite/environment-fail-64.s: Ditto.
180 * testsutite/dlopen.cc: Ditto.
181 * testsuite/so.cc: Ditto.
182 * testsuite/temp_deriv2.cc: Ditto.
183 * testsuite/field-test.cc: Ditto.
184 * testsuite/dlopen_mt.cc: Ditto.
185 * testsuite/environment-fail-32.s: Ditto.
186 * testsuite/temp_deriv.cc: Ditto.
187 * testsuite/replace-fail.cc: Ditto.
188 * testsuite/other-tests/Makefile.am: New file. Copied from the
189 Makefile.am that used to be in testsuite directory.
190 * testsuite/other-tests/Makefile.in: Generated. (New file).
191 * testsuite/other-tests/README: New file.
193 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
195 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
196 definition of check-am:.
197 * testsuite/Makefile.in: Regenerate.
199 2013-09-06 Caroline Tice <cmtice@google.com>
201 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
202 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
203 * Makefile.in: Regenerate.
204 * configure.ac: Remove checks and tests for --enable-vtable-verify.
205 * configure: Regenerate.
207 2013-08-20 Caroline Tice <cmtice@google.com>
209 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
210 * Makefile.in: Regenerate.
211 * configure.ac: Add check for __secure_getenv and secure_getenv.
212 * configure: Regenerate.
213 * vtv_utils.cc : Include stdlib.h
214 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
215 (log_dirs): Remove file static constant.
216 (__vtv_open_log): Increase size of log file name. Add the user
217 and process ids to the file name. Do not put the log files in /tmp.
218 Instead try to get the directory name from an environment variable; if
219 that fails try to use stderr. Add O_NOFOLLOW to the flags
220 for 'open'. Update function comment.
221 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
223 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
224 Michael Meissner <meissner@linux.vnet.ibm.com>
226 * configure.tgt : Simplify, just use VTV_SUPPORTED.
228 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
230 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
231 * Makefile.in: Regenerate.
232 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
233 * configure.ac: ...here. Make configure more verbose, re-order.
234 * configure: Regenerate.
236 2013-08-02 Caroline Tice <cmtice@google.com>
237 Benjamin Kosnik <bkoz@redhat.com>
238 Luis Lozano <llozano@google.com>
239 Geoff Pike <gpike@google.com>
241 Initial check-in of new vtable verification feature.
242 * configure.ac : New file.
243 * acinclude.m4 : New file.
244 * Makefile.am : New file.
245 * aclocal.m4 : New file.
246 * configure.tgt : New file.
247 * configure: New file (generated).
248 * Makefile.in: New file (generated).
249 * vtv_set.h : New file.
250 * vtv_utils.cc : New file.
251 * vtv_utils.h : New file.
252 * vtv_malloc.cc : New file.
253 * vtv_rts.cc : New file.
254 * vtv_malloc.h : New file.
255 * vtv_rts.h : New file.
256 * vtv_fail.cc : New file.
257 * vtv_fail.h : New file.
258 * vtv_map.h : New file.
259 * scripts/run-testsuite.sh : New file.
260 * scripts/sum-vtv-counts.c : New file.
261 * testsuite/parts-test-main.h : New file.
262 * testusite/dataentry.cc : New file.
263 * testsuite/temp_deriv.cc : New file.
264 * testsuite/register_pair.cc : New file.
265 * testsuite/virtual_inheritance.cc : New file.
266 * testsuite/field-test.cc : New file.
267 * testsuite/nested_vcall_test.cc : New file.
268 * testsuite/template-list-iostream.cc : New file.
269 * testsuite/register_pair_inserts.cc : New file.
270 * testsuite/register_pair_inserts_mt.cc : New file.
271 * testsuite/event.list : New file.
272 * testsuite/parts-test-extra-parts-views.cc : New file.
273 * testsuite/parts-test-extra-parts-views.h : New file.
274 * testsuite/environment-fail-32.s : New file.
275 * testsuite/parts-test-extra-parts.h : New file.
276 * testsuite/temp_deriv2.cc : New file.
277 * testsuite/dlopen_mt.cc : New file.
278 * testsuite/event.h : New file.
279 * testsuite/template-list.cc : New file.
280 * testsuite/replace-fail.cc : New file.
281 * testsuite/Makefile.am : New file.
282 * testsuite/Makefile.in: New file (generated).
283 * testsuite/mempool_negative.c : New file.
284 * testsuite/parts-test-main.cc : New file.
285 * testsuite/event-private.cc : New file.
286 * testsuite/thunk.cc : New file.
287 * testsuite/event-defintiions.cc : New file.
288 * testsuite/event-private.h : New file.
289 * testsuite/parts-test.list : New file.
290 * testusite/register_pair_mt.cc : New file.
291 * testsuite/povray-derived.cc : New file.
292 * testsuite/event-main.cc : New file.
293 * testsuite/environment.cc : New file.
294 * testsuite/template-list2.cc : New file.
295 * testsuite/thunk_vtable_map_attack.cc : New file.
296 * testsuite/parts-test-extra-parts.cc : New file.
297 * testsuite/environment-fail-64.s : New file.
298 * testsuite/dlopen.cc : New file.
299 * testsuite/so.cc : New file.
300 * testsuite/temp_deriv3.cc : New file.
301 * testsuite/const_vtable.cc : New file.
302 * testsuite/mempool_positive.c : New file.
303 * testsuite/dup_name.cc : New file.