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