Skip to content

Commit

Permalink
Add validation test for open2 callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Nov 30, 2023
1 parent 5992a82 commit a36f503
Show file tree
Hide file tree
Showing 3 changed files with 434 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ if(APPLE)
else()
add_subdirectory(v5/CVE-2015-1386)
endif()
add_subdirectory(v5/stack_memory_file)
8 changes: 8 additions & 0 deletions test/v5/stack_memory_file/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
add_executable(test_stack_memory_file EXCLUDE_FROM_ALL test_stack_memory_file.c)
target_link_libraries(test_stack_memory_file PUBLIC libunshield)

add_test(
NAME test_stack_memory_file
COMMAND $<TARGET_FILE:test_stack_memory_file>
WORKING_DIRECTORY ${TESTS_WORKING_DIRECTORY}
)
Loading

0 comments on commit a36f503

Please sign in to comment.