Joshua Haberman
4e77dc16c1
Merge pull request #209 from haberman/pbcodecache2
...
Properly cache decoder methods, instead of regenerating every time.
5 years ago
Joshua Haberman
29c30e9cb3
Fixed cache to properly insert by msgdef key.
5 years ago
Joshua Haberman
555b60b062
A memory safety fix, found by ASAN.
...
We cannot assume that the input string is NULL-terminated,
or read past "len." Instead we manually NULL-terminate it.
5 years ago
Joshua Haberman
ca4605b3af
Properly cache decoder methods, instead of regenerating every time.
...
This doesn't fully share bytecode. If you generate for message A
which has B as a sub-message, then generate B, B's code will be
generated twice. This could be optimized later if desired. But
this addresses the leak in PHP.
Also removed some obsolete JIT-only code.
5 years ago
Joshua Haberman
2c86919770
Merge pull request #208 from haberman/bool_bugfix
...
Bugfix for boolean defaults.
5 years ago
Joshua Haberman
509f1e474f
Bugfix for boolean defaults.
5 years ago
Joshua Haberman
1461da5056
WIP.
5 years ago
Paul Yang
d3762e96cb
Accpet string for numeric wrappers ( #202 )
5 years ago
Esun Kim
931bbecbd3
Merge pull request #205 from veblush/murmur
...
Rename MurmurHash2 to upb_murmur_hash2
5 years ago
Esun Kim
59f43cd6e3
Merge pull request #204 from veblush/msvc-port
...
Clean up MSVC port for vsnprintf
5 years ago
Esun Kim
311049a67e
Merge pull request #203 from veblush/clang-port
...
Make it use builtin functions on clang
5 years ago
Esun Kim
6f9a9fb2fa
Rename MurmurHash2 to upb_murmur_hash2
5 years ago
Esun Kim
ce4c4fd76b
Clean up MSVC port for vsnprintf
5 years ago
Esun Kim
bc6d9518e1
Make it use builtin functions on clang
5 years ago
Nicolas Noble
b70f68269a
Merge pull request #201 from veblush/ubsan2
...
Fixed ubsan error on memmove
5 years ago
Esun Kim
3838f62aa5
Fixed ubsan error on memmove
5 years ago
Nicolas Noble
638d114a1a
Merge pull request #200 from veblush/ubsan
...
Fixed UBSAN issues
5 years ago
Esun Kim
bc8b1a8f90
Fixed UBSAN issues
5 years ago
Nicolas Noble
7e7cb5f831
Merge pull request #199 from veblush/upb_alloc_global
...
Add extern C to upb_alloc_global
5 years ago
Esun Kim
98ae7806e9
Add extern C to upb_alloc_global
5 years ago
Nicolas Noble
94d74ce700
Merge pull request #198 from veblush/shorten
...
Fixed -Wshorten-64-to-32
5 years ago
Nicolas Noble
588128ccce
Merge pull request #197 from veblush/likely
...
Make UPB_LIKELY compatible with non-GNUC
5 years ago
Esun Kim
a8bb192fa4
Fixed -Wshorten-64-to-32
5 years ago
Esun Kim
401285b2f1
Use UPB_LIKELY only when GNUC
5 years ago
Nicolas Noble
f3514c0600
Merge pull request #196 from veblush/strict-prototypes
...
Add "-Wstrict-prototypes" option
5 years ago
Esun Kim
2c3a28e411
Add -Wstrict-prototypes option
5 years ago
Nicolas Noble
76d75aec66
Merge pull request #195 from veblush/vsnprintf
...
Fix compiler error on Windows
5 years ago
Esun Kim
7a1e6aa84b
Support MSVC prior to 2015
5 years ago
Esun Kim
f179e23e5b
Support Visual Studio
5 years ago
Nicolas Noble
423ea5ca9c
Merge pull request #194 from veblush/conversion-warning
...
Added explicit type casting to char
5 years ago
Esun Kim
2825f867bb
Remove conversion warning
5 years ago
Nicolas Noble
1ee1e36256
Merge pull request #193 from nicolasnoble/windows-flags
...
Disabling gcc flags for Windows build.
5 years ago
Nicolas "Pixel" Noble
a2013f0fc2
Trying to be more flexible with the version of bazel we can use here.
5 years ago
Nicolas "Pixel" Noble
4d8af5e4b9
Adding (v)snprintf and va_copy for Windows.
5 years ago
Nicolas "Pixel" Noble
6e85c2bf03
Fixing the separator string.
5 years ago
Joshua Haberman
0a07f2714b
Merge branch 'master' into maps
5 years ago
Nicolas "Pixel" Noble
9605c7093c
Revert previous fix - to_list() is too new, or...?
5 years ago
Nicolas "Pixel" Noble
ce3ba4dcdc
Disabling gcc flags for Windows build.
5 years ago
Joshua Haberman
a73ae43786
Merge pull request #185 from TeBoring/int64-json-fix
...
Change int64 json encoding to be string
5 years ago
Joshua Haberman
41e42d12b9
Merge pull request #188 from Google-Autofuzz/master
...
Create README for fuzzing corpus folder
5 years ago
Joshua Haberman
21cef48fc3
Merge pull request #190 from haberman/style
...
Some minor style fixes.
5 years ago
Joshua Haberman
ee87a28d2d
Some minor style fixes.
5 years ago
Google-Autofuzz
14f4c9eadc
change back to the original BUILD
5 years ago
Google-Autofuzz
b52178d54b
modified BUILD
6 years ago
Google-Autofuzz
7d0b7c838f
fix -fsanitize
6 years ago
Google AutoFuzz Team
5149dc5ce2
Update BUILD
6 years ago
Google-Autofuzz
3f622103c2
Merge branch 'master' of https://github.com/Google-Autofuzz/upb
6 years ago
Google-Autofuzz
8f19667786
modified fuzz config
6 years ago
Google AutoFuzz Team
47f4983fcc
Create README
6 years ago
Joshua Haberman
18de110b00
Merge branch 'master' into maps
6 years ago