File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11# Build the wrapped lib
2- define_shared_lib(SRCS dav1d.c)
2+ define_shared_lib(
3+ SRCS dav1d.c
4+ PKEY 2
5+ )
36
47# Build the test
58define_test(
69 SRCS main.c
10+ PKEY 1
711 NEEDS_LD_WRAP
812 CRITERION_TEST
913)
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ RUN: cat dav1d_call_gates_1.ld | FileCheck --check-prefix=LINKARGS %s
66#include <ia2_test_runner.h>
77#include <signal.h>
88
9+ #define IA2_COMPARTMENT 2
10+ #include <ia2_compartment_init.inc>
11+
912bool corrupt_stride IA2_SHARED_DATA = false;
1013
1114// LINKARGS: --wrap=dav1d_get_picture
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN: sh -c 'if [ ! -s "dav1d_call_gates_0.ld" ]; then echo "No link args as expe
99#include <ia2_test_runner.h>
1010#include <signal.h>
1111
12- INIT_RUNTIME (1 );
12+ INIT_RUNTIME (2 );
1313#define IA2_COMPARTMENT 1
1414#include <ia2_compartment_init.inc>
1515
You can’t perform that action at this time.
0 commit comments