VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.7/fuzz/build.info@ 106165

最後變更 在這個檔案從106165是 104078,由 vboxsync 提交於 8 月 前

openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638

檔案大小: 4.4 KB
 
1{- use File::Spec::Functions;
2 our $ex_inc = $withargs{fuzzer_include} &&
3 (file_name_is_absolute($withargs{fuzzer_include}) ?
4 $withargs{fuzzer_include} : catdir(updir(), $withargs{fuzzer_include}));
5 our $ex_lib = $withargs{fuzzer_lib} &&
6 (file_name_is_absolute($withargs{fuzzer_lib}) ?
7 $withargs{fuzzer_lib} : catfile(updir(), $withargs{fuzzer_lib}));
8 ""
9-}
10
11IF[{- !$disabled{"fuzz-afl"} || !$disabled{"fuzz-libfuzzer"} -}]
12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server
13 PROGRAMS{noinst}=punycode
14
15 IF[{- !$disabled{"cmp"} -}]
16 PROGRAMS{noinst}=cmp
17 ENDIF
18
19 IF[{- !$disabled{"cms"} -}]
20 PROGRAMS{noinst}=cms
21 ENDIF
22
23 IF[{- !$disabled{"ct"} -}]
24 PROGRAMS{noinst}=ct
25 ENDIF
26
27 IF[{- !$disabled{"ocsp"} -}]
28 PROGRAMS{noinst}=x509
29 ENDIF
30
31 SOURCE[asn1]=asn1.c driver.c fuzz_rand.c
32 INCLUDE[asn1]=../include {- $ex_inc -}
33 DEPEND[asn1]=../libcrypto ../libssl {- $ex_lib -}
34
35 SOURCE[asn1parse]=asn1parse.c driver.c
36 INCLUDE[asn1parse]=../include {- $ex_inc -}
37 DEPEND[asn1parse]=../libcrypto {- $ex_lib -}
38
39 SOURCE[bignum]=bignum.c driver.c
40 INCLUDE[bignum]=../include {- $ex_inc -}
41 DEPEND[bignum]=../libcrypto {- $ex_lib -}
42
43 SOURCE[bndiv]=bndiv.c driver.c
44 INCLUDE[bndiv]=../include {- $ex_inc -}
45 DEPEND[bndiv]=../libcrypto {- $ex_lib -}
46
47 SOURCE[client]=client.c driver.c fuzz_rand.c
48 INCLUDE[client]=../include {- $ex_inc -}
49 DEPEND[client]=../libcrypto ../libssl {- $ex_lib -}
50
51 SOURCE[cmp]=cmp.c driver.c fuzz_rand.c
52 INCLUDE[cmp]=../include {- $ex_inc -}
53 DEPEND[cmp]=../libcrypto {- $ex_lib -}
54
55 SOURCE[cms]=cms.c driver.c
56 INCLUDE[cms]=../include {- $ex_inc -}
57 DEPEND[cms]=../libcrypto {- $ex_lib -}
58
59 SOURCE[conf]=conf.c driver.c
60 INCLUDE[conf]=../include {- $ex_inc -}
61 DEPEND[conf]=../libcrypto {- $ex_lib -}
62
63 SOURCE[crl]=crl.c driver.c
64 INCLUDE[crl]=../include {- $ex_inc -}
65 DEPEND[crl]=../libcrypto {- $ex_lib -}
66
67 SOURCE[ct]=ct.c driver.c
68 INCLUDE[ct]=../include {- $ex_inc -}
69 DEPEND[ct]=../libcrypto {- $ex_lib -}
70
71 SOURCE[punycode]=punycode.c driver.c
72 INCLUDE[punycode]=../include {- $ex_inc -}
73 DEPEND[punycode]=../libcrypto.a {- $ex_lib -}
74
75 SOURCE[server]=server.c driver.c fuzz_rand.c
76 INCLUDE[server]=../include {- $ex_inc -}
77 DEPEND[server]=../libcrypto ../libssl {- $ex_lib -}
78
79 SOURCE[x509]=x509.c driver.c fuzz_rand.c
80 INCLUDE[x509]=../include {- $ex_inc -}
81 DEPEND[x509]=../libcrypto {- $ex_lib -}
82ENDIF
83
84IF[{- !$disabled{tests} -}]
85 PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test server-test
86 PROGRAMS{noinst}=punycode-test
87
88 IF[{- !$disabled{"cmp"} -}]
89 PROGRAMS{noinst}=cmp-test
90 ENDIF
91
92 IF[{- !$disabled{"cms"} -}]
93 PROGRAMS{noinst}=cms-test
94 ENDIF
95
96 IF[{- !$disabled{"ct"} -}]
97 PROGRAMS{noinst}=ct-test
98 ENDIF
99
100 IF[{- !$disabled{"ocsp"} -}]
101 PROGRAMS{noinst}=x509-test
102 ENDIF
103
104 SOURCE[asn1-test]=asn1.c test-corpus.c fuzz_rand.c
105 INCLUDE[asn1-test]=../include
106 DEPEND[asn1-test]=../libcrypto ../libssl
107
108 SOURCE[asn1parse-test]=asn1parse.c test-corpus.c
109 INCLUDE[asn1parse-test]=../include
110 DEPEND[asn1parse-test]=../libcrypto
111
112 SOURCE[bignum-test]=bignum.c test-corpus.c
113 INCLUDE[bignum-test]=../include
114 DEPEND[bignum-test]=../libcrypto
115
116 SOURCE[bndiv-test]=bndiv.c test-corpus.c
117 INCLUDE[bndiv-test]=../include
118 DEPEND[bndiv-test]=../libcrypto
119
120 SOURCE[client-test]=client.c test-corpus.c fuzz_rand.c
121 INCLUDE[client-test]=../include
122 DEPEND[client-test]=../libcrypto ../libssl
123
124 SOURCE[cmp-test]=cmp.c test-corpus.c fuzz_rand.c
125 INCLUDE[cmp-test]=../include
126 DEPEND[cmp-test]=../libcrypto.a
127 # referring to static lib allows using non-exported functions
128
129 SOURCE[cms-test]=cms.c test-corpus.c
130 INCLUDE[cms-test]=../include
131 DEPEND[cms-test]=../libcrypto
132
133 SOURCE[conf-test]=conf.c test-corpus.c
134 INCLUDE[conf-test]=../include
135 DEPEND[conf-test]=../libcrypto
136
137 SOURCE[crl-test]=crl.c test-corpus.c
138 INCLUDE[crl-test]=../include
139 DEPEND[crl-test]=../libcrypto
140
141 SOURCE[ct-test]=ct.c test-corpus.c
142 INCLUDE[ct-test]=../include
143 DEPEND[ct-test]=../libcrypto
144
145 SOURCE[punycode-test]=punycode.c test-corpus.c
146 INCLUDE[punycode-test]=../include
147 DEPEND[punycode-test]=../libcrypto.a
148
149 SOURCE[server-test]=server.c test-corpus.c fuzz_rand.c
150 INCLUDE[server-test]=../include
151 DEPEND[server-test]=../libcrypto ../libssl
152
153 SOURCE[x509-test]=x509.c test-corpus.c fuzz_rand.c
154 INCLUDE[x509-test]=../include
155 DEPEND[x509-test]=../libcrypto
156ENDIF
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette