1 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4 * configure: Regenerate.
6 2018-01-03 Jakub Jelinek <jakub@redhat.com>
8 Update copyright years.
10 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12 * acinclude.m4: Add enable.m4 and cet.m4.
13 * Makefile.in: Regenerate.
14 * testsuite/Makefile.in: Likewise.
15 * configure: Likewise.
16 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
17 * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
19 2017-01-21 Jakub Jelinek <jakub@redhat.com>
22 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
23 of cat to get version from BASE-VER file.
24 * testsuite/Makefile.in: Regenerated.
26 2017-01-17 Jakub Jelinek <jakub@redhat.com>
29 * configure.ac: Add GCC_BASE_VER.
30 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
31 get version from BASE-VER file.
32 * testsuite/Makefile.in: Regenerated.
33 * configure: Regenerated.
34 * Makefile.in: Regenerated.
36 2017-01-04 Jakub Jelinek <jakub@redhat.com>
38 Update copyright years.
40 2016-11-15 Matthias Klose <doko@ubuntu.com>
42 * configure: Regenerate.
44 2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
46 * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
49 * Makefile.in: Regenerate.
51 2015-12-02 Matthias Klose <doko@ubuntu.com>
53 * configure.ac: Move AM_ENABLE_MULTILIB before
54 GCC_LIBSTDCXX_RAW_CXX_FLAGS.
55 * configure: Regenerate.
57 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
59 * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
60 * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
61 <*-*-solaris2*>: Check for init priority support.
62 Check for getexecname, __fortify_fail, _obstack_begin.
63 (VTV_NO_OBSTACK): New conditional.
64 * configure: Regenerate.
65 * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
67 * Makefile.in: Regenerate.
69 * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
71 (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
72 (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
74 (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
75 [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
77 (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
78 (iterate_modules): Fix typo.
80 (dl_iterate_phdr_callback): Fix typo.
82 (__VLTChangePermission): Fix typos.
84 2015-11-09 Alan Modra <amodra@gmail.com>
86 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
87 (__vtv_malloc_init): Use obstack_specify_allocation.
89 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
91 * configure.tgt (aarch64*-*-linux): Enable.
92 (arm*-*-linux*): Enable.
94 2015-10-09 David Malcolm <dmalcolm@redhat.com>
96 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
99 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
103 2015-08-01 Caroline Tice <cmtice@google.com>
106 * Makefile.am: Update to match latest tree.
107 * Makefile.in: Regenerate.
108 * testsuite/lib/libvtv: Brought up to date.
109 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
111 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
112 initializations to work correctly with VTV_DEBUG defined.
114 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
116 * Makefile.in: Regenerated with automake-1.11.6.
117 * aclocal.m4: Likewise.
118 * configure: Likewise.
119 * testsuite/Makefile.in: Likewise.
120 * testsuite/other-tests/Makefile.in: Likewise.
122 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
124 * Makefile.in: Regenerate.
125 * aclocal.m4: Likewise.
126 * configure: Likewise.
127 * testsuite/Makefile.in: Likewise.
129 2015-01-29 Caroline Tice <cmtice@google.com>
131 Committing VTV Cywin/Ming patch for Patrick Wollgast
132 * libvtv/Makefile.in : Regenerate.
133 * libvtv/configure : Regenerate.
135 2015-01-28 Caroline Tice <cmtice@google.com>
137 Committing VTV Cywin/Ming patch for Patrick Wollgast
138 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
139 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
140 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
141 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
142 * libvtv/aclocal.m4 : Regenerate.
143 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
144 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
146 (i?86-*-mingw*): Add to supported targets.
147 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
148 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
150 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
151 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
152 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
154 (__vtv_malloc_init): Exchange call to sysconf with call to port of
155 sysconf on Cygwin and MinGW.
156 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
157 PROT_WRITE on Cygwin and MinGW.
158 * libvtv/map.h : Include stdint.h on MinGW.
159 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
160 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
161 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
162 uintptr_t on Cygwin and MinGW.
163 (read_section_offset_and_length): Add port for Cygwin and MinGW
164 (iterate_modules): New function.
165 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
166 dl_iterate_phdr on Cygwin and MinGW.
167 (vtv_protect_vtable_vars): Likewise.
168 (count_all_pages): Likewise.
169 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
170 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
172 (__vtv_open_log): Exchange call to getuid and getpid with
173 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
174 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
176 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
177 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
180 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
182 * testsuite/lib/libvtv.exp: Load target-utils.exp
184 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
187 * configure: Regenerated.
189 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
192 * configure: Regenerate.
194 2013-09-25 Caroline Tice <cmtice@google.com>
196 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
197 sure testsuite is not run if libstdc++ and libgcc were not built
198 with vtable verification.
199 * Makefile.in: Regenerated.
200 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
201 to make sure testsuite is not run if libstdc++ and libgcc were not
202 built with vtable verification.
203 * configure: Regenerated.
205 2013-09-24 Caroline Tice <cmtice@google.com>
207 * Makefile.am: Change libvtv_includedir to the directory used by
208 the other libraries rather than the top include directory.
209 * Makefile.in: Regenerated.
211 2013-09-20 Alan Modra <amodra@gmail.com>
213 * configure: Regenerate.
215 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
217 * configure.tgt: Remove *-*-*android* from supported targets.
219 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
222 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
223 * configure: Regenerated.
225 2013-09-08 Caroline Tice <cmtice@google.com>
227 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
228 * testsuite/environment.cc: Ditto.
229 * testsuite/template-list2.cc: Ditto.
230 * testsuite/event.h: Ditto.
231 * testsuite/dataentry.cc: Ditto.
232 * testsuite/event-private.h: Ditto.
233 * testsuite/virtual_inheritance.cc: Ditto.
234 * testsuite/povray-derived.cc: Ditto.
235 * testsuite/nested_vcall_test.cc: Ditto.
236 * testsuite/template-list-iostream.cc: Ditto.
237 * testsuite/parts-test-extra-parts-views.h: Ditto.
238 * testsuite/virtfunc-test.cc: Ditto.
239 * testsuite/parts-test-extra-parts.h: Ditto.
240 * testsuite/const_vtable.cc: Ditto.
241 * testsuite/template-list.cc: Ditto.
242 * testsuite/dup_name.cc: Ditto.
243 * testsuite/thunk.cc: Ditto.
244 * testsuite/parts-test-main.h: Ditto.
245 * testsuite/mul_inh.cc: Ditto.
246 * testsuite/test1.cc: Ditto.
247 * testsuite/bb_tests.cc: Ditto.
248 * testsuite/v8-test-2.cc: Ditto.
249 * testsuite/thunk_vtable_map_attack.cc: Ditto.
250 * testsuite/xlan-test.cc: Ditto.
251 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
252 change file extension from .cc to .cpp.
253 * testsuite/event-definitions.cpp: Ditto.
254 * testsuite/event-main.cpp: Ditto.
255 * testsuite/derived-main.cpp: Ditto.
256 * testsuite/derived-lib.cpp: Ditto.
257 * testsuite/event-private.cpp: Ditto.
258 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
259 * testsuite/parts-test-extra-parts.cpp: Ditto.
260 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
261 file extensions inside file from .cc to .cpp.
262 * testsuite/event.list: Ditto.
263 * testsuite/derived.list: Ditto.
264 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
265 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
266 (KEY_TYPE_FIXED_SIZE): New define.
267 (key_buffer, name_string, fake_names): New global variables.
268 (generate_names): New function.
269 (vtv_string_hans): New function.
270 (main): Add call to generate_names. Update middle for-loop to
271 initialize new parameters for __VLTRegisterPair... calls; move calls
272 to __VLTRegisterPair... to middle for-loop. Add calls to
274 * testsuite/register_pair_mt.cc: Ditto; renamed to
275 register_set_pair_mt.cc
276 * testsuite/libvtv.cc/vtv.exp: New file.
277 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
278 * testsuite/libvtv.mt.cc/mt.exp: New file.
279 * testsuite/lib/libvtv.exp: New file.
280 * testsuite/lib/libvtv-dg.exp: New file.
281 * testsuite/config/default.exp: New file.
282 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
284 * testsuite/Makefile.in: New file (generated).
285 * testsuite/mempool_negative.c: Change to C++ file; move to
286 libvtv.mempool.cc; include vtv-change-permission.h.
287 (main): Add call to __VLTChangePermission.
288 * testsuite/mempool_positive.c: Change to C++ file; move to
289 libvtv.mempool.cc; include vtv-change-permission.h.
290 (main): Add call to __VLTChangePermission.
291 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
292 * testsuite/environment-fail-64.s: Ditto.
293 * testsutite/dlopen.cc: Ditto.
294 * testsuite/so.cc: Ditto.
295 * testsuite/temp_deriv2.cc: Ditto.
296 * testsuite/field-test.cc: Ditto.
297 * testsuite/dlopen_mt.cc: Ditto.
298 * testsuite/environment-fail-32.s: Ditto.
299 * testsuite/temp_deriv.cc: Ditto.
300 * testsuite/replace-fail.cc: Ditto.
301 * testsuite/other-tests/Makefile.am: New file. Copied from the
302 Makefile.am that used to be in testsuite directory.
303 * testsuite/other-tests/Makefile.in: Generated. (New file).
304 * testsuite/other-tests/README: New file.
306 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
308 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
309 definition of check-am:.
310 * testsuite/Makefile.in: Regenerate.
312 2013-09-06 Caroline Tice <cmtice@google.com>
314 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
315 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
316 * Makefile.in: Regenerate.
317 * configure.ac: Remove checks and tests for --enable-vtable-verify.
318 * configure: Regenerate.
320 2013-08-20 Caroline Tice <cmtice@google.com>
322 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
323 * Makefile.in: Regenerate.
324 * configure.ac: Add check for __secure_getenv and secure_getenv.
325 * configure: Regenerate.
326 * vtv_utils.cc : Include stdlib.h
327 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
328 (log_dirs): Remove file static constant.
329 (__vtv_open_log): Increase size of log file name. Add the user
330 and process ids to the file name. Do not put the log files in /tmp.
331 Instead try to get the directory name from an environment variable; if
332 that fails try to use stderr. Add O_NOFOLLOW to the flags
333 for 'open'. Update function comment.
334 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
336 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
337 Michael Meissner <meissner@linux.vnet.ibm.com>
339 * configure.tgt : Simplify, just use VTV_SUPPORTED.
341 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
343 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
344 * Makefile.in: Regenerate.
345 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
346 * configure.ac: ...here. Make configure more verbose, re-order.
347 * configure: Regenerate.
349 2013-08-02 Caroline Tice <cmtice@google.com>
350 Benjamin Kosnik <bkoz@redhat.com>
351 Luis Lozano <llozano@google.com>
352 Geoff Pike <gpike@google.com>
354 Initial check-in of new vtable verification feature.
355 * configure.ac : New file.
356 * acinclude.m4 : New file.
357 * Makefile.am : New file.
358 * aclocal.m4 : New file.
359 * configure.tgt : New file.
360 * configure: New file (generated).
361 * Makefile.in: New file (generated).
362 * vtv_set.h : New file.
363 * vtv_utils.cc : New file.
364 * vtv_utils.h : New file.
365 * vtv_malloc.cc : New file.
366 * vtv_rts.cc : New file.
367 * vtv_malloc.h : New file.
368 * vtv_rts.h : New file.
369 * vtv_fail.cc : New file.
370 * vtv_fail.h : New file.
371 * vtv_map.h : New file.
372 * scripts/run-testsuite.sh : New file.
373 * scripts/sum-vtv-counts.c : New file.
374 * testsuite/parts-test-main.h : New file.
375 * testusite/dataentry.cc : New file.
376 * testsuite/temp_deriv.cc : New file.
377 * testsuite/register_pair.cc : New file.
378 * testsuite/virtual_inheritance.cc : New file.
379 * testsuite/field-test.cc : New file.
380 * testsuite/nested_vcall_test.cc : New file.
381 * testsuite/template-list-iostream.cc : New file.
382 * testsuite/register_pair_inserts.cc : New file.
383 * testsuite/register_pair_inserts_mt.cc : New file.
384 * testsuite/event.list : New file.
385 * testsuite/parts-test-extra-parts-views.cc : New file.
386 * testsuite/parts-test-extra-parts-views.h : New file.
387 * testsuite/environment-fail-32.s : New file.
388 * testsuite/parts-test-extra-parts.h : New file.
389 * testsuite/temp_deriv2.cc : New file.
390 * testsuite/dlopen_mt.cc : New file.
391 * testsuite/event.h : New file.
392 * testsuite/template-list.cc : New file.
393 * testsuite/replace-fail.cc : New file.
394 * testsuite/Makefile.am : New file.
395 * testsuite/Makefile.in: New file (generated).
396 * testsuite/mempool_negative.c : New file.
397 * testsuite/parts-test-main.cc : New file.
398 * testsuite/event-private.cc : New file.
399 * testsuite/thunk.cc : New file.
400 * testsuite/event-defintiions.cc : New file.
401 * testsuite/event-private.h : New file.
402 * testsuite/parts-test.list : New file.
403 * testusite/register_pair_mt.cc : New file.
404 * testsuite/povray-derived.cc : New file.
405 * testsuite/event-main.cc : New file.
406 * testsuite/environment.cc : New file.
407 * testsuite/template-list2.cc : New file.
408 * testsuite/thunk_vtable_map_attack.cc : New file.
409 * testsuite/parts-test-extra-parts.cc : New file.
410 * testsuite/environment-fail-64.s : New file.
411 * testsuite/dlopen.cc : New file.
412 * testsuite/so.cc : New file.
413 * testsuite/temp_deriv3.cc : New file.
414 * testsuite/const_vtable.cc : New file.
415 * testsuite/mempool_positive.c : New file.
416 * testsuite/dup_name.cc : New file.