Ivan Posva
a1cf1eb4bc
Fix leak when running b64_decode_fuzzer tests.
5 years ago
Ivan Posva
944e6f9ad4
Create testcase-5759629707444224.
5 years ago
Ivan Posva
bd60691d95
Fix include order for clang_format.
5 years ago
Ivan Posva
59415d0c25
Create testcase-5686577615339520
5 years ago
Ivan Posva
79c4a2f1d8
Fix leak when running b64_encode_fuzzer tests.
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Samuel Lijin
2b98a9bbc8
Fuzz base64 encoding and decoding
...
Google had a company-wide FuzzIt hackathon recently, so I went digging
in gRPC and found this, which means I probably don't know what I'm doing :)
The initial corpus files I'm checking in were generated via local runs
and appear to consistently cause leaks. Please let me know if these are
actual bugs, or if they're a false positive.
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Esun Kim
81df105ac8
Deprecate gpr_get/set_allocation_functions
5 years ago
Vijay Pai
c3faf1c3b8
Remove unused parameter warning (12 of 20)
5 years ago
Jan Tattermusch
18fb48de59
use even better workaround
5 years ago
Jan Tattermusch
260dc18f47
a cleaner workaround
5 years ago
Jan Tattermusch
932ce81228
workaround_slice_test_compiler_bug
5 years ago
Jan Tattermusch
8e39f76b10
work around slice_test compiler bug
5 years ago
Jan Tattermusch
8e79705d29
disable fuzzers on windows
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Arjun Roy
2767accc1b
Fixed init-order-fiasco for static slice table.
...
Fixes init-order bug affecting https://github.com/grpc/grpc/issues/19819 which
was first exposed by this commit:
857375a142
5 years ago
Alexander Polcyn
609107586a
Add a way for tests with LeakDetector to free the control plane creds map
5 years ago
Soheil Hassas Yeganeh
5d65a9fa7b
Address comments from Vijay.
6 years ago
Soheil Hassas Yeganeh
0d6cffd6c4
Introduce grpc_slice_from_moved_string.
...
Suggested by @markdroth to avoid extra allocation and copy when it's not
needed.
6 years ago
Soheil Hassas Yeganeh
1f0476267b
Add a better comment and rename consume_first to remove_first.
6 years ago
Soheil Hassas Yeganeh
4c0c2965fe
Use peek_first instead of mutable_first.
...
Use DEBUG_ASSERT instead of ASSERT.
6 years ago
Soheil Hassas Yeganeh
fd5f787080
Introduce slice_buffer helper methods to avoid copies.
...
take_first(), grpc_undo_first(), ... are very clostly
methods that unnecessarily copy grpc_slice with extra
ref counting requirements.
Introduce alternatives to avoid copies and refs wherever
possible.
This results in 1% improvements in the benchmarks.
6 years ago
Arjun Roy
7d946633ea
grpc_slice_refcount devirtualization
6 years ago
yang-g
a6596b2fd5
Fix fuzzer test
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
yang-g
3227abf717
fix percent en/decode fuzzers
6 years ago
yang-g
b5966a281c
Fix percent decode fuzzer
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
yang-g
cdd698810b
Move grpc_shutdown internals to a detached thread
6 years ago
Yash Tibrewal
c0cd82faed
Remove unnecessary includes of exec_ctx.h
7 years ago
David Garcia Quintas
396d49d958
Introduce a 'weak' and mutable version of slice hash table
7 years ago
Mark D. Roth
3e7f2df047
Convert slice hash table and service config code to C++.
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
ncteisen
fe354eb807
Fix the fuzzers
7 years ago
ncteisen
0e6b5b3ba3
Un extern the fuzzers
7 years ago
ncteisen
34fec74986
No more API change, no test change
7 years ago
ncteisen
589c940195
add test
7 years ago