Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
a05b0bcf
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a05b0bcf
编写于
7月 01, 2016
作者:
K
Kurt Roeckx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Re-add x509 and crl fuzzer
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
GH: #1276
上级
dd850bcb
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
27 addition
and
3 deletion
+27
-3
fuzz/build.info
fuzz/build.info
+9
-1
fuzz/build.info.fuzz
fuzz/build.info.fuzz
+9
-1
fuzz/crl.c
fuzz/crl.c
+4
-0
fuzz/x509.c
fuzz/x509.c
+4
-0
test/recipes/05-test_fuzz.t
test/recipes/05-test_fuzz.t
+1
-1
未找到文件。
fuzz/build.info
浏览文件 @
a05b0bcf
{- use File::Spec::Functions qw/catdir rel2abs/; -}
PROGRAMS=asn1-test asn1parse-test bignum-test bndiv-test cms-test conf-test c
t-test server
-test
PROGRAMS=asn1-test asn1parse-test bignum-test bndiv-test cms-test conf-test c
rl-test ct-test server-test x509
-test
SOURCE[asn1-test]=asn1.c test-corpus.c
INCLUDE[asn1-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
...
...
@@ -25,6 +25,10 @@ SOURCE[conf-test]=conf.c test-corpus.c
INCLUDE[conf-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
DEPEND[conf-test]=../libcrypto
SOURCE[crl-test]=crl.c test-corpus.c
INCLUDE[crl-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
DEPEND[crl-test]=../libcrypto
SOURCE[ct-test]=ct.c test-corpus.c
INCLUDE[ct-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
DEPEND[ct-test]=../libcrypto
...
...
@@ -32,3 +36,7 @@ DEPEND[ct-test]=../libcrypto
SOURCE[server-test]=server.c test-corpus.c
INCLUDE[server-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
DEPEND[server-test]=../libcrypto ../libssl
SOURCE[x509-test]=x509.c test-corpus.c
INCLUDE[x509-test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
DEPEND[x509-test]=../libcrypto
fuzz/build.info.fuzz
浏览文件 @
a05b0bcf
...
...
@@ -8,7 +8,7 @@
""
-}
PROGRAMS=asn1 asn1parse bignum bndiv cms conf c
t server
PROGRAMS=asn1 asn1parse bignum bndiv cms conf c
rl ct server x509
SOURCE[asn1]=asn1.c driver.c
INCLUDE[asn1]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
...
...
@@ -34,6 +34,10 @@ SOURCE[conf]=conf.c driver.c
INCLUDE[conf]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
DEPEND[conf]=../libcrypto {- $ex_lib -}
SOURCE[crl]=crl.c driver.c
INCLUDE[crl]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
DEPEND[crl]=../libcrypto {- $ex_lib -}
SOURCE[ct]=ct.c driver.c
INCLUDE[ct]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
DEPEND[ct]=../libcrypto {- $ex_lib -}
...
...
@@ -41,3 +45,7 @@ DEPEND[ct]=../libcrypto {- $ex_lib -}
SOURCE[server]=server.c driver.c
INCLUDE[server]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
DEPEND[server]=../libcrypto ../libssl {- $ex_lib -}
SOURCE[x509]=x509.c driver.c
INCLUDE[x509]="{- rel2abs(catdir($builddir,"../include")) -}" ../include {- $ex_inc -}
DEPEND[x509]=../libcrypto {- $ex_lib -}
fuzz/crl.c
浏览文件 @
a05b0bcf
...
...
@@ -12,6 +12,10 @@
#include <openssl/bio.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
const
unsigned
char
*
p
=
buf
;
unsigned
char
*
der
=
NULL
;
...
...
fuzz/x509.c
浏览文件 @
a05b0bcf
...
...
@@ -12,6 +12,10 @@
#include <openssl/bio.h>
#include "fuzzer.h"
int
FuzzerInitialize
(
int
*
argc
,
char
***
argv
)
{
return
1
;
}
int
FuzzerTestOneInput
(
const
uint8_t
*
buf
,
size_t
len
)
{
const
unsigned
char
*
p
=
buf
;
unsigned
char
*
der
=
NULL
;
...
...
test/recipes/05-test_fuzz.t
浏览文件 @
a05b0bcf
...
...
@@ -14,7 +14,7 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/;
setup
("
test_fuzz
");
my
@fuzzers
=
('
asn1
',
'
asn1parse
',
'
bignum
',
'
bndiv
',
'
cms
',
'
conf
',
'
c
t
',
'
server
');
my
@fuzzers
=
('
asn1
',
'
asn1parse
',
'
bignum
',
'
bndiv
',
'
cms
',
'
conf
',
'
c
rl
',
'
ct
',
'
server
',
'
x509
');
plan
tests
=>
scalar
@fuzzers
;
foreach
my
$f
(
@fuzzers
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录