1 2015-11-09 Alan Modra <amodra@gmail.com>
3 * vtv_malloc.cc (obstack_chunk_free): Correct param type.
4 (__vtv_malloc_init): Use obstack_specify_allocation.
6 2015-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8 * configure.tgt (aarch64*-*-linux): Enable.
9 (arm*-*-linux*): Enable.
11 2015-10-09 David Malcolm <dmalcolm@redhat.com>
13 * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
16 2015-08-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
20 2015-08-01 Caroline Tice <cmtice@google.com>
23 * Makefile.am: Update to match latest tree.
24 * Makefile.in: Regenerate.
25 * testsuite/lib/libvtv: Brought up to date.
26 * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
28 * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
29 initializations to work correctly with VTV_DEBUG defined.
31 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
33 * Makefile.in: Regenerated with automake-1.11.6.
34 * aclocal.m4: Likewise.
35 * configure: Likewise.
36 * testsuite/Makefile.in: Likewise.
37 * testsuite/other-tests/Makefile.in: Likewise.
39 2015-02-09 Thomas Schwinge <thomas@codesourcery.com>
41 * Makefile.in: Regenerate.
42 * aclocal.m4: Likewise.
43 * configure: Likewise.
44 * testsuite/Makefile.in: Likewise.
46 2015-01-29 Caroline Tice <cmtice@google.com>
48 Committing VTV Cywin/Ming patch for Patrick Wollgast
49 * libvtv/Makefile.in : Regenerate.
50 * libvtv/configure : Regenerate.
52 2015-01-28 Caroline Tice <cmtice@google.com>
54 Committing VTV Cywin/Ming patch for Patrick Wollgast
55 * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
56 VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
57 libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
58 set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
59 * libvtv/aclocal.m4 : Regenerate.
60 * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
61 * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
63 (i?86-*-mingw*): Add to supported targets.
64 * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
65 (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
67 * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
68 inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
69 (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
71 (__vtv_malloc_init): Exchange call to sysconf with call to port of
72 sysconf on Cygwin and MinGW.
73 * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
74 PROT_WRITE on Cygwin and MinGW.
75 * libvtv/map.h : Include stdint.h on MinGW.
76 * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
77 include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW. Add
78 port of __fortify_fail on Cygwin and MinGW. Change ElfW (Addr) to
79 uintptr_t on Cygwin and MinGW.
80 (read_section_offset_and_length): Add port for Cygwin and MinGW
81 (iterate_modules): New function.
82 (vtv_unprotect_vtable_vars): Use iterate_modules instead of
83 dl_iterate_phdr on Cygwin and MinGW.
84 (vtv_protect_vtable_vars): Likewise.
85 (count_all_pages): Likewise.
86 (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
87 * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
89 (__vtv_open_log): Exchange call to getuid and getpid with
90 GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
91 and MinGW. Adjust calls to mkdir on MinGW. Adjust call to open on
93 (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
94 (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
97 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
99 * testsuite/lib/libvtv.exp: Load target-utils.exp
101 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
104 * configure: Regenerated.
106 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
109 * configure: Regenerate.
111 2013-09-25 Caroline Tice <cmtice@google.com>
113 * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
114 sure testsuite is not run if libstdc++ and libgcc were not built
115 with vtable verification.
116 * Makefile.in: Regenerated.
117 * configure.ac: Reinstate checks for --enable-vtable-verify flag,
118 to make sure testsuite is not run if libstdc++ and libgcc were not
119 built with vtable verification.
120 * configure: Regenerated.
122 2013-09-24 Caroline Tice <cmtice@google.com>
124 * Makefile.am: Change libvtv_includedir to the directory used by
125 the other libraries rather than the top include directory.
126 * Makefile.in: Regenerated.
128 2013-09-20 Alan Modra <amodra@gmail.com>
130 * configure: Regenerate.
132 2013-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
134 * configure.tgt: Remove *-*-*android* from supported targets.
136 2013-09-09 H.J. Lu <hongjiu.lu@intel.com>
139 * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
140 * configure: Regenerated.
142 2013-09-08 Caroline Tice <cmtice@google.com>
144 * testsuite/event-main.cc: Move to libvtv.cc subdirectory.
145 * testsuite/environment.cc: Ditto.
146 * testsuite/template-list2.cc: Ditto.
147 * testsuite/event.h: Ditto.
148 * testsuite/dataentry.cc: Ditto.
149 * testsuite/event-private.h: Ditto.
150 * testsuite/virtual_inheritance.cc: Ditto.
151 * testsuite/povray-derived.cc: Ditto.
152 * testsuite/nested_vcall_test.cc: Ditto.
153 * testsuite/template-list-iostream.cc: Ditto.
154 * testsuite/parts-test-extra-parts-views.h: Ditto.
155 * testsuite/virtfunc-test.cc: Ditto.
156 * testsuite/parts-test-extra-parts.h: Ditto.
157 * testsuite/const_vtable.cc: Ditto.
158 * testsuite/template-list.cc: Ditto.
159 * testsuite/dup_name.cc: Ditto.
160 * testsuite/thunk.cc: Ditto.
161 * testsuite/parts-test-main.h: Ditto.
162 * testsuite/mul_inh.cc: Ditto.
163 * testsuite/test1.cc: Ditto.
164 * testsuite/bb_tests.cc: Ditto.
165 * testsuite/v8-test-2.cc: Ditto.
166 * testsuite/thunk_vtable_map_attack.cc: Ditto.
167 * testsuite/xlan-test.cc: Ditto.
168 * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
169 change file extension from .cc to .cpp.
170 * testsuite/event-definitions.cpp: Ditto.
171 * testsuite/event-main.cpp: Ditto.
172 * testsuite/derived-main.cpp: Ditto.
173 * testsuite/derived-lib.cpp: Ditto.
174 * testsuite/event-private.cpp: Ditto.
175 * testsuite/parts-test-extra-parts-views.cpp: Ditto.
176 * testsuite/parts-test-extra-parts.cpp: Ditto.
177 * testsuite/parts-test.list: Move to libvtv.cc subdirectory. Change
178 file extensions inside file from .cc to .cpp.
179 * testsuite/event.list: Ditto.
180 * testsuite/derived.list: Ditto.
181 * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
182 register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
183 (KEY_TYPE_FIXED_SIZE): New define.
184 (key_buffer, name_string, fake_names): New global variables.
185 (generate_names): New function.
186 (vtv_string_hans): New function.
187 (main): Add call to generate_names. Update middle for-loop to
188 initialize new parameters for __VLTRegisterPair... calls; move calls
189 to __VLTRegisterPair... to middle for-loop. Add calls to
191 * testsuite/register_pair_mt.cc: Ditto; renamed to
192 register_set_pair_mt.cc
193 * testsuite/libvtv.cc/vtv.exp: New file.
194 * testsuite/libvtv.mempool.cc/mempool.exp: New file.
195 * testsuite/libvtv.mt.cc/mt.exp: New file.
196 * testsuite/lib/libvtv.exp: New file.
197 * testsuite/lib/libvtv-dg.exp: New file.
198 * testsuite/config/default.exp: New file.
199 * testsuite/Makefile.am: New file. (Old file was moved to other-tests
201 * testsuite/Makefile.in: New file (generated).
202 * testsuite/mempool_negative.c: Change to C++ file; move to
203 libvtv.mempool.cc; include vtv-change-permission.h.
204 (main): Add call to __VLTChangePermission.
205 * testsuite/mempool_positive.c: Change to C++ file; move to
206 libvtv.mempool.cc; include vtv-change-permission.h.
207 (main): Add call to __VLTChangePermission.
208 * testsuite/temp_deriv3.cc: Move to other-tests subdirectory.
209 * testsuite/environment-fail-64.s: Ditto.
210 * testsutite/dlopen.cc: Ditto.
211 * testsuite/so.cc: Ditto.
212 * testsuite/temp_deriv2.cc: Ditto.
213 * testsuite/field-test.cc: Ditto.
214 * testsuite/dlopen_mt.cc: Ditto.
215 * testsuite/environment-fail-32.s: Ditto.
216 * testsuite/temp_deriv.cc: Ditto.
217 * testsuite/replace-fail.cc: Ditto.
218 * testsuite/other-tests/Makefile.am: New file. Copied from the
219 Makefile.am that used to be in testsuite directory.
220 * testsuite/other-tests/Makefile.in: Generated. (New file).
221 * testsuite/other-tests/README: New file.
223 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
225 * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
226 definition of check-am:.
227 * testsuite/Makefile.in: Regenerate.
229 2013-09-06 Caroline Tice <cmtice@google.com>
231 * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
232 definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
233 * Makefile.in: Regenerate.
234 * configure.ac: Remove checks and tests for --enable-vtable-verify.
235 * configure: Regenerate.
237 2013-08-20 Caroline Tice <cmtice@google.com>
239 * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
240 * Makefile.in: Regenerate.
241 * configure.ac: Add check for __secure_getenv and secure_getenv.
242 * configure: Regenerate.
243 * vtv_utils.cc : Include stdlib.h
244 (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
245 (log_dirs): Remove file static constant.
246 (__vtv_open_log): Increase size of log file name. Add the user
247 and process ids to the file name. Do not put the log files in /tmp.
248 Instead try to get the directory name from an environment variable; if
249 that fails try to use stderr. Add O_NOFOLLOW to the flags
250 for 'open'. Update function comment.
251 * vtv_rts.cc (log_memory_protection_data): Remove %d from file name.
253 2013-08-08 Benjamin Kosnik <bkoz@redhat.com>
254 Michael Meissner <meissner@linux.vnet.ibm.com>
256 * configure.tgt : Simplify, just use VTV_SUPPORTED.
258 2013-08-07 Benjamin Kosnik <bkoz@redhat.com>
260 * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
261 * Makefile.in: Regenerate.
262 * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
263 * configure.ac: ...here. Make configure more verbose, re-order.
264 * configure: Regenerate.
266 2013-08-02 Caroline Tice <cmtice@google.com>
267 Benjamin Kosnik <bkoz@redhat.com>
268 Luis Lozano <llozano@google.com>
269 Geoff Pike <gpike@google.com>
271 Initial check-in of new vtable verification feature.
272 * configure.ac : New file.
273 * acinclude.m4 : New file.
274 * Makefile.am : New file.
275 * aclocal.m4 : New file.
276 * configure.tgt : New file.
277 * configure: New file (generated).
278 * Makefile.in: New file (generated).
279 * vtv_set.h : New file.
280 * vtv_utils.cc : New file.
281 * vtv_utils.h : New file.
282 * vtv_malloc.cc : New file.
283 * vtv_rts.cc : New file.
284 * vtv_malloc.h : New file.
285 * vtv_rts.h : New file.
286 * vtv_fail.cc : New file.
287 * vtv_fail.h : New file.
288 * vtv_map.h : New file.
289 * scripts/run-testsuite.sh : New file.
290 * scripts/sum-vtv-counts.c : New file.
291 * testsuite/parts-test-main.h : New file.
292 * testusite/dataentry.cc : New file.
293 * testsuite/temp_deriv.cc : New file.
294 * testsuite/register_pair.cc : New file.
295 * testsuite/virtual_inheritance.cc : New file.
296 * testsuite/field-test.cc : New file.
297 * testsuite/nested_vcall_test.cc : New file.
298 * testsuite/template-list-iostream.cc : New file.
299 * testsuite/register_pair_inserts.cc : New file.
300 * testsuite/register_pair_inserts_mt.cc : New file.
301 * testsuite/event.list : New file.
302 * testsuite/parts-test-extra-parts-views.cc : New file.
303 * testsuite/parts-test-extra-parts-views.h : New file.
304 * testsuite/environment-fail-32.s : New file.
305 * testsuite/parts-test-extra-parts.h : New file.
306 * testsuite/temp_deriv2.cc : New file.
307 * testsuite/dlopen_mt.cc : New file.
308 * testsuite/event.h : New file.
309 * testsuite/template-list.cc : New file.
310 * testsuite/replace-fail.cc : New file.
311 * testsuite/Makefile.am : New file.
312 * testsuite/Makefile.in: New file (generated).
313 * testsuite/mempool_negative.c : New file.
314 * testsuite/parts-test-main.cc : New file.
315 * testsuite/event-private.cc : New file.
316 * testsuite/thunk.cc : New file.
317 * testsuite/event-defintiions.cc : New file.
318 * testsuite/event-private.h : New file.
319 * testsuite/parts-test.list : New file.
320 * testusite/register_pair_mt.cc : New file.
321 * testsuite/povray-derived.cc : New file.
322 * testsuite/event-main.cc : New file.
323 * testsuite/environment.cc : New file.
324 * testsuite/template-list2.cc : New file.
325 * testsuite/thunk_vtable_map_attack.cc : New file.
326 * testsuite/parts-test-extra-parts.cc : New file.
327 * testsuite/environment-fail-64.s : New file.
328 * testsuite/dlopen.cc : New file.
329 * testsuite/so.cc : New file.
330 * testsuite/temp_deriv3.cc : New file.
331 * testsuite/const_vtable.cc : New file.
332 * testsuite/mempool_positive.c : New file.
333 * testsuite/dup_name.cc : New file.