Skip to content

Commit 07b2e8b

Browse files
committed
2 parents 98f9924 + bb15016 commit 07b2e8b

999 files changed

Lines changed: 323 additions & 110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build_config.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def for_windows?
99
conf.cxx.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
1010
conf.cc.flags << '-fno-omit-frame-pointer' << '-g3' << '-ggdb3' << '-Og'
1111
conf.enable_debug
12-
conf.cc.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE'
13-
conf.cxx.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE'
12+
conf.cc.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
13+
conf.cxx.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
1414
conf.enable_test
1515
conf.gembox 'default'
1616
#conf.cc.flags << '-O3' << '-march=native'

fuzz/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ task :corpus_merge => :compile do
4646
dirs = [corpus]
4747
dirs << findings if File.directory?(findings)
4848

49-
sh fuzzer, "-rss_limit_mb=3072", "-merge=1", merged, *dirs
49+
sh fuzzer, "-rss_limit_mb=5000", "-merge=1", merged, *dirs
5050

5151
removed = Dir[File.join(corpus, "*")].count
5252
kept = Dir[File.join(merged, "*")].count

fuzz/bintest/mruby-cbor-fuzzer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
cmd = cmd_list('mruby-cbor-fuzzer') + [
1313
CORPUS_DIR,
1414
"-dict=#{DICT_FILE}",
15-
"-jobs=4",
15+
"-jobs=3",
1616
"-artifact_prefix=#{findings_dir}/",
1717
"-max_len=65536",
1818
"-ignore_ooms=1",
1919
"-use_value_profile=1",
20-
"-rss_limit_mb=3072"
20+
"-rss_limit_mb=5000"
2121
]
2222

2323
Dir.chdir(findings_dir) do

fuzz/build_config.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
conf.enable_debug
77
conf.enable_bintest
8-
conf.cc.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE'
9-
conf.cxx.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE'
8+
conf.cc.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
9+
conf.cxx.defines << 'MRB_UTF8_STRING' << 'MRB_HIGH_PROFILE' << 'MRB_USE_MALLOC_TRIM'
1010
conf.gem '../'
1111
conf.gem File.expand_path(__dir__)
1212
end
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�A���*A����A����
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�Q
-18 Bytes
Binary file not shown.
156 Bytes
Binary file not shown.
19 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ϸ%���a��@�πa��@��@��R@���@��@��R

0 commit comments

Comments
 (0)