crashpad/cci.20220219

Crashpad is a crash-reporting system.
Recipe info
2024-06-14

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
crashpad/cci.20220219

Using crashpad

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
crashpad/cci.20220219
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("crashpad/cci.20220219")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): crashpad
  • CMake target name(s): crashpad::crashpad
  • pkg-config file name(s): crashpad.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(crashpad REQUIRED)
# ...
target_link_libraries(YOUR_TARGET crashpad::crashpad)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the crashpad homepage listed above:

#include "base/atomicops.h"
#include "base/atomicops_internals_atomicword_compat.h"
#include "base/atomicops_internals_portable.h"
#include "base/auto_reset.h"
#include "base/bit_cast.h"
#include "base/check.h"
#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "base/cxx17_backports.h"
#include "base/debug/alias.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/format_macros.h"
#include "base/fuchsia/fuchsia_logging.h"
#include "base/logging.h"
#include "base/mac/foundation_util.h"
#include "base/mac/mach_logging.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_ioobject.h"
#include "base/mac/scoped_launch_data.h"
#include "base/mac/scoped_mach_port.h"
#include "base/mac/scoped_mach_vm.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/mac/scoped_nsobject.h"
#include "base/mac/scoped_typeref.h"
#include "base/memory/free_deleter.h"
#include "base/memory/page_size.h"
#include "base/memory/scoped_policy.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/persistent_histogram_allocator.h"
#include "base/notreached.h"
#include "base/numerics/checked_math.h"
#include "base/numerics/checked_math_impl.h"
#include "base/numerics/clamped_math.h"
#include "base/numerics/clamped_math_impl.h"
#include "base/numerics/safe_conversions.h"
#include "base/numerics/safe_conversions_arm_impl.h"
#include "base/numerics/safe_conversions_impl.h"
#include "base/numerics/safe_math.h"
#include "base/numerics/safe_math_arm_impl.h"
#include "base/numerics/safe_math_clang_gcc_impl.h"
#include "base/numerics/safe_math_shared_impl.h"
#include "base/posix/eintr_wrapper.h"
#include "base/posix/safe_strerror.h"
#include "base/process/memory.h"
#include "base/rand_util.h"
#include "base/scoped_clear_last_error.h"
#include "base/scoped_generic.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
#include "base/strings/string_util_posix.h"
#include "base/strings/string_util_win.h"
#include "base/strings/stringprintf.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversion_utils.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/condition_variable.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/lock_impl.h"
#include "base/sys_byteorder.h"
#include "base/template_util.h"
#include "base/third_party/icu/icu_utf.h"
#include "base/threading/thread_local_storage.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "build/chromeos_buildflags.h"
#include "client/annotation.h"
#include "client/annotation_list.h"
#include "client/client_argv_handling.h"
#include "client/crash_report_database.h"
#include "client/crashpad_client.h"
#include "client/crashpad_info.h"
#include "client/ios_handler/exception_processor.h"
#include "client/ios_handler/in_process_handler.h"
#include "client/ios_handler/in_process_intermediate_dump_handler.h"
#include "client/ios_handler/prune_intermediate_dumps_and_crash_reports_thread.h"
#include "client/prune_crash_reports.h"
#include "client/settings.h"
#include "client/simple_address_range_bag.h"
#include "client/simple_string_dictionary.h"
#include "client/simulate_crash.h"
#include "client/simulate_crash_ios.h"
#include "client/simulate_crash_linux.h"
#include "client/simulate_crash_mac.h"
#include "client/simulate_crash_win.h"
#include "util/file/delimited_file_reader.h"
#include "util/file/directory_reader.h"
#include "util/file/file_helper.h"
#include "util/file/file_io.h"
#include "util/file/file_reader.h"
#include "util/file/file_seeker.h"
#include "util/file/file_writer.h"
#include "util/file/filesystem.h"
#include "util/file/output_stream_file_writer.h"
#include "util/file/scoped_remove_file.h"
#include "util/file/string_file.h"
#include "util/fuchsia/koid_utilities.h"
#include "util/fuchsia/scoped_task_suspend.h"
#include "util/fuchsia/traits.h"
#include "util/ios/ios_intermediate_dump_data.h"
#include "util/ios/ios_intermediate_dump_format.h"
#include "util/ios/ios_intermediate_dump_interface.h"
#include "util/ios/ios_intermediate_dump_list.h"
#include "util/ios/ios_intermediate_dump_map.h"
#include "util/ios/ios_intermediate_dump_object.h"
#include "util/ios/ios_intermediate_dump_reader.h"
#include "util/ios/ios_intermediate_dump_writer.h"
#include "util/ios/ios_system_data_collector.h"
#include "util/ios/raw_logging.h"
#include "util/ios/scoped_vm_read.h"
#include "util/linux/address_types.h"
#include "util/linux/auxiliary_vector.h"
#include "util/linux/checked_linux_address_range.h"
#include "util/linux/direct_ptrace_connection.h"
#include "util/linux/exception_handler_client.h"
#include "util/linux/exception_handler_protocol.h"
#include "util/linux/exception_information.h"
#include "util/linux/initial_signal_dispositions.h"
#include "util/linux/memory_map.h"
#include "util/linux/proc_stat_reader.h"
#include "util/linux/proc_task_reader.h"
#include "util/linux/ptrace_broker.h"
#include "util/linux/ptrace_client.h"
#include "util/linux/ptrace_connection.h"
#include "util/linux/ptracer.h"
#include "util/linux/scoped_pr_set_dumpable.h"
#include "util/linux/scoped_pr_set_ptracer.h"
#include "util/linux/scoped_ptrace_attach.h"
#include "util/linux/socket.h"
#include "util/linux/thread_info.h"
#include "util/linux/traits.h"
#include "util/mac/checked_mach_address_range.h"
#include "util/mac/launchd.h"
#include "util/mac/mac_util.h"
#include "util/mac/service_management.h"
#include "util/mac/sysctl.h"
#include "util/mac/xattr.h"
#include "util/mach/bootstrap.h"
#include "util/mach/child_port_handshake.h"
#include "util/mach/child_port_server.h"
#include "util/mach/child_port_types.h"
#include "util/mach/composite_mach_message_server.h"
#include "util/mach/exc_client_variants.h"
#include "util/mach/exc_server_variants.h"
#include "util/mach/exception_behaviors.h"
#include "util/mach/exception_ports.h"
#include "util/mach/exception_types.h"
#include "util/mach/mach_extensions.h"
#include "util/mach/mach_message.h"
#include "util/mach/mach_message_server.h"
#include "util/mach/notify_server.h"
#include "util/mach/scoped_task_suspend.h"
#include "util/mach/symbolic_constants_mach.h"
#include "util/mach/task_for_pid.h"
#include "util/misc/address_sanitizer.h"
#include "util/misc/address_types.h"
#include "util/misc/arraysize.h"
#include "util/misc/as_underlying_type.h"
#include "util/misc/capture_context.h"
#include "util/misc/capture_context_test_util.h"
#include "util/misc/clock.h"
#include "util/misc/elf_note_types.h"
#include "util/misc/from_pointer_cast.h"
#include "util/misc/implicit_cast.h"
#include "util/misc/initialization_state.h"
#include "util/misc/initialization_state_dcheck.h"
#include "util/misc/lexing.h"
#include "util/misc/memory_sanitizer.h"
#include "util/misc/metrics.h"
#include "util/misc/no_cfi_icall.h"
#include "util/misc/paths.h"
#include "util/misc/pdb_structures.h"
#include "util/misc/random_string.h"
#include "util/misc/range_set.h"
#include "util/misc/reinterpret_bytes.h"
#include "util/misc/scoped_forbid_return.h"
#include "util/misc/symbolic_constants_common.h"
#include "util/misc/time.h"
#include "util/misc/tri_state.h"
#include "util/misc/uuid.h"
#include "util/misc/zlib.h"
#include "util/net/http_body.h"
#include "util/net/http_body_gzip.h"
#include "util/net/http_body_test_util.h"
#include "util/net/http_headers.h"
#include "util/net/http_multipart_builder.h"
#include "util/net/http_transport.h"
#include "util/net/url.h"
#include "util/numeric/checked_address_range.h"
#include "util/numeric/checked_range.h"
#include "util/numeric/checked_vm_address_range.h"
#include "util/numeric/in_range_cast.h"
#include "util/numeric/int128.h"
#include "util/numeric/safe_assignment.h"
#include "util/posix/close_multiple.h"
#include "util/posix/close_stdio.h"
#include "util/posix/double_fork_and_exec.h"
#include "util/posix/drop_privileges.h"
#include "util/posix/process_info.h"
#include "util/posix/scoped_dir.h"
#include "util/posix/scoped_mmap.h"
#include "util/posix/signals.h"
#include "util/posix/symbolic_constants_posix.h"
#include "util/process/process_id.h"
#include "util/process/process_memory.h"
#include "util/process/process_memory_fuchsia.h"
#include "util/process/process_memory_linux.h"
#include "util/process/process_memory_mac.h"
#include "util/process/process_memory_native.h"
#include "util/process/process_memory_range.h"
#include "util/process/process_memory_sanitized.h"
#include "util/process/process_memory_win.h"
#include "util/stdlib/aligned_allocator.h"
#include "util/stdlib/map_insert.h"
#include "util/stdlib/objc.h"
#include "util/stdlib/string_number_conversion.h"
#include "util/stdlib/strlcpy.h"
#include "util/stdlib/strnlen.h"
#include "util/stdlib/thread_safe_vector.h"
#include "util/stream/base94_output_stream.h"
#include "util/stream/file_encoder.h"
#include "util/stream/file_output_stream.h"
#include "util/stream/log_output_stream.h"
#include "util/stream/output_stream_interface.h"
#include "util/stream/test_output_stream.h"
#include "util/stream/zlib_output_stream.h"
#include "util/string/split_string.h"
#include "util/synchronization/semaphore.h"
#include "util/thread/stoppable.h"
#include "util/thread/thread.h"
#include "util/thread/thread_log_messages.h"
#include "util/thread/worker_thread.h"
#include "util/win/address_types.h"
#include "util/win/checked_win_address_range.h"
#include "util/win/command_line.h"
#include "util/win/context_wrappers.h"
#include "util/win/critical_section_with_debug_info.h"
#include "util/win/exception_codes.h"
#include "util/win/exception_handler_server.h"
#include "util/win/get_function.h"
#include "util/win/get_module_information.h"
#include "util/win/handle.h"
#include "util/win/initial_client_data.h"
#include "util/win/loader_lock.h"
#include "util/win/module_version.h"
#include "util/win/nt_internals.h"
#include "util/win/ntstatus_logging.h"
#include "util/win/process_info.h"
#include "util/win/process_structs.h"
#include "util/win/registration_protocol_win.h"
#include "util/win/safe_terminate_process.h"
#include "util/win/scoped_handle.h"
#include "util/win/scoped_local_alloc.h"
#include "util/win/scoped_process_suspend.h"
#include "util/win/scoped_registry_key.h"
#include "util/win/scoped_set_event.h"
#include "util/win/session_end_watcher.h"
#include "util/win/termination_codes.h"
#include "util/win/traits.h"
#include "util/win/xp_compat.h"