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