1 2020-01-01 Jakub Jelinek <jakub@redhat.com>
3 Update copyright years.
5 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
7 * configure: Regenerate.
9 2019-02-19 Caroline Tice <cmtice@google.com>
12 * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
14 2019-01-01 Jakub Jelinek <jakub@redhat.com>
16 Update copyright years.
18 2018-10-31 Joseph Myers <joseph@codesourcery.com>
21 * Makefile.am: Include multilib.am.
22 * configure.ac: Remove AC_PREREQ.
23 * testsuite/Makefile.am (RUNTEST): Remove quotes.
24 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
27 2018-05-02 Tom de Vries <tom@codesourcery.com>
30 * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
32 2018-05-02 Tom de Vries <tom@codesourcery.com>
35 * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
37 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
39 * configure: Regenerated.
41 2018-04-19 Jakub Jelinek <jakub@redhat.com>
43 * configure: Regenerated.
45 2018-04-18 David Malcolm <dmalcolm@redhat.com>
48 * configure: Regenerate.
50 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
53 * configure: Regenerate.
55 2018-01-03 Jakub Jelinek <jakub@redhat.com>
57 Update copyright years.
59 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
61 * acinclude.m4: Add enable.m4 and cet.m4.
62 * Makefile.in: Regenerate.
63 * testsuite/Makefile.in: Likewise.
64 * configure: Likewise.
65 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
66 * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
68 2017-01-21 Jakub Jelinek <jakub@redhat.com>
71 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
72 of cat to get version from BASE-VER file.
73 * testsuite/Makefile.in: Regenerated.
75 2017-01-17 Jakub Jelinek <jakub@redhat.com>
78 * configure.ac: Add GCC_BASE_VER.
79 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
80 get version from BASE-VER file.
81 * testsuite/Makefile.in: Regenerated.
82 * configure: Regenerated.
83 * Makefile.in: Regenerated.
85 2017-01-04 Jakub Jelinek <jakub@redhat.com>
87 Update copyright years.
89 2016-11-15 Matthias Klose <doko@ubuntu.com>
91 * configure: Regenerate.
93 2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
95 * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
98 * Makefile.in: Regenerate.
100 2015-12-02 Matthias Klose <doko@ubuntu.com>
102 * configure.ac: Move AM_ENABLE_MULTILIB before
103 GCC_LIBSTDCXX_RAW_CXX_FLAGS.
104 * configure: Regenerate.
106 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
108 * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
109 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
110 <*-*-solaris2*>: Check for init priority support.
111 Check for getexecname, __fortify_fail, _obstack_begin.
112 (VTV_NO_OBSTACK): New conditional.
113 * configure: Regenerate.
114 * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
115 Create empty config.h
116 * Makefile.in: Regenerate.
118 * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
120 (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
121 (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
123 (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
124 [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
126 (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
127 (iterate_modules): Fix typo.
129 (dl_iterate_phdr_callback): Fix typo.
131 (__VLTChangePermission): Fix typos.
133 2015-11-09 Alan Modra <amodra@gmail.com>
135 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
136 (__vtv_malloc_init): Use obstack_specify_allocation.
138 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
140 * configure.tgt (aarch64*-*-linux): Enable.
141 (arm*-*-linux*): Enable.
143 2015-10-09 David Malcolm <dmalcolm@redhat.com>
145 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
148 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
152 2015-08-01 Caroline Tice <cmtice@google.com>
155 * Makefile.am: Update to match latest tree.
156 * Makefile.in: Regenerate.
157 * testsuite/lib/libvtv: Brought up to date.
158 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
160 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
161 initializations to work correctly with VTV_DEBUG defined.
163 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
165 * Makefile.in: Regenerated with automake-1.11.6.
166 * aclocal.m4: Likewise.
167 * configure: Likewise.
168 * testsuite/Makefile.in: Likewise.
169 * testsuite/other-tests/Makefile.in: Likewise.
171 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
173 * Makefile.in: Regenerate.
174 * aclocal.m4: Likewise.
175 * configure: Likewise.
176 * testsuite/Makefile.in: Likewise.
178 2015-01-29 Caroline Tice <cmtice@google.com>
180 Committing VTV Cywin/Ming patch for Patrick Wollgast
181 * libvtv/Makefile.in : Regenerate.
182 * libvtv/configure : Regenerate.
184 2015-01-28 Caroline Tice <cmtice@google.com>
186 Committing VTV Cywin/Ming patch for Patrick Wollgast
187 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
188 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
189 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
190 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
191 * libvtv/aclocal.m4 : Regenerate.
192 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
193 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
195 (i?86-*-mingw*): Add to supported targets.
196 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
197 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
199 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
200 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
201 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
203 (__vtv_malloc_init): Exchange call to sysconf with call to port of
204 sysconf on Cygwin and MinGW.
205 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
206 PROT_WRITE on Cygwin and MinGW.
207 * libvtv/map.h : Include stdint.h on MinGW.
208 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
209 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
210 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
211 uintptr_t on Cygwin and MinGW.
212 (read_section_offset_and_length): Add port for Cygwin and MinGW
213 (iterate_modules): New function.
214 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
215 dl_iterate_phdr on Cygwin and MinGW.
216 (vtv_protect_vtable_vars): Likewise.
217 (count_all_pages): Likewise.
218 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
219 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
221 (__vtv_open_log): Exchange call to getuid and getpid with
222 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
223 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
225 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
226 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
229 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
231 * testsuite/lib/libvtv.exp: Load target-utils.exp
233 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
236 * configure: Regenerated.
238 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
241 * configure: Regenerate.
243 2013-09-25 Caroline Tice <cmtice@google.com>
245 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
246 sure testsuite is not run if libstdc++ and libgcc were not built
247 with vtable verification.
248 * Makefile.in: Regenerated.
249 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
250 to make sure testsuite is not run if libstdc++ and libgcc were not
251 built with vtable verification.
252 * configure: Regenerated.
254 2013-09-24 Caroline Tice <cmtice@google.com>
256 * Makefile.am: Change libvtv_includedir to the directory used by
257 the other libraries rather than the top include directory.
258 * Makefile.in: Regenerated.
260 2013-09-20 Alan Modra <amodra@gmail.com>
262 * configure: Regenerate.
264 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
266 * configure.tgt: Remove *-*-*android* from supported targets.
268 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
271 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
272 * configure: Regenerated.
274 2013-09-08 Caroline Tice <cmtice@google.com>
276 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
277 * testsuite/environment.cc: Ditto.
278 * testsuite/template-list2.cc: Ditto.
279 * testsuite/event.h: Ditto.
280 * testsuite/dataentry.cc: Ditto.
281 * testsuite/event-private.h: Ditto.
282 * testsuite/virtual_inheritance.cc: Ditto.
283 * testsuite/povray-derived.cc: Ditto.
284 * testsuite/nested_vcall_test.cc: Ditto.
285 * testsuite/template-list-iostream.cc: Ditto.
286 * testsuite/parts-test-extra-parts-views.h: Ditto.
287 * testsuite/virtfunc-test.cc: Ditto.
288 * testsuite/parts-test-extra-parts.h: Ditto.
289 * testsuite/const_vtable.cc: Ditto.
290 * testsuite/template-list.cc: Ditto.
291 * testsuite/dup_name.cc: Ditto.
292 * testsuite/thunk.cc: Ditto.
293 * testsuite/parts-test-main.h: Ditto.
294 * testsuite/mul_inh.cc: Ditto.
295 * testsuite/test1.cc: Ditto.
296 * testsuite/bb_tests.cc: Ditto.
297 * testsuite/v8-test-2.cc: Ditto.
298 * testsuite/thunk_vtable_map_attack.cc: Ditto.
299 * testsuite/xlan-test.cc: Ditto.
300 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
301 change file extension from .cc to .cpp.
302 * testsuite/event-definitions.cpp: Ditto.
303 * testsuite/event-main.cpp: Ditto.
304 * testsuite/derived-main.cpp: Ditto.
305 * testsuite/derived-lib.cpp: Ditto.
306 * testsuite/event-private.cpp: Ditto.
307 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
308 * testsuite/parts-test-extra-parts.cpp: Ditto.
309 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
310 file extensions inside file from .cc to .cpp.
311 * testsuite/event.list: Ditto.
312 * testsuite/derived.list: Ditto.
313 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
314 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
315 (KEY_TYPE_FIXED_SIZE): New define.
316 (key_buffer, name_string, fake_names): New global variables.
317 (generate_names): New function.
318 (vtv_string_hans): New function.
319 (main): Add call to generate_names. Update middle for-loop to
320 initialize new parameters for __VLTRegisterPair... calls; move calls
321 to __VLTRegisterPair... to middle for-loop. Add calls to
323 * testsuite/register_pair_mt.cc: Ditto; renamed to
324 register_set_pair_mt.cc
325 * testsuite/libvtv.cc/vtv.exp: New file.
326 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
327 * testsuite/libvtv.mt.cc/mt.exp: New file.
328 * testsuite/lib/libvtv.exp: New file.
329 * testsuite/lib/libvtv-dg.exp: New file.
330 * testsuite/config/default.exp: New file.
331 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
333 * testsuite/Makefile.in: New file (generated).
334 * testsuite/mempool_negative.c: Change to C++ file; move to
335 libvtv.mempool.cc; include vtv-change-permission.h.
336 (main): Add call to __VLTChangePermission.
337 * testsuite/mempool_positive.c: Change to C++ file; move to
338 libvtv.mempool.cc; include vtv-change-permission.h.
339 (main): Add call to __VLTChangePermission.
340 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
341 * testsuite/environment-fail-64.s: Ditto.
342 * testsutite/dlopen.cc: Ditto.
343 * testsuite/so.cc: Ditto.
344 * testsuite/temp_deriv2.cc: Ditto.
345 * testsuite/field-test.cc: Ditto.
346 * testsuite/dlopen_mt.cc: Ditto.
347 * testsuite/environment-fail-32.s: Ditto.
348 * testsuite/temp_deriv.cc: Ditto.
349 * testsuite/replace-fail.cc: Ditto.
350 * testsuite/other-tests/Makefile.am: New file. Copied from the
351 Makefile.am that used to be in testsuite directory.
352 * testsuite/other-tests/Makefile.in: Generated. (New file).
353 * testsuite/other-tests/README: New file.
355 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
357 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
358 definition of check-am:.
359 * testsuite/Makefile.in: Regenerate.
361 2013-09-06 Caroline Tice <cmtice@google.com>
363 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
364 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
365 * Makefile.in: Regenerate.
366 * configure.ac: Remove checks and tests for --enable-vtable-verify.
367 * configure: Regenerate.
369 2013-08-20 Caroline Tice <cmtice@google.com>
371 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
372 * Makefile.in: Regenerate.
373 * configure.ac: Add check for __secure_getenv and secure_getenv.
374 * configure: Regenerate.
375 * vtv_utils.cc : Include stdlib.h
376 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
377 (log_dirs): Remove file static constant.
378 (__vtv_open_log): Increase size of log file name. Add the user
379 and process ids to the file name. Do not put the log files in /tmp.
380 Instead try to get the directory name from an environment variable; if
381 that fails try to use stderr. Add O_NOFOLLOW to the flags
382 for 'open'. Update function comment.
383 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
385 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
386 Michael Meissner <meissner@linux.vnet.ibm.com>
388 * configure.tgt : Simplify, just use VTV_SUPPORTED.
390 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
392 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
393 * Makefile.in: Regenerate.
394 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
395 * configure.ac: ...here. Make configure more verbose, re-order.
396 * configure: Regenerate.
398 2013-08-02 Caroline Tice <cmtice@google.com>
399 Benjamin Kosnik <bkoz@redhat.com>
400 Luis Lozano <llozano@google.com>
401 Geoff Pike <gpike@google.com>
403 Initial check-in of new vtable verification feature.
404 * configure.ac : New file.
405 * acinclude.m4 : New file.
406 * Makefile.am : New file.
407 * aclocal.m4 : New file.
408 * configure.tgt : New file.
409 * configure: New file (generated).
410 * Makefile.in: New file (generated).
411 * vtv_set.h : New file.
412 * vtv_utils.cc : New file.
413 * vtv_utils.h : New file.
414 * vtv_malloc.cc : New file.
415 * vtv_rts.cc : New file.
416 * vtv_malloc.h : New file.
417 * vtv_rts.h : New file.
418 * vtv_fail.cc : New file.
419 * vtv_fail.h : New file.
420 * vtv_map.h : New file.
421 * scripts/run-testsuite.sh : New file.
422 * scripts/sum-vtv-counts.c : New file.
423 * testsuite/parts-test-main.h : New file.
424 * testusite/dataentry.cc : New file.
425 * testsuite/temp_deriv.cc : New file.
426 * testsuite/register_pair.cc : New file.
427 * testsuite/virtual_inheritance.cc : New file.
428 * testsuite/field-test.cc : New file.
429 * testsuite/nested_vcall_test.cc : New file.
430 * testsuite/template-list-iostream.cc : New file.
431 * testsuite/register_pair_inserts.cc : New file.
432 * testsuite/register_pair_inserts_mt.cc : New file.
433 * testsuite/event.list : New file.
434 * testsuite/parts-test-extra-parts-views.cc : New file.
435 * testsuite/parts-test-extra-parts-views.h : New file.
436 * testsuite/environment-fail-32.s : New file.
437 * testsuite/parts-test-extra-parts.h : New file.
438 * testsuite/temp_deriv2.cc : New file.
439 * testsuite/dlopen_mt.cc : New file.
440 * testsuite/event.h : New file.
441 * testsuite/template-list.cc : New file.
442 * testsuite/replace-fail.cc : New file.
443 * testsuite/Makefile.am : New file.
444 * testsuite/Makefile.in: New file (generated).
445 * testsuite/mempool_negative.c : New file.
446 * testsuite/parts-test-main.cc : New file.
447 * testsuite/event-private.cc : New file.
448 * testsuite/thunk.cc : New file.
449 * testsuite/event-defintiions.cc : New file.
450 * testsuite/event-private.h : New file.
451 * testsuite/parts-test.list : New file.
452 * testusite/register_pair_mt.cc : New file.
453 * testsuite/povray-derived.cc : New file.
454 * testsuite/event-main.cc : New file.
455 * testsuite/environment.cc : New file.
456 * testsuite/template-list2.cc : New file.
457 * testsuite/thunk_vtable_map_attack.cc : New file.
458 * testsuite/parts-test-extra-parts.cc : New file.
459 * testsuite/environment-fail-64.s : New file.
460 * testsuite/dlopen.cc : New file.
461 * testsuite/so.cc : New file.
462 * testsuite/temp_deriv3.cc : New file.
463 * testsuite/const_vtable.cc : New file.
464 * testsuite/mempool_positive.c : New file.
465 * testsuite/dup_name.cc : New file.