[PATCH] Add test suite for the Control Flow Integrity feature.

JF Bastien jfb at chromium.org
Wed Feb 18 14:44:16 PST 2015


I'm not familiar with how these tests usually work: is the intent just to see if they don't crash? IIUC there's no correctness check, right?


================
Comment at: test/cfi/overwrite.cpp:18
@@ +17,3 @@
+  *((void **)a) = fake_vtable;
+  a->f();
+}
----------------
Could you explain this test?

http://reviews.llvm.org/D7738

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list