
commit 3007df0d153ade6d328321dad8f88d63869159c8
Merge: 7557851 cd14d68
Author: Carl Pearson <pearson@illinois.edu>
Date: Wed Sep 25 09:59:54 2019 -0500
Merge branch 'master' into feature/aslr
commit 7557851508f0e1c2d75244267c5f78fb3d1ca303
Author: Carl Pearson <pearson@illinois.edu>
Date: Tue Sep 24 07:50:15 2019 -0500
wish list
commit 0bbbac31f354c16ae1942dbfe4683a66ec260498
Author: Carl Pearson <pearson@illinois.edu>
Date: Tue Sep 24 07:49:36 2019 -0500
ASLR documentation
commit f1ae37e057792696a739e30ecdbd09e071b8a7d4
Author: Carl Pearson <pearson@illinois.edu>
Date: Tue Sep 24 07:45:54 2019 -0500
add ASLR interface
44 lines
1000 B
CMake
44 lines
1000 B
CMake
# removed -Wredundant-decls for cuda 10.1
|
|
# removed -Wundef for cuda 10.0
|
|
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} \
|
|
-Xcompiler=-Wall\
|
|
-Xcompiler=-Wextra\
|
|
-Xcompiler=-Wcast-qual \
|
|
-Xcompiler=-Wcast-align \
|
|
-Xcompiler=-Wstrict-aliasing \
|
|
-Xcompiler=-Wpointer-arith \
|
|
-Xcompiler=-Winit-self \
|
|
-Xcompiler=-Wshadow \
|
|
-Xcompiler=-Wswitch-enum \
|
|
-Xcompiler=-Wfloat-equal \
|
|
-Xcompiler=-Wvla\
|
|
-Xcompiler=-fmax-errors=1 \
|
|
-Xcompiler=-Wfatal-errors\
|
|
")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
|
|
-Wredundant-decls \
|
|
-Wundef \
|
|
-Wall\
|
|
-Wextra\
|
|
-Wcast-qual \
|
|
-Wcast-align \
|
|
-Wstrict-aliasing \
|
|
-Wpointer-arith \
|
|
-Winit-self \
|
|
-Wshadow \
|
|
-Wswitch-enum \
|
|
-Wfloat-equal \
|
|
-Wvla\
|
|
-fmax-errors=1 \
|
|
-Wfatal-errors\
|
|
")
|
|
|
|
add_executable(enable-turbo enable_turbo.cpp)
|
|
target_link_libraries(enable-turbo perfect)
|
|
|
|
add_executable(sync-drop-caches sync_drop_caches.cpp)
|
|
target_link_libraries(sync-drop-caches perfect)
|
|
|
|
add_executable(no-aslr no_aslr.cpp)
|
|
target_link_libraries(no-aslr perfect) |