MCPcopy Create free account
hub / github.com/chromium/crashpad / StartJavaHandlerAtCrash

Method StartJavaHandlerAtCrash

client/crashpad_client_linux.cc:600–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598
599 stack.ss_size = kStackSize;
600 stack.ss_flags =
601 (stack.ss_flags & SS_DISABLE) ? 0 : stack.ss_flags & SS_AUTODISARM;
602 if (sigaltstack(&stack, nullptr) != 0) {
603 PLOG(ERROR) << "sigaltstack";
604 return false;
605 }
606 }
607 return true;
608}
609#endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ||
610 // BUILDFLAG(IS_CHROMEOS)
611
612#if BUILDFLAG(IS_ANDROID)
613
614bool CrashpadClient::StartJavaHandlerAtCrash(
615 const std::string& class_name,
616 const std::vector<std::string>* env,
617 const base::FilePath& database,
618 const base::FilePath& metrics_dir,
619 const std::string& url,
620 const std::map<std::string, std::string>& annotations,
621 const std::vector<std::string>& arguments) {

Callers

nothing calls this directly

Calls 2

BuildAppProcessArgsFunction · 0.85
InitializeMethod · 0.45

Tested by

no test coverage detected