Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Provide minimized stack lines #993

Merged
6 commits merged into from
Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions docs/webhook_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ Each event will be submitted via HTTP POST to the user provided URL.
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
Expand Down Expand Up @@ -1755,6 +1766,17 @@ Each event will be submitted via HTTP POST to the user provided URL.
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
Expand Down Expand Up @@ -5647,6 +5669,17 @@ Each event will be submitted via HTTP POST to the user provided URL.
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
Expand Down
33 changes: 33 additions & 0 deletions src/agent/libclusterfuzz/data/parsed-traces/address_in_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,5 +666,38 @@
"ChromeMain+0x3e3c1b",
"ChromeMain+0x13f",
"MainDllLoader::Launch"
],
"minimized_stack_function_lines": [
"GetHandleVerifier+0x15a519c",
"GetHandleVerifier+0x159aec0",
"GetHandleVerifier+0x159d261",
"ovly_debug_event+0xf8af79",
"ovly_debug_event+0xf84d1c",
"ovly_debug_event+0xf84a42",
"ovly_debug_event+0xcebd4c",
"ovly_debug_event+0x2611204",
"ovly_debug_event+0x2635d94",
"ovly_debug_event+0x263110d",
"ovly_debug_event+0x26368fe",
"ovly_debug_event+0x2c6b3c7",
"ovly_debug_event+0x2cff4f7",
"ovly_debug_event+0x51ba6bf",
"ovly_debug_event+0x51b6166",
"ovly_debug_event+0x51b3e17",
"ChromeMain+0x28fe40",
"GetHandleVerifier+0xd5ac0",
"GetHandleVerifier+0xd5ac0",
"ChromeMain+0x4e66a9",
"ChromeMain+0x4e7c20",
"GetHandleVerifier+0xd7ff7",
"ChromeMain+0x4e54e6",
"GetHandleVerifier+0xd86ef",
"ChromeMain+0x4e4948",
"ovly_debug_event+0x54a91c7",
"ChromeMain+0x3e405f",
"ChromeMain+0x3e5e4c",
"ChromeMain+0x3e3c1b",
"ChromeMain+0x13f",
"MainDllLoader::Launch client_util.cc:252"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,14 @@
"__pthread_start",
"__start_thread",
"__bionic_clone"
],
"minimized_stack_function_lines": [
"_JavaVM::AttachCurrentThread(_JNIEnv**, void*) jni.h:1060",
"javaAttachThread AndroidRuntime.cpp:1131",
"android::AndroidRuntime::javaThreadShell(void*) AndroidRuntime.cpp:1169",
"thread_data_t::trampoline(thread_data_t const*) Threads.cpp:99:16",
"__pthread_start(void*) pthread_create.cpp:198:18",
"__start_thread clone.cpp:41:16",
"__bionic_clone __bionic_clone.S:54"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,14 @@
"__pthread_start",
"__start_thread",
"__bionic_clone"
],
"minimized_stack_function_lines": [
"_JavaVM::AttachCurrentThread(_JNIEnv**, void*) jni.h:1060",
"javaAttachThread AndroidRuntime.cpp:1131",
"android::AndroidRuntime::javaThreadShell(void*) AndroidRuntime.cpp:1169",
"thread_data_t::trampoline(thread_data_t const*) Threads.cpp:99:16",
"__pthread_start(void*) pthread_create.cpp:198:18",
"__start_thread clone.cpp:41:16",
"__bionic_clone __bionic_clone.S:54"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,14 @@
"__pthread_start",
"__start_thread",
"__bionic_clone"
],
"minimized_stack_function_lines": [
"_JavaVM::AttachCurrentThread(_JNIEnv**, void*) jni.h:1060",
"javaAttachThread AndroidRuntime.cpp:1131",
"android::AndroidRuntime::javaThreadShell(void*) AndroidRuntime.cpp:1169",
"thread_data_t::trampoline(thread_data_t const*) Threads.cpp:99:16",
"__pthread_start(void*) pthread_create.cpp:198:18",
"__start_thread clone.cpp:41:16",
"__bionic_clone __bionic_clone.S:54"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,14 @@
"__pthread_start",
"__start_thread",
"__bionic_clone"
],
"minimized_stack_function_lines": [
"_JavaVM::AttachCurrentThread(_JNIEnv**, void*) jni.h:1060",
"javaAttachThread AndroidRuntime.cpp:1131",
"android::AndroidRuntime::javaThreadShell(void*) AndroidRuntime.cpp:1169",
"thread_data_t::trampoline(thread_data_t const*) Threads.cpp:99:16",
"__pthread_start(void*) pthread_create.cpp:198:18",
"__start_thread clone.cpp:41:16",
"__bionic_clone __bionic_clone.S:54"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,37 @@
"Envoy::Server::TestOneProtoInput",
"server_fuzz_test.cc"
],
"minimized_stack_function_lines": [
"Envoy::Network::Address::addressFromSockAddr(sockaddr_storage const&, unsigned int, bool) address_impl.cc:87:5",
"Envoy::Network::Address::addressFromFd(int) address_impl.cc:109:10",
"Envoy::Network::AddrFailyAwareSocketOptionImpl::setIpSocketOption(Envoy::Network::Socket&, Envoy::Network::Socket::SocketState, std::__1::unique_ptr<Envoy::Network::SocketOptionImpl, std::__1::default_delete<Envoy::Network::SocketOptionImpl> > const&, std::__1::unique_ptr<Envoy::Network::SocketOptionImpl, std::__1::default_delete<Envoy::Network::SocketOptionImpl> > const&) addr_family_aware_socket_option_impl.cc:31:17",
"Envoy::Network::Socket::applyOptions(std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Network::Socket::Option const>, std::__1::allocator<std::__1::shared_ptr<Envoy::Network::Socket::Option const> > > > const&, Envoy::Network::Socket&, Envoy::Network::Socket::SocketState) listen_socket.h:81:20",
"Envoy::Network::ClientConnectionImpl::ClientConnectionImpl(Envoy::Event::Dispatcher&, std::__1::shared_ptr<Envoy::Network::Address::Instance const> const&, std::__1::shared_ptr<Envoy::Network::Address::Instance const> const&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Network::Socket::Option const>, std::__1::allocator<std::__1::shared_ptr<Envoy::Network::Socket::Option const> > > > const&) connection_impl.cc:538:8",
"make_unique<Envoy::Network::ClientConnectionImpl, Envoy::Event::DispatcherImpl &, std::__1::shared_ptr<const Envoy::Network::Address::Instance> &, std::__1::shared_ptr<const Envoy::Network::Address::Instance> &, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >, const std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<const Envoy::Network::Socket::Option>, std::__1::allocator<std::__1::shared_ptr<const Envoy::Network::Socket::Option> > > > &> memory:3114:32",
"Envoy::Event::DispatcherImpl::createClientConnection(std::__1::shared_ptr<Envoy::Network::Address::Instance const>, std::__1::shared_ptr<Envoy::Network::Address::Instance const>, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Network::Socket::Option const>, std::__1::allocator<std::__1::shared_ptr<Envoy::Network::Socket::Option const> > > > const&) dispatcher_impl.cc:89",
"Envoy::Upstream::HostImpl::createConnection(Envoy::Event::Dispatcher&, Envoy::Upstream::ClusterInfo const&, std::__1::shared_ptr<Envoy::Network::Address::Instance const>, std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Network::Socket::Option const>, std::__1::allocator<std::__1::shared_ptr<Envoy::Network::Socket::Option const> > > > const&) upstream_impl.cc:134:56",
"Envoy::Upstream::HostImpl::createHealthCheckConnection(Envoy::Event::Dispatcher&) const upstream_impl.cc:112:11",
"non-virtual thunk to Envoy::Upstream::HostImpl::createHealthCheckConnection(Envoy::Event::Dispatcher&) const upstream_impl.cc:0",
"Envoy::Upstream::TcpHealthCheckerImpl::TcpActiveHealthCheckSession::onInterval() health_checker_impl.cc:304:22",
"Envoy::Upstream::HealthCheckerImplBase::ActiveHealthCheckSession::onIntervalBase() health_checker_base_impl.cc:250:3",
"Envoy::Upstream::HealthCheckerImplBase::addHosts(std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) health_checker_base_impl.cc:103:29",
"Envoy::Upstream::HealthCheckerImplBase::onClusterMemberUpdate(std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) health_checker_base_impl.cc:109:3",
"std::__1::function<void (unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&)>::operator()(unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) const functional:1913:12",
"Envoy::Common::CallbackManager<unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&>::runCallbacks(unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) callback_impl.h:40:7",
"std::__1::function<void (unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&)>::operator()(unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) const functional:1913:12",
"Envoy::Common::CallbackManager<unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&>::runCallbacks(unsigned int, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) callback_impl.h:40:7",
"Envoy::Upstream::HostSetImpl::updateHosts(std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const>, std::__1::shared_ptr<std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const>, std::__1::shared_ptr<Envoy::Upstream::HostsPerLocality const>, std::__1::shared_ptr<Envoy::Upstream::HostsPerLocality const>, std::__1::shared_ptr<std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const>, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&, std::__1::vector<std::__1::shared_ptr<Envoy::Upstream::Host>, std::__1::allocator<std::__1::shared_ptr<Envoy::Upstream::Host> > > const&) upstream_impl.cc:193:3",
"Envoy::Upstream::StaticClusterImpl::startPreInit() upstream_impl.cc:652:18",
"Envoy::Upstream::ClusterManagerInitHelper::addCluster(Envoy::Upstream::Cluster&) cluster_manager_impl.cc:48:13",
"Envoy::Upstream::ClusterManagerImpl::ClusterManagerImpl(envoy::config::bootstrap::v2::Bootstrap const&, Envoy::Upstream::ClusterManagerFactory&, Envoy::Stats::Store&, Envoy::ThreadLocal::Instance&, Envoy::Runtime::Loader&, Envoy::Runtime::RandomGenerator&, Envoy::LocalInfo::LocalInfo const&, Envoy::AccessLog::AccessLogManager&, Envoy::Event::Dispatcher&, Envoy::Server::Admin&) cluster_manager_impl.cc:287:18",
"Envoy::Upstream::ProdClusterManagerFactory::clusterManagerFromProto(envoy::config::bootstrap::v2::Bootstrap const&, Envoy::Stats::Store&, Envoy::ThreadLocal::Instance&, Envoy::Runtime::Loader&, Envoy::Runtime::RandomGenerator&, Envoy::LocalInfo::LocalInfo const&, Envoy::AccessLog::AccessLogManager&, Envoy::Server::Admin&) cluster_manager_impl.cc:941:32",
"Envoy::Server::Configuration::MainImpl::initialize(envoy::config::bootstrap::v2::Bootstrap const&, Envoy::Server::Instance&, Envoy::Upstream::ClusterManagerFactory&) configuration_impl.cc:49:46",
"Envoy::Server::InstanceImpl::initialize(Envoy::Server::Options&, std::__1::shared_ptr<Envoy::Network::Address::Instance const>, Envoy::Server::ComponentFactory&) server.cc:272:16",
"Envoy::Server::InstanceImpl::InstanceImpl(Envoy::Server::Options&, std::__1::shared_ptr<Envoy::Network::Address::Instance const>, Envoy::TestHooks&, Envoy::Server::HotRestart&, Envoy::Stats::StoreRoot&, Envoy::Thread::BasicLockable&, Envoy::Server::ComponentFactory&, std::__1::unique_ptr<Envoy::Runtime::RandomGenerator, std::__1::default_delete<Envoy::Runtime::RandomGenerator> >&&, Envoy::ThreadLocal::Instance&) server.cc:73:5",
"make_unique<Envoy::Server::InstanceImpl, testing::NiceMock<Envoy::Server::MockOptions> &, std::__1::shared_ptr<Envoy::Network::Address::Ipv4Instance>, Envoy::DefaultTestHooks &, testing::NiceMock<Envoy::Server::MockHotRestart> &, Envoy::Stats::TestIsolatedStoreImpl &, Envoy::Thread::MutexBasicLockable &, Envoy::Server::TestComponentFactory &, std::__1::unique_ptr<Envoy::Runtime::RandomGeneratorImpl, std::__1::default_delete<Envoy::Runtime::RandomGeneratorImpl> >, Envoy::ThreadLocal::InstanceImpl &> memory:3114:32",
"Envoy::Server::TestOneProtoInput(envoy::config::bootstrap::v2::Bootstrap const&) server_fuzz_test.cc:36",
"server_fuzz_test.cc server_fuzz_test.cc:18:1"
],
"scariness_score": 10,
"scariness_description": "signal"
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,15 @@
"v8::internal::Builtin_Impl_HandleApiCall",
"v8::internal::Builtin_HandleApiCall"
],
"minimized_stack_function_lines": [
"blink::PluginInfo::GetMimeClassInfo PluginData.cpp:56",
"blink::DOMPlugin::item DOMPlugin.cpp:54",
"blink::V8Plugin::itemMethodCallback V8Plugin.cpp:177",
"v8::internal::FunctionCallbackArguments::Call api-arguments.cc:25",
"v8::internal::`anonymous namespace'::HandleApiCallHelper<0> builtins-api.cc:112",
"v8::internal::Builtin_Impl_HandleApiCall builtins-api.cc:142",
"v8::internal::Builtin_HandleApiCall builtins-api.cc:130"
],
"scariness_score": 20,
"scariness_description": "wild-addr-read"
}
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,15 @@
"v8::internal::Builtin_Impl_HandleApiCall",
"v8::internal::Builtin_HandleApiCall"
],
"minimized_stack_function_lines": [
"blink::PluginInfo::GetMimeClassInfo PluginData.cpp:56",
"blink::DOMPlugin::item DOMPlugin.cpp:54",
"blink::V8Plugin::itemMethodCallback V8Plugin.cpp:177",
"v8::internal::FunctionCallbackArguments::Call api-arguments.cc:25",
"v8::internal::`anonymous namespace'::HandleApiCallHelper<0> builtins-api.cc:112",
"v8::internal::Builtin_Impl_HandleApiCall builtins-api.cc:142",
"v8::internal::Builtin_HandleApiCall builtins-api.cc:130"
],
"scariness_score": 20,
"scariness_description": "wild-addr-read"
}
Loading