You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joshua Haberman
245acbfc16
Make fuzz test check round-trip correctness of upb encoder/decoder.
...
Prior to this CL, the fuzz tests only checked that the code does not crash, but it was not checking any correctness properties. This CL adds correctness checking, verifying that we can round trip through the wire format without losing or corrupting data.
This highlighted a minor bug in the encoder where the depth limit check was off by one (too strict). This CL makes the encoder more accepting when checking the depth limit.
PiperOrigin-RevId: 698527429
2 weeks ago
..
internal
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
BUILD
Make fuzz test check round-trip correctness of upb encoder/decoder.
2 weeks ago
accessors.c
Replace direct access to MiniTable subs with calls to the encapsulated functions.
8 months ago
accessors.h
upb: Add upb_Message_GetExtensionMutableArray
2 weeks ago
accessors_split64.h
Reorganize upb file structure
1 year ago
accessors_test.cc
rename upb_Message_WhichOneof to upb_Message_WhichOneofByDef
6 months ago
array.c
upb: attempt to reduce the direct use of UPB_PRIVATE() fields
10 months ago
array.h
upb: make upb_Array_Reserve() a public function
8 months ago
array_test.cc
Update remainder of upb to new short license style.
1 year ago
compare.c
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
compare.h
upb: define kUpb_CompareOption_IncludeUnknownFields flag for upb_Message_IsEqual()
8 months ago
compat.c
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
compat.h
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
copy.c
Propagate aliasing option to parse of unknown fields
2 weeks ago
copy.h
upb: clean up and consolidate the upb/message/ build targets
11 months ago
copy_test.cc
Propagate aliasing option to parse of unknown fields
2 weeks ago
map.c
upb: implement immutability
10 months ago
map.h
upb: delete upb_Map_Delete2()
9 months ago
map_gencode_util.h
Update remainder of upb to new short license style.
1 year ago
map_sorter.c
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
map_test.cc
Update remainder of upb to new short license style.
1 year ago
merge.c
Add upb_Message_MergeFrom to upb
5 months ago
merge.h
Add upb_Message_MergeFrom to upb
5 months ago
merge_test.cc
Add upb_Message_MergeFrom to upb
5 months ago
message.c
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
message.h
Move iteration APIs to headers, so they're inlined in loop calls
2 weeks ago
promote.c
Support deleting regions of unknown fields via noncontiguous storage API
3 weeks ago
promote.h
Support deleting regions of unknown fields via noncontiguous storage API
3 weeks ago
promote_test.cc
Update tests to use noncontiguous API
3 weeks ago
tagged_ptr.h
upb: Simplify inline functions in mini_table/ and mem/ and wire/ and message/
10 months ago
test.cc
Make fuzz test check round-trip correctness of upb encoder/decoder.
2 weeks ago
test.proto
upb: implement immutability
10 months ago
utf8_test.cc
Migrated upb to use Copybara-standard stripping.
3 months ago
utf8_test.proto
Migrated upb to use Copybara-standard stripping.
3 months ago
utf8_test_proto2.proto
Add kUpb_DecodeOption_AlwaysValidateUtf8 decode option, to force UTF-8 validation of proto2 strings.
11 months ago
value.h
Use an explicit union with commented explanation rather than casting
2 weeks ago