This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/add-fuzzing
in repository https://gitbox.apache.org/repos/asf/celix.git
from 1f61d321f Add asan and ubsan for fuzz testing builds
add 712c1040b Add SBRM documentation
add acdd4b492 Fix the memory leak when removing the component interface
and adding the corresponding test
add cff06e79b Fix redundant null check before destroying
`removedInterface->properties` in `dm_component_impl.c`.
add 871499ebd Merge pull request #801 from
apache/hotfix/dm-add-interfece-leak
add 84fed65e9 Update macOS workflow to use MacOS 15
add c348fe7e7 Remove unneeded comments
add 54c995d6f Standardize `CURLOPT_*` options to use long integers and
enable `CMAKE_EXPORT_COMPILE_COMMANDS`.
add fb20f1843 Merge pull request #803 from
apache/hotfix/curl-option-type-mismatch
add 82b5012d1 Use future/promise to replace the shaky sleep.
add 8167d2bf6 Merge pull request #804 from apache/hotfix/shaky-test-timeout
add 94fda8a21 Use future/promise to replace sleep-based event queue
handling for improved test reliability.
add 641869857 Merge pull request #805 from apache/hotfix/shaky-test-timeout
add c32cc631a Fix the RPC communication failure when the shared memory ID
is 0
add 905188635 Resolve use-after-free when unregister service factory
add bf3c6a9d2 Resolve the issue where the remote service endpoint is
exported before being fully established
add 3ea0d6d62 Add code comments
add 9d1c70b15 Merge branch 'apache:master' into improve_rsa
add cda49edfa Merge branch 'improve_rsa' of
https://github.com/xuzhenbao/celix into improve_rsa
add b04b1bac6 Resolve tracked service useCount race When removing service
add d013c0b99 Remove unreliable assertion
add 952489775 Update
bundles/remote_services/rsa_spi/include/celix_rsa_rpc_factory.h
add d10661d6f Merge branch 'improve_rsa' of
https://github.com/xuzhenbao/celix into improve_rsa
add 10fe2568c Merge pull request #802 from xuzhenbao/improve_rsa
add 7707129f5 Update macOS version and Python setup in conan_create
workflow
add c6d0e2a98 Merge pull request #808 from
apache/hotfix/mac-conan-create-fix
add d645fa9d2 Merge branch 'master' into feature/add-fuzzing
No new revisions were added by this update.
Summary of changes:
.github/workflows/conan_create.yml | 12 +-
.github/workflows/macos.yml | 14 +-
.../src/ConfiguredDiscoveryManager.cc | 72 +-
.../src/endpoint_discovery_poller.c | 4 +-
.../remote_service_admin_dfi/gtest/CMakeLists.txt | 4 +-
.../remote_service_admin_dfi/gtest/src/main.cc | 32 -
.../src/remote_service_admin_dfi.c | 4 +-
.../remote_service_admin_shm_v2/README.md | 21 +-
.../diagrams/rsa_shm_component_diagram.png | Bin 25998 -> 17012 bytes
.../diagrams/rsa_shm_component_diagram.puml | 8 -
.../rsa_shm/CMakeLists.txt | 2 +-
.../rsa_shm/gtest/CMakeLists.txt | 6 +-
.../gtest/src/RsaShmActivatorUnitTestSuite.cc | 157 +++-
.../src/RsaShmExportRegistrationUnitTestSuite.cc | 140 ++--
.../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc | 857 +++++++++++----------
.../src/RsaShmImportRegistrationUnitTestSuite.cc | 91 +--
.../gtest/src/RsaShmIntegrationTestSuite.cc | 6 +-
.../rsa_shm/src/rsa_shm_activator.c | 102 ++-
.../rsa_shm/src/rsa_shm_constants.h | 9 +
.../rsa_shm/src/rsa_shm_export_registration.c | 237 +-----
.../rsa_shm/src/rsa_shm_export_registration.h | 9 +-
.../rsa_shm/src/rsa_shm_impl.c | 134 +++-
.../rsa_shm/src/rsa_shm_impl.h | 9 +-
.../rsa_shm/src/rsa_shm_import_registration.c | 113 +--
.../rsa_shm/src/rsa_shm_import_registration.h | 8 +-
.../rsa_shm/src/rsa_shm_server.c | 8 +-
.../shm_pool/gtest/src/ShmCacheTestSuite.cc | 6 +-
.../shm_pool/src/shm_cache.c | 2 +-
.../remote_services/rsa_rpc_json/CMakeLists.txt | 3 +-
.../diagrams/remote_service_endpoint_use_seq.png | Bin 43996 -> 33935 bytes
.../diagrams/remote_service_endpoint_use_seq.puml | 6 +-
.../diagrams/remote_service_proxy_use_seq.png | Bin 43223 -> 44202 bytes
.../diagrams/remote_service_proxy_use_seq.puml | 14 +-
.../rsa_rpc_json/gtest/CMakeLists.txt | 1 -
.../gtest/src/RsaJsonRpcIntegrationTestSuite.cc | 2 +-
.../gtest/src/RsaJsonRpcUnitTestSuite.cc | 491 ++++++------
.../src/RsaRequestSenderTrackerUnitTestSuite.cc | 146 ----
.../rsa_rpc_json/src/rsa_json_rpc_activator.c | 5 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c | 41 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h | 6 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.c | 63 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.h | 13 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.c | 69 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.h | 11 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.c | 146 ----
.../rsa_rpc_json/src/rsa_request_sender_tracker.h | 45 --
.../rsa_spi/include/celix_rsa_rpc_factory.h | 120 +++
.../rsa_spi/include/rsa_request_handler_service.h | 59 --
.../rsa_spi/include/rsa_request_sender_service.h | 60 --
.../rsa_spi/include/rsa_rpc_factory.h | 87 ---
bundles/shell/shell_tui/src/shell_tui.c | 2 +-
cmake/Findcivetweb.cmake | 10 +-
cmake/celix_project/CelixProject.cmake | 12 +-
cmake/cmake_celix/BundlePackaging.cmake | 4 +-
conanfile.py | 11 +-
documents/README.md | 1 +
documents/SBRM.md | 84 ++
documents/development/README.md | 65 +-
examples/conan_test_package/conanfile.py | 2 -
examples/conan_test_package/test_c_rsa_spi.c | 4 +-
examples/conan_test_package_v2/conanfile.py | 2 -
libs/dfi/error_injector/dfi/CMakeLists.txt | 1 +
libs/dfi/error_injector/dfi/include/dfi_ei.h | 2 +
libs/dfi/error_injector/dfi/src/dfi_ei.cc | 7 +
libs/dfi/gtest/src/dyn_type_tests.cpp | 4 +-
libs/error_injector/CMakeLists.txt | 5 +
libs/error_injector/{stat => curl}/CMakeLists.txt | 19 +-
.../eventfd_ei.h => curl/include/curl_ei.h} | 11 +-
.../curl/src/curl_ei.cc} | 19 +-
libs/etcdlib/src/etcd.c | 6 +-
.../error_injector/celix_bundle_ctx/CMakeLists.txt | 1 +
.../include/celix_bundle_context_ei.h | 1 +
.../src/celix_bundle_context_ei.cc | 7 +
libs/framework/gtest/CMakeLists.txt | 15 +
.../src/CelixBundleContextServicesTestSuite.cc | 83 ++
.../framework/gtest/src/CelixFrameworkTestSuite.cc | 48 +-
.../CelixLauncherCurlErrorInjectionTestSuite.cc | 68 ++
libs/framework/gtest/src/CelixLauncherTestSuite.cc | 2 +-
.../gtest/src/DependencyManagerTestSuite.cc | 27 +
libs/framework/include/celix/Trackers.h | 12 +-
libs/framework/include/celix/dm/Component_Impl.h | 2 +-
.../include/celix/dm/ServiceDependency_Impl.h | 6 +-
libs/framework/src/celix_launcher.c | 71 +-
libs/framework/src/celix_libloader.c | 3 +-
libs/framework/src/dm_component_impl.c | 1 +
libs/framework/src/service_tracker.c | 43 +-
libs/promises/api/celix/Promise.h | 4 +-
87 files changed, 1969 insertions(+), 2151 deletions(-)
delete mode 100644
bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc
delete mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaRequestSenderTrackerUnitTestSuite.cc
delete mode 100644
bundles/remote_services/rsa_rpc_json/src/rsa_request_sender_tracker.c
delete mode 100644
bundles/remote_services/rsa_rpc_json/src/rsa_request_sender_tracker.h
create mode 100644
bundles/remote_services/rsa_spi/include/celix_rsa_rpc_factory.h
delete mode 100644
bundles/remote_services/rsa_spi/include/rsa_request_handler_service.h
delete mode 100644
bundles/remote_services/rsa_spi/include/rsa_request_sender_service.h
delete mode 100644 bundles/remote_services/rsa_spi/include/rsa_rpc_factory.h
create mode 100644 documents/SBRM.md
copy libs/error_injector/{stat => curl}/CMakeLists.txt (70%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
curl/include/curl_ei.h} (86%)
copy libs/{utils/error_injector/celix_filter/include/celix_filter_ei.h =>
error_injector/curl/src/curl_ei.cc} (76%)
create mode 100644
libs/framework/gtest/src/CelixLauncherCurlErrorInjectionTestSuite.cc