upb icon indicating copy to clipboard operation
upb copied to clipboard

a small protobuf implementation in C

Results 43 upb issues
Sort by recently updated
recently updated
newest added

Ref: https://github.com/protocolbuffers/protobuf/pull/10291 Ruby types defined though native extensions should register a function that report their memory footprint in bytes. This feature is used by various memory profiling tools. As suggested...

Fixes protocolbuffers/protobuf#13750 Signed-off-by: owentou

Hi, I'm a cmake user and I tried to use `cmake/make_cmakelists.py` to generate `CMakeLists.txt` and integrate upb into my project and find some problems. 1. The generated dependency of `utf8_range`...

1. `luaL_checkint` is replaced by `luaL_checkinteger` and is removed from lua 5.3 2. `lua_isinteger` is already defined in lua 5.3+ 3. `else if (isprint(ch))` in `upb/bindings/lua/upbc.cc` is UB when ch...

Different message factories will return same message class for same descriptor in python.

add sanity-check for # of required fields in mini table builder It is possible to feed the mini table builder a descriptor for a message in which more than 63...

When building upb-compiled headers with LLVM 14 (running on Linux, building for Windows x64) I get tons of these warnings: ``` In file included from bazel-out/x64_windows-opt/bin/external/envoy_api/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c:14: bazel-out/x64_windows-opt/bin/external/com_envoyproxy_protoc_gen_validate/validate/validate.upb.h(694,4): warning: cast from...

message defs and extension defs are now built using mini descriptors

to build with `wasm32-unknown-wasi`, need remove setjmp for wasm target

enhancement

Building upb with Bazel 4.2.1 has got the following error. ``` ERROR: Traceback (most recent call last): File "/usr/local/google/home/veblush/.cache/bazel/_bazel_veblush/c4652c20fd8d5880d194bf82693e4fee/external/upb/bazel/upb_proto_library.bzl", line 32, column 76, in load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain") Error: file '@bazel_tools//tools/cpp:toolchain_utils.bzl'...