164 Commits (61f904efb7a149b8548581e27944580f2389f891)

Author SHA1 Message Date
Joshua Haberman 826eca6742 Enabled ubsan tests and fixed ubsan failures. 3 years ago
Joshua Haberman 606308c639 Added back missing underscore. 3 years ago
Joshua Haberman 75b6291e40 Renamed upb_FieldType_* -> kUpb_FieldType_* 3 years ago
Joshua Haberman 72af9dc0cc Switch to a single upb_Decode. 3 years ago
Joshua Haberman 499c2cc8b1 upb_extreg, upb_msg 3 years ago
Joshua Haberman 1c955f37ce
Mass API rename and clang-reformat (#485) 3 years ago
Joshua Haberman a0374b3b08 Added required field checking into the encoder. 3 years ago
Stan Hu 81eda8fade
Fix conformance test failures on big-endian systems 3 years ago
Joshua Haberman 50978256b9 Properly byte-swap fixed packed fields. 3 years ago
Stan Hu ba83e135d2
Refactor decode_munge to call decode_munge_int32 3 years ago
Stan Hu ad4d4076e1
Fix big endian decoding of enum_packed 3 years ago
Stan Hu c604ed9ae9
Fix big endian handling of enums 3 years ago
Joshua Haberman 2199be91bc Fixed UBSAN error. 3 years ago
Joshua Haberman 58968d6a78 A bit of minor code tweaking that improves benchmarks by 10%. 3 years ago
Joshua Haberman 58c1dbc11f Addressed PR comments. 3 years ago
Joshua Haberman 1618e1b9a6 Fixed case of parsing an unknown field. 3 years ago
Joshua Haberman f7980b7ed1 Restructured for simplicity and fixed fasttable parser. 3 years ago
Joshua Haberman dfa28861cc Don't store field_start, derive it separately. 3 years ago
Joshua Haberman 7c83eb93be Removed extra size from message. 3 years ago
Joshua Haberman 3d437bbcab Some pre-PR fixes. 3 years ago
Joshua Haberman 4abe724dde A few more fixes. 3 years ago
Joshua Haberman 16f763e4d6 Addressed PR comments. 3 years ago
Joshua Haberman 7907ed913b Expanded the test to cover packed fields also. 3 years ago
Joshua Haberman 8c916941b0 MSET -> MSGSET 3 years ago
Joshua Haberman b3c91c276b Addressed PR comments. 3 years ago
Joshua Haberman d80e682a9c Moved find field function closer to where it is used. 3 years ago
Joshua Haberman 53ce4354cf Minor formatting changes. 3 years ago
Joshua Haberman 37a577c0e7 Further factored the function. 3 years ago
Joshua Haberman 69bb5d1d94 Simplified main parsing function. 3 years ago
Joshua Haberman 6f89034249 Implemented support for MessageSet. 3 years ago
Joshua Haberman b1bbbdd4e7 Addressed PR comments. 3 years ago
Joshua Haberman ce012b7b55 Added support for extensions. 3 years ago
Joshua Haberman cdd6434a31 Introduced upb_extreg and plumbed it into decoder. 4 years ago
Joshua Haberman 58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label." 4 years ago
Joshua Haberman 6394894b6e Addressed PR comments. 4 years ago
Joshua Haberman 65d7b8ab0c Optimized decoder and paved the way for parsing extensions. 4 years ago
Joshua Haberman 3881393907 Renamed .int.h to _internal.h, for greater clarity. 4 years ago
Joshua Haberman 823eb09694 Update all 2011 dates to 2021. 4 years ago
Joshua Haberman e59d2c8fa7 Added license headers to all files. 4 years ago
Matt Kulukundis d9a0c58108 Allow arena fuse to fail 4 years ago
Joshua Haberman c7787cbaa1 Fixed a bunch of Clang warnings. 4 years ago
Joshua Haberman 9175989431 Bugfix for arena cleanup list when passing to upb_decode(). 4 years ago
Joshua Haberman 8d670d8aea Renamed decode_varint32() to decode_tag(). 4 years ago
Joshua Haberman 9abf8e043f Clamp 32-bit varints to 5 bytes to fix a fuzz failure. 4 years ago
Joshua Haberman 358fa14d0e Fixed headers and updated benchmark script. 4 years ago
Joshua Haberman bc200451ce Use a macro instead of an inline function for setjmp/longjmp. 4 years ago
Joshua Haberman fbc0639b07 Use _setjmp on mac to avoid saving/restoring the signal mask. 4 years ago
Joshua Haberman 65d166a6ba Added API for copy vs. alias and added benchmarks to test both. 4 years ago
Joshua Haberman 982b634bc5 Fixed a few minor bugs found by fuzzing. 4 years ago
Joshua Haberman 0497f8deed Fixed a critical bug on 32-bit builds, and added much more Kokoro testing. 4 years ago