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