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