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