1 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
3 * configure: Regenerate.
5 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
7 * configure: Regenerate.
9 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
11 * configure: Regenerate.
13 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
15 * configure: Regenerate.
17 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
19 * configure: Regenerate.
21 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
23 * configure: Regenerate.
25 2023-01-07 LIU Hao <lh_mouse@126.com>
28 * vtv_malloc.cc: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
29 * vtv_rts.cc: Likewise.
30 * vtv_utils.cc: Likewise.
32 2022-10-31 Lulu Cheng <chenglulu@loongson.cn>
33 qijingwen <qijingwen@loongson.cn>
35 * configure.tgt: Add loongarch support.
37 2022-10-12 Martin Liska <mliska@suse.cz>
39 * configure: Regenerate.
41 2022-10-12 Lulu Cheng <chenglulu@loongson.cn>
43 * testsuite/lib/libvtv-dg.exp: Add load_gcc_lib of scansarif.exp.
45 2022-10-11 Olivier Hainque <hainque@adacore.com>
46 Olivier Hainque <hainque@adacore.com>
48 * configure: Regenerate.
50 2022-08-25 Martin Liska <mliska@suse.cz>
52 * configure: Regenerate.
54 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
56 * configure: Re-generate.
58 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
61 * configure: Regenerate.
63 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
65 * configure: Regenerate.
67 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
70 * configure: Regenerated.
72 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
75 * configure: Regenerated.
77 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
79 * configure: Regenerated.
81 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
83 * configure.ac: Handle `--with-toolexeclibdir='.
84 * Makefile.in: Regenerate.
85 * aclocal.m4: Regenerate.
86 * configure: Regenerate.
87 * testsuite/Makefile.in: Regenerate.
89 2020-01-01 Jakub Jelinek <jakub@redhat.com>
91 Update copyright years.
93 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
95 * configure: Regenerate.
97 2019-02-19 Caroline Tice <cmtice@google.com>
100 * testsuite/libvtv.cc/const_vtable.cc (main): Fix function signature.
102 2019-01-01 Jakub Jelinek <jakub@redhat.com>
104 Update copyright years.
106 2018-10-31 Joseph Myers <joseph@codesourcery.com>
109 * Makefile.am: Include multilib.am.
110 * configure.ac: Remove AC_PREREQ.
111 * testsuite/Makefile.am (RUNTEST): Remove quotes.
112 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
115 2018-05-02 Tom de Vries <tom@codesourcery.com>
118 * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
120 2018-05-02 Tom de Vries <tom@codesourcery.com>
123 * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
125 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
127 * configure: Regenerated.
129 2018-04-19 Jakub Jelinek <jakub@redhat.com>
131 * configure: Regenerated.
133 2018-04-18 David Malcolm <dmalcolm@redhat.com>
136 * configure: Regenerate.
138 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
141 * configure: Regenerate.
143 2018-01-03 Jakub Jelinek <jakub@redhat.com>
145 Update copyright years.
147 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
149 * acinclude.m4: Add enable.m4 and cet.m4.
150 * Makefile.in: Regenerate.
151 * testsuite/Makefile.in: Likewise.
152 * configure: Likewise.
153 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
154 * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
156 2017-01-21 Jakub Jelinek <jakub@redhat.com>
159 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
160 of cat to get version from BASE-VER file.
161 * testsuite/Makefile.in: Regenerated.
163 2017-01-17 Jakub Jelinek <jakub@redhat.com>
166 * configure.ac: Add GCC_BASE_VER.
167 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
168 get version from BASE-VER file.
169 * testsuite/Makefile.in: Regenerated.
170 * configure: Regenerated.
171 * Makefile.in: Regenerated.
173 2017-01-04 Jakub Jelinek <jakub@redhat.com>
175 Update copyright years.
177 2016-11-15 Matthias Klose <doko@ubuntu.com>
179 * configure: Regenerate.
181 2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
183 * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
184 ENABLE_VTABLE_VERIFY.
186 * Makefile.in: Regenerate.
188 2015-12-02 Matthias Klose <doko@ubuntu.com>
190 * configure.ac: Move AM_ENABLE_MULTILIB before
191 GCC_LIBSTDCXX_RAW_CXX_FLAGS.
192 * configure: Regenerate.
194 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
196 * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
197 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
198 <*-*-solaris2*>: Check for init priority support.
199 Check for getexecname, __fortify_fail, _obstack_begin.
200 (VTV_NO_OBSTACK): New conditional.
201 * configure: Regenerate.
202 * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
203 Create empty config.h
204 * Makefile.in: Regenerate.
206 * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
208 (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
209 (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
211 (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
212 [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
214 (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
215 (iterate_modules): Fix typo.
217 (dl_iterate_phdr_callback): Fix typo.
219 (__VLTChangePermission): Fix typos.
221 2015-11-09 Alan Modra <amodra@gmail.com>
223 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
224 (__vtv_malloc_init): Use obstack_specify_allocation.
226 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
228 * configure.tgt (aarch64*-*-linux): Enable.
229 (arm*-*-linux*): Enable.
231 2015-10-09 David Malcolm <dmalcolm@redhat.com>
233 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
236 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
240 2015-08-01 Caroline Tice <cmtice@google.com>
243 * Makefile.am: Update to match latest tree.
244 * Makefile.in: Regenerate.
245 * testsuite/lib/libvtv: Brought up to date.
246 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
248 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
249 initializations to work correctly with VTV_DEBUG defined.
251 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
253 * Makefile.in: Regenerated with automake-1.11.6.
254 * aclocal.m4: Likewise.
255 * configure: Likewise.
256 * testsuite/Makefile.in: Likewise.
257 * testsuite/other-tests/Makefile.in: Likewise.
259 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
261 * Makefile.in: Regenerate.
262 * aclocal.m4: Likewise.
263 * configure: Likewise.
264 * testsuite/Makefile.in: Likewise.
266 2015-01-29 Caroline Tice <cmtice@google.com>
268 Committing VTV Cywin/Ming patch for Patrick Wollgast
269 * libvtv/Makefile.in : Regenerate.
270 * libvtv/configure : Regenerate.
272 2015-01-28 Caroline Tice <cmtice@google.com>
274 Committing VTV Cywin/Ming patch for Patrick Wollgast
275 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
276 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
277 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
278 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
279 * libvtv/aclocal.m4 : Regenerate.
280 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
281 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
283 (i?86-*-mingw*): Add to supported targets.
284 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
285 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
287 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
288 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
289 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
291 (__vtv_malloc_init): Exchange call to sysconf with call to port of
292 sysconf on Cygwin and MinGW.
293 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
294 PROT_WRITE on Cygwin and MinGW.
295 * libvtv/map.h : Include stdint.h on MinGW.
296 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
297 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
298 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
299 uintptr_t on Cygwin and MinGW.
300 (read_section_offset_and_length): Add port for Cygwin and MinGW
301 (iterate_modules): New function.
302 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
303 dl_iterate_phdr on Cygwin and MinGW.
304 (vtv_protect_vtable_vars): Likewise.
305 (count_all_pages): Likewise.
306 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
307 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
309 (__vtv_open_log): Exchange call to getuid and getpid with
310 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
311 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
313 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
314 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
317 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
319 * testsuite/lib/libvtv.exp: Load target-utils.exp
321 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
324 * configure: Regenerated.
326 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
329 * configure: Regenerate.
331 2013-09-25 Caroline Tice <cmtice@google.com>
333 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
334 sure testsuite is not run if libstdc++ and libgcc were not built
335 with vtable verification.
336 * Makefile.in: Regenerated.
337 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
338 to make sure testsuite is not run if libstdc++ and libgcc were not
339 built with vtable verification.
340 * configure: Regenerated.
342 2013-09-24 Caroline Tice <cmtice@google.com>
344 * Makefile.am: Change libvtv_includedir to the directory used by
345 the other libraries rather than the top include directory.
346 * Makefile.in: Regenerated.
348 2013-09-20 Alan Modra <amodra@gmail.com>
350 * configure: Regenerate.
352 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
354 * configure.tgt: Remove *-*-*android* from supported targets.
356 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
359 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
360 * configure: Regenerated.
362 2013-09-08 Caroline Tice <cmtice@google.com>
364 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
365 * testsuite/environment.cc: Ditto.
366 * testsuite/template-list2.cc: Ditto.
367 * testsuite/event.h: Ditto.
368 * testsuite/dataentry.cc: Ditto.
369 * testsuite/event-private.h: Ditto.
370 * testsuite/virtual_inheritance.cc: Ditto.
371 * testsuite/povray-derived.cc: Ditto.
372 * testsuite/nested_vcall_test.cc: Ditto.
373 * testsuite/template-list-iostream.cc: Ditto.
374 * testsuite/parts-test-extra-parts-views.h: Ditto.
375 * testsuite/virtfunc-test.cc: Ditto.
376 * testsuite/parts-test-extra-parts.h: Ditto.
377 * testsuite/const_vtable.cc: Ditto.
378 * testsuite/template-list.cc: Ditto.
379 * testsuite/dup_name.cc: Ditto.
380 * testsuite/thunk.cc: Ditto.
381 * testsuite/parts-test-main.h: Ditto.
382 * testsuite/mul_inh.cc: Ditto.
383 * testsuite/test1.cc: Ditto.
384 * testsuite/bb_tests.cc: Ditto.
385 * testsuite/v8-test-2.cc: Ditto.
386 * testsuite/thunk_vtable_map_attack.cc: Ditto.
387 * testsuite/xlan-test.cc: Ditto.
388 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
389 change file extension from .cc to .cpp.
390 * testsuite/event-definitions.cpp: Ditto.
391 * testsuite/event-main.cpp: Ditto.
392 * testsuite/derived-main.cpp: Ditto.
393 * testsuite/derived-lib.cpp: Ditto.
394 * testsuite/event-private.cpp: Ditto.
395 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
396 * testsuite/parts-test-extra-parts.cpp: Ditto.
397 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
398 file extensions inside file from .cc to .cpp.
399 * testsuite/event.list: Ditto.
400 * testsuite/derived.list: Ditto.
401 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
402 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
403 (KEY_TYPE_FIXED_SIZE): New define.
404 (key_buffer, name_string, fake_names): New global variables.
405 (generate_names): New function.
406 (vtv_string_hans): New function.
407 (main): Add call to generate_names. Update middle for-loop to
408 initialize new parameters for __VLTRegisterPair... calls; move calls
409 to __VLTRegisterPair... to middle for-loop. Add calls to
411 * testsuite/register_pair_mt.cc: Ditto; renamed to
412 register_set_pair_mt.cc
413 * testsuite/libvtv.cc/vtv.exp: New file.
414 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
415 * testsuite/libvtv.mt.cc/mt.exp: New file.
416 * testsuite/lib/libvtv.exp: New file.
417 * testsuite/lib/libvtv-dg.exp: New file.
418 * testsuite/config/default.exp: New file.
419 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
421 * testsuite/Makefile.in: New file (generated).
422 * testsuite/mempool_negative.c: Change to C++ file; move to
423 libvtv.mempool.cc; include vtv-change-permission.h.
424 (main): Add call to __VLTChangePermission.
425 * testsuite/mempool_positive.c: Change to C++ file; move to
426 libvtv.mempool.cc; include vtv-change-permission.h.
427 (main): Add call to __VLTChangePermission.
428 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
429 * testsuite/environment-fail-64.s: Ditto.
430 * testsutite/dlopen.cc: Ditto.
431 * testsuite/so.cc: Ditto.
432 * testsuite/temp_deriv2.cc: Ditto.
433 * testsuite/field-test.cc: Ditto.
434 * testsuite/dlopen_mt.cc: Ditto.
435 * testsuite/environment-fail-32.s: Ditto.
436 * testsuite/temp_deriv.cc: Ditto.
437 * testsuite/replace-fail.cc: Ditto.
438 * testsuite/other-tests/Makefile.am: New file. Copied from the
439 Makefile.am that used to be in testsuite directory.
440 * testsuite/other-tests/Makefile.in: Generated. (New file).
441 * testsuite/other-tests/README: New file.
443 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
445 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
446 definition of check-am:.
447 * testsuite/Makefile.in: Regenerate.
449 2013-09-06 Caroline Tice <cmtice@google.com>
451 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
452 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
453 * Makefile.in: Regenerate.
454 * configure.ac: Remove checks and tests for --enable-vtable-verify.
455 * configure: Regenerate.
457 2013-08-20 Caroline Tice <cmtice@google.com>
459 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
460 * Makefile.in: Regenerate.
461 * configure.ac: Add check for __secure_getenv and secure_getenv.
462 * configure: Regenerate.
463 * vtv_utils.cc : Include stdlib.h
464 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
465 (log_dirs): Remove file static constant.
466 (__vtv_open_log): Increase size of log file name. Add the user
467 and process ids to the file name. Do not put the log files in /tmp.
468 Instead try to get the directory name from an environment variable; if
469 that fails try to use stderr. Add O_NOFOLLOW to the flags
470 for 'open'. Update function comment.
471 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
473 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
474 Michael Meissner <meissner@linux.vnet.ibm.com>
476 * configure.tgt : Simplify, just use VTV_SUPPORTED.
478 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
480 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
481 * Makefile.in: Regenerate.
482 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
483 * configure.ac: ...here. Make configure more verbose, re-order.
484 * configure: Regenerate.
486 2013-08-02 Caroline Tice <cmtice@google.com>
487 Benjamin Kosnik <bkoz@redhat.com>
488 Luis Lozano <llozano@google.com>
489 Geoff Pike <gpike@google.com>
491 Initial check-in of new vtable verification feature.
492 * configure.ac : New file.
493 * acinclude.m4 : New file.
494 * Makefile.am : New file.
495 * aclocal.m4 : New file.
496 * configure.tgt : New file.
497 * configure: New file (generated).
498 * Makefile.in: New file (generated).
499 * vtv_set.h : New file.
500 * vtv_utils.cc : New file.
501 * vtv_utils.h : New file.
502 * vtv_malloc.cc : New file.
503 * vtv_rts.cc : New file.
504 * vtv_malloc.h : New file.
505 * vtv_rts.h : New file.
506 * vtv_fail.cc : New file.
507 * vtv_fail.h : New file.
508 * vtv_map.h : New file.
509 * scripts/run-testsuite.sh : New file.
510 * scripts/sum-vtv-counts.c : New file.
511 * testsuite/parts-test-main.h : New file.
512 * testusite/dataentry.cc : New file.
513 * testsuite/temp_deriv.cc : New file.
514 * testsuite/register_pair.cc : New file.
515 * testsuite/virtual_inheritance.cc : New file.
516 * testsuite/field-test.cc : New file.
517 * testsuite/nested_vcall_test.cc : New file.
518 * testsuite/template-list-iostream.cc : New file.
519 * testsuite/register_pair_inserts.cc : New file.
520 * testsuite/register_pair_inserts_mt.cc : New file.
521 * testsuite/event.list : New file.
522 * testsuite/parts-test-extra-parts-views.cc : New file.
523 * testsuite/parts-test-extra-parts-views.h : New file.
524 * testsuite/environment-fail-32.s : New file.
525 * testsuite/parts-test-extra-parts.h : New file.
526 * testsuite/temp_deriv2.cc : New file.
527 * testsuite/dlopen_mt.cc : New file.
528 * testsuite/event.h : New file.
529 * testsuite/template-list.cc : New file.
530 * testsuite/replace-fail.cc : New file.
531 * testsuite/Makefile.am : New file.
532 * testsuite/Makefile.in: New file (generated).
533 * testsuite/mempool_negative.c : New file.
534 * testsuite/parts-test-main.cc : New file.
535 * testsuite/event-private.cc : New file.
536 * testsuite/thunk.cc : New file.
537 * testsuite/event-defintiions.cc : New file.
538 * testsuite/event-private.h : New file.
539 * testsuite/parts-test.list : New file.
540 * testusite/register_pair_mt.cc : New file.
541 * testsuite/povray-derived.cc : New file.
542 * testsuite/event-main.cc : New file.
543 * testsuite/environment.cc : New file.
544 * testsuite/template-list2.cc : New file.
545 * testsuite/thunk_vtable_map_attack.cc : New file.
546 * testsuite/parts-test-extra-parts.cc : New file.
547 * testsuite/environment-fail-64.s : New file.
548 * testsuite/dlopen.cc : New file.
549 * testsuite/so.cc : New file.
550 * testsuite/temp_deriv3.cc : New file.
551 * testsuite/const_vtable.cc : New file.
552 * testsuite/mempool_positive.c : New file.
553 * testsuite/dup_name.cc : New file.