19 Commits (9bd37b84130ffd6856d71690603bf5d0490f6252)

Author SHA1 Message Date
Protobuf Team Bot a0fbbd6b2d Avoid automatic variables in functions using setjmp. 2 years ago
Joshua Haberman f8a3e0d684 Avoid reading uninitialized memory when validating MiniTable. 2 years ago
Joshua Haberman 518e19dc63 Fixed fuzz bug by further validating map entries. 2 years ago
Eric Salo 68e3662a9c fix fuzzer test w/nested maps 2 years ago
Eric Salo b29761fece add return codes to upb_MiniTable_SetSubMessage/Enum() 2 years ago
Joshua Haberman a5e337f88c Allow dynamic tree shaking for groups, and disallow groups for map entry sub-messages. 2 years ago
Eric Salo 9ab09b47fa fix unset mini table field presence bug 2 years ago
Eric Salo 11fc16328a fix fuzzer failure due to a bad map descriptor 2 years ago
Joshua Haberman ca828897c2 Fixed a bug with maps on 32-bit machines. 2 years ago
Eric Salo 32f28fcdc6 remove 'platform' param from upb_MiniTable_Build() 2 years ago
Eric Salo 0a2c988286 fix some mini_table function names to match the upb style guide: 2 years ago
Joshua Haberman 9c6223c058 Unified all hazzers to use MiniTable accessors 2 years ago
Joshua Haberman d22d6d71ed Refactored message accessors to share a common set of functions instead of duplicating logic. 2 years ago
Eric Salo 27d70edfe2 clean up the :mini_table build target 2 years ago
Eric Salo ff8e1b40ba create base/ subdir and expand :status build target to :base 2 years ago
Eric Salo 75907f7af9 rename the upb_MiniTable subtypes to follow the upb style guide: 2 years ago
Eric Salo f6307877d3 move portability stuff into upb/port/ 2 years ago
Eric Salo f409c9985b create mem/ subdir for all arena code 2 years ago
Eric Salo c033eff26f split apart mini_table.c into a new subdir 2 years ago
Eric Salo 5c646803ef implement mini descriptors for message sets 2 years ago
Eric Salo cb5be728d7 fix bug in mini descriptor map decoder 2 years ago
Eric Salo 20310e2f3a implement mini descriptors for maps 2 years ago
Eric Salo 36ce2fa7d1 add version/tag chars to the start of all mini descriptors 2 years ago
Eric Salo 40998462d6 add upb_MtDataEncoder_EncodeExtension() 2 years ago
Eric Salo 1a3803ce8b dead code elimination 2 years ago
Eric Salo 85f7d2d065 set kUpb_EncodedValue_MaxField to its correct value 2 years ago
Protobuf Team Bot 3faf958b3d Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Eric Salo 65946dc0e7 kUpb_EncodedType_Enum -> kUpb_EncodedType_OpenEnum 2 years ago
Protobuf Team Bot 41686adf0f Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Protobuf Team Bot bc2022ae86 Initialize mini table subs, so that upb_MiniTable_Build creates stable unlinked table. 2 years ago
Joshua Haberman b33fd88ed3 Added function for getting the type of a MiniTable field 2 years ago
Joshua Haberman 30a28f3d3a Removed kUpb_FieldRep_Pointer as a distinct FieldRep, saving a bit in the MiniTable 2 years ago
Eric Salo efd06e46a4 use mini descriptors to build message defs and extension defs 2 years ago
Joshua Haberman ba511fd425 Added a size overflow check for mini-table building 2 years ago
Joshua Haberman 6795ec13b4 Fixed fuzz bug in MiniDescriptor parsing for extensions. 2 years ago
Joshua Haberman 896e74c141 Optimizes `upb_MiniTable_Enum` for large but dense enums. 2 years ago
Joshua Haberman 5a7644b2d0 Fixed fuzz bug in upb. 2 years ago
Joshua Haberman fcb5ef37f7 Fixed a bug in MiniTable construction for extensions. #fuzzing 2 years ago
Joshua Haberman ececc21624 Fixed bug when parsing an unknown value in a proto2 enum extension. #fuzzing 2 years ago
Joshua Haberman 125db89ff5 Added fuzz tests for mini table building and binary format parsing/serialization. 2 years ago
Protobuf Team b28d80a9cc Fix GetMutableMessage not updating presence and storing new instance. 3 years ago
Protobuf Team a30bb1b842 Fix upb_MiniTable_Build not handling kUpb_MessageModifier_IsExtendable. 3 years ago
Joshua Haberman 1cf8214e4d Changed upb's arena alignment from 16 to 8. 3 years ago
Joshua Haberman fa8b605f78 Implemented MiniDescriptors for proto2 enums. 3 years ago
Joshua Haberman a1a101ab8e clang-format. 3 years ago
Joshua Haberman cb55c4d781 Addressed PR comments. 3 years ago
Joshua Haberman 20e7802fca Clang-format. 3 years ago
Joshua Haberman 911a25e738 Passes nearly all tests! 3 years ago
Joshua Haberman 273398ca5f Removed MessageLayout from upbc. 3 years ago
Joshua Haberman 5b711f286b WIP. 3 years ago