This website works better with JavaScript.
Home
Help
Register
Sign In
leviathan
/
pEpMIME
forked from
pEp.foundation/pEpMIME
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
-fsanitize=address found a bug in my flat_map. *blush*
afl-fuzzing
Roker
3 years ago
parent
f4ea957bee
commit
9faed09379
2 changed files
with
7 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
src/Makefile
+1
-2
src/to_utf8.cc
+ 6
- 1
src/Makefile
View File
@ -1,6 +1,11 @@
.PHONY
:
all
clear
CXX
=
c++ -Wall -O0 -std
=
c++14 -g -glldb -fstack-protector-all
#CXX=c++ -Wall -O0 -std=c++14 -g -glldb -fstack-protector-all
# for AFL fuzzingtests:
CXX
=
afl-clang++ -Wall -O0 -std
=
c++14 -g -glldb
\
-fstack-protector-all -fsanitize
=
address
\
-fno-omit-frame-pointer -fno-optimize-sibling-calls
# !FIXME!
GTEST_DIR
=
$(
HOME
)
/code/googletest/
+ 1
- 2
src/to_utf8.cc
View File
@ -30,8 +30,7 @@ namespace
return
x
;
const
Enc
*
f
=
std
:
:
lower_bound
(
b
,
e
,
x
)
;
return
(
f
-
>
from
=
=
x
)
?
f
-
>
to
:
x
;
return
(
f
=
=
e
|
|
f
-
>
from
!
=
x
)
?
x
:
f
-
>
to
;
}
const
uint32_t
min_element
;
Write
Preview
Loading…
Cancel
Save