Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
710 commits
Select commit Hold shift + click to select a range
5739185
Roll crashpad/third_party/mini_chromium/mini_chromium/ e508a6010..450…
pkasting Nov 7, 2023
5613499
Replace base::WStringPiece with std::string_view
leizleiz Nov 7, 2023
079636a
build: adjust for Windows ARM64
compnerd Nov 22, 2023
202f5cb
Merge branch 'main' of https://chromium.googlesource.com/crashpad/cra…
supervacuus Nov 23, 2023
de6d596
Update zlib + mini_chromium in line with DEPS
supervacuus Nov 23, 2023
c6f8325
Update mini_chromium CMake to reflect upstream
supervacuus Nov 23, 2023
277df3f
Remove obsolete zlib sources
supervacuus Nov 27, 2023
fec839d
include new check header in client-side stacktrace writer
supervacuus Nov 27, 2023
abdc106
Merge pull request #90 from compnerd/arm64-asm
supervacuus Nov 27, 2023
e63d0c2
Merge pull request #91 from getsentry/meta/update
supervacuus Nov 27, 2023
eb9a5e2
build: remove obsolete source file
compnerd Nov 28, 2023
e8c474a
build: adjust process name matching
compnerd Nov 28, 2023
b5ef60a
Merge pull request #92 from compnerd/compnerd/zlib-update
supervacuus Nov 29, 2023
40875ed
Merge pull request #93 from compnerd/processor
supervacuus Nov 29, 2023
5fc60ae
Use googletest flag macros to access googletest flags.
zetafunction Dec 2, 2023
89991e9
ci: add arm64 build (#94)
supervacuus Dec 6, 2023
7049d96
Fix improper use of bit_cast
Dec 8, 2023
337b4f7
[mac] mach_absolute_time() -> clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
bhamiltoncx Dec 12, 2023
9f896f2
Qualify bit_cast with base::
Dec 12, 2023
3a20cc2
[ios] Add arm64e support to in_process_intermediate_dump_handler
bhamiltoncx Dec 15, 2023
2905784
[build] Re-enable action tracing
fangism Jan 6, 2024
bbb721f
Roll crashpad/third_party/mini_chromium/mini_chromium/ ac3e73239..cc2…
pbos Jan 10, 2024
65f2a2b
Roll crashpad/third_party/mini_chromium/mini_chromium/ cc2ae8eb0..1e6…
pbos Jan 10, 2024
4426ed9
Roll crashpad/third_party/mini_chromium/mini_chromium/ 1e64ecb51..c7f…
pbos Jan 10, 2024
d256de3
Roll crashpad/third_party/mini_chromium/mini_chromium/ c7fccaa8e..203…
pbos Jan 10, 2024
98d0d86
Add [[noreturn]] version of NtstatusLogMessage
pbos Jan 11, 2024
30b2f4b
ios: Add crashpad_uptime_ns crash key to iOS reports.
strangewiz Jan 11, 2024
5183bef
Remove should-be-dead code after PLOG(FATAL)
pbos Jan 12, 2024
305b648
doc: Upgrade the crashpad-home App Engine app to the go121 flex runtime
markmentovai Jan 17, 2024
22c386d
ios: Allow missing exception thread id from thread list.
strangewiz Jan 19, 2024
a02e493
Avoid assuming string_view iterators are char*
danakj Jan 25, 2024
27b460c
[fxbug.dev] Migrate bug numbers
Jan 26, 2024
5d81482
ios: Read dyld modules in reverse order.
strangewiz Jan 31, 2024
c576bf3
Add Update method to CrashpadInfo
jessemckenna Feb 9, 2024
5075fb6
Honor ios_is_app_extension chromium build flag
sdefresne Feb 12, 2024
940e8a3
Fix leaky CrashpadInfo test
jessemckenna Feb 13, 2024
58d7207
build: remove obsolete CRASHPAD_WER_ENABLED (#96)
supervacuus Feb 14, 2024
29ac83c
[Fuchsia] remove use of fuchsia mac sdk
zijiehe-google-com Feb 15, 2024
37afd37
Properly update iterator
Feb 21, 2024
bc4fd34
Log argv[0] for failing spawns
pbos Feb 21, 2024
9c58b66
Increase kMaxNumberOfAnnotations
ianby Mar 7, 2024
c4d4a4d
ios: Disable annotations tests on older simulators on macOS 14.3
strangewiz Mar 8, 2024
dea283a
Make AnnotationList's iterator compliant to input iterator
andre-kempe-arm Dec 1, 2023
6bf5e1b
Fix invalid check for valid key of Pointer Authentication
andre-kempe-arm Mar 5, 2024
ccd2065
ios: Update exception test for Chromium release builds.
strangewiz Mar 18, 2024
433ed68
update build-script for transport-compression changes in sentry-nativ…
supervacuus Mar 21, 2024
1cea047
ios: Capture signal exception context memory regions correctly.
strangewiz Mar 20, 2024
de1f583
fix: send attachments without content-type (#98)
supervacuus Apr 2, 2024
bbb99bf
Move crashpad to using Mac-13|Mac-14 (like chromium) and latest win sdk
danakj Apr 4, 2024
f9cee5c
Roll mini_chromium to pick up the latest version of base::span.
strangewiz Apr 10, 2024
8df174c
[ios] Fix TSAN issue and Mach port leak in CrashpadClient
bhamiltoncx Apr 1, 2024
7e0af1d
Use byte conversions over the byte swap functions
danakj Apr 11, 2024
96e301b
Support Epic's "Easy Anti Cheat" (#99)
kristjanvalur Apr 15, 2024
76badd4
Replace std::unique_ptr<T[]> with HeapArray in process_info.cc and
wuwang-wang May 1, 2024
dc48905
Fix incorrect DCHECK in CET contexts
quidity May 2, 2024
da18935
Replace std::is_pod usage
recvfrom Apr 22, 2024
bff9873
Make NTSTATUS_LOG less likely to change ::GetLastError() value
recvfrom Apr 22, 2024
84c8773
Use the span version of RandBytes
danakj May 6, 2024
5c09c9a
Include build_config.h before checking COMPILER_MSVC
danakj May 6, 2024
8e60a93
Roll mini_chromium to remove the pointer-based overload of RandBytes()
danakj May 7, 2024
3710831
ios: Use correct address when storing register memory.
strangewiz May 9, 2024
981d418
Replace std::unique_ptr<T> with HeapArray
wuwang-wang May 9, 2024
9032284
Pull latest Fuchsia toolchain
wuwang-wang May 10, 2024
1174aa4
Add build/build_config.h in capture_memory.cc
wuwang-wang May 10, 2024
4f99326
Replace std::unique_ptr with base::HeapArray in process_memory.cc
wuwang-wang May 13, 2024
aef8303
Fix format issue
wuwang-wang May 15, 2024
0e043cc
Add guard pages to test stacks
May 16, 2024
d588c50
[ScopedSpinGuard] Use std::atomic::compare_exchange_strong() for spin…
bhamiltoncx May 16, 2024
efd29a7
Roll crashpad/third_party/mini_chromium/mini_chromium/ a6607b1fd..585…
pbos May 16, 2024
6af42bc
Use NOTREACHED_IN_MIGRATION()
pbos May 17, 2024
cd0b7c2
infra: Move crashpad ci/try builds from Ubuntu-18.04 to Ubuntu-22.04
bpastene May 20, 2024
0bebda6
ios: Remove duplicate implementations of ReadStringSysctlByName
strangewiz Jun 4, 2024
08528d5
Updated codeowners (#102)
jernejstrasner Jun 5, 2024
202c1c2
fix: crashpad build for Windows ARM64 via LLVM-MINGW (#101)
past-due Jun 5, 2024
25c079d
[Fuchsia] Run fuchsia-gn-sdk from chromium
zijiehe-google-com Jun 5, 2024
a63adda
DEPS: fix version of fuchsia/sdk/core to avoid build error
Jun 5, 2024
c09de98
remove references to goma
Jun 5, 2024
a1fc5d7
Revert "DEPS: fix version of fuchsia/sdk/core to avoid build error"
Jun 6, 2024
7e36850
fix: replace find_package() with find_dependency() in the exported CM…
supervacuus Jun 11, 2024
dbe6f74
Merge branch 'main' of https://chromium.googlesource.com/crashpad/cra…
supervacuus Jun 11, 2024
d430e3f
Update minichromium
supervacuus Jun 11, 2024
a52e010
Update crashpad C++ standard to 20 via minichromium
supervacuus Jun 11, 2024
ff8eed7
Update minichromium build-script
supervacuus Jun 11, 2024
4751fa2
fix: further dependency use/export cleanup
supervacuus Jun 18, 2024
11b9eaf
Merge pull request #106 from getsentry/fix/further_cmake_deps_cleanup
supervacuus Jun 24, 2024
84f5f87
fix: xcode-llvm breakage on new GHA runner images (#108)
supervacuus Jun 25, 2024
aef7de4
[MSan] "Fix" use-after-dtor in InitializationState.InitializationState
zetafunction Jul 17, 2024
04101eb
fix: adapt blocking of handlers for Linux and Windows (#109)
supervacuus Jul 23, 2024
d380daf
Update cpp-httplib to 6a848b1a1643
markmentovai Jul 31, 2024
9b3ff69
Upgrade simulator tests to iPhone 15 running iOS 17.4
strangewiz Aug 1, 2024
b8658f3
Use Python shlex instead of the deprecated pipes
markmentovai Aug 6, 2024
1a62a01
BoringSSL compatibility fixes for cpp-httplib
markmentovai Aug 7, 2024
6159a43
Update cpp-httplib to c5c54b31e2bf (0.16.2)
markmentovai Aug 8, 2024
ee8369f
Roll crashpad/third_party/mini_chromium/mini_chromium/ bd56f6933..7ec…
pbos Aug 13, 2024
cc54fcc
Fix trailing NOTREACHED_NORETURN()
pbos Aug 14, 2024
6265674
Migrate to NOTREACHED()
pbos Aug 14, 2024
adb22c8
Switch from `ALIGNAS()` to `alignas()`.
pkasting Aug 22, 2024
458bdec
Don't redefine macros from base/compiler_specific.h.
pkasting Aug 22, 2024
7566378
Roll crashpad/third_party/mini_chromium/mini_chromium/ 7eca85315..e04…
pkasting Aug 22, 2024
50faaf1
Revert "Don't redefine macros from base/compiler_specific.h."
markmentovai Aug 22, 2024
f9fa2d1
[reland] Don't redefine macros from base/compiler_specific.h.
pkasting Aug 28, 2024
915913b
Fix crashpad for PGO generation
Sep 3, 2024
35e06fe
Add Revision to xnu’s README.crashpad
markmentovai Sep 9, 2024
e3abe1e
[fuchsia] remove unnecessary build args
zijiehe-google-com Sep 11, 2024
6d37f81
ios: Remove OS filter for iOS simulator tests.
strangewiz Sep 11, 2024
b39cca1
[DEPS] Rely on buildtools recursedep to fetch clang-format
sokcevicG May 30, 2024
030fdeb
Roll crashpad/third_party/mini_chromium/mini_chromium/ e04c707cb..c08…
pbos Oct 4, 2024
032bcc9
Mark CrashWithoutDumping() as [[noreturn]]
nico Oct 2, 2024
1f24e58
Make the network use proxy settings by default for Windows
hurims Oct 11, 2024
e05f665
Roll cpp-httplib
pbos Oct 15, 2024
41c74f5
[fuchsia] Remove duplicate LogSink routes
gbbosak Oct 17, 2024
70ccb76
Accept longer Settings::Data structs
pbos Oct 21, 2024
6c57c08
Fix -Wsign-compare in CrashReportDatabaseTest
pbos Oct 22, 2024
b8937c6
tools: fix missing include for EXIT_{SUCCESS,FAILURE}
Oct 28, 2024
02d094f
win: IWYU for __argc, __wargv
nico Nov 5, 2024
8961424
feat: Windows binary versioning for handler and WER module (#110)
supervacuus Nov 12, 2024
b95f5c6
fix: correct proxy-upload semaphore_wait timeout (#111)
supervacuus Nov 12, 2024
d5e828d
feat: add socks proxy support
JoshuaMoelans Nov 13, 2024
c7fa60c
fix: only add socks option on non-IOS system
JoshuaMoelans Nov 13, 2024
d34c645
fix: add runtime check for socks5 proxy scheme
JoshuaMoelans Nov 13, 2024
81c5c5a
fix: make all proxyDict keys strings
JoshuaMoelans Nov 13, 2024
3224a1c
apply suggestion from code review
JoshuaMoelans Nov 13, 2024
65a4501
Replace CHECK(false) instances
pbos Nov 13, 2024
3b0a429
Fix #includes
markmentovai Nov 14, 2024
852f8fe
Merge pull request #113 from getsentry/feat/socks5_proxy_support
JoshuaMoelans Nov 21, 2024
3f1b841
win: Include stddef.h for offsetof()
nico Nov 25, 2024
66a7812
Add .vscode to .gitignore
jessemckenna Nov 26, 2024
8730fa1
add check for metadata pointer
JoshuaMoelans Dec 6, 2024
49fc6e5
Merge pull request #115 from getsentry/feat/metadata_pointer_check
JoshuaMoelans Dec 6, 2024
4826f5a
Roll crashpad/third_party/mini_chromium/mini_chromium/ c081fd005..630…
pkasting Dec 12, 2024
6419a2e
Make use of `base::fixed_extent<>`.
pkasting Dec 12, 2024
a0025ad
Roll crashpad/third_party/mini_chromium/mini_chromium/ 63057a19a..22f…
speednoisemovement Dec 17, 2024
6cdf8ed
feat: crashpad C++17 support (#116)
supervacuus Jan 10, 2025
c6d912d
Add STARTF_FORCEOFFFEEDBACK to prevent busy cursor on process launch
Jan 14, 2025
d129c02
fix: update mini_chromium to remove a left-over <span> include (#117)
supervacuus Jan 20, 2025
0e548cc
OWN Crashpad
markmentovai Jan 21, 2025
1e81dd5
crashpad: fix missing . when appending crash report extension
sorinj Jan 17, 2025
e428b3a
doc: Update to Doxygen 1.13.2, fix Doxygen warnings, modernize somewhat
markmentovai Jan 23, 2025
4cc763c
feat: support PAC stripping on older assemblers. (#118)
supervacuus Jan 27, 2025
9e8334f
Always pull clang on Windows
nico Jan 29, 2025
04bcaa9
remove set noparent from OWNERS file
sorinj Jan 29, 2025
e09e9b2
add `<empty>` proxy read
JoshuaMoelans Feb 6, 2025
b3bd7f9
add `<empty>` proxy read to transport
JoshuaMoelans Feb 6, 2025
8a447fc
pass along <empty> proxy
JoshuaMoelans Feb 6, 2025
8230f72
Merge pull request #119 from getsentry/feat/empty_proxy_read
JoshuaMoelans Feb 7, 2025
312919d
Remove traces of third_party/gyp
pbos Jan 14, 2025
4a227b2
Add a newline to scoped_registry_key.h
nico Feb 10, 2025
85ecbd2
Fix SyntaxWarning in build/run_tests.py
markmentovai Feb 11, 2025
db25cdc
Remove a NOTREACHED() after a __builtin_trap()
nico Feb 24, 2025
d7aeda9
Prepare for building with clang
nico Feb 24, 2025
73b3e4f
Enable clang by default on Windows
nico Feb 24, 2025
e2acb9f
Fix iOS test when run on arm64 under x86_64 translation
strangewiz Feb 24, 2025
0945d59
Update cpp-httplib to 71ba7e7b1b32 (0.19.0 + 22 commits)
markmentovai Feb 24, 2025
4d14c1b
Simplify ChromeOS build configuration
GeorgNeis Feb 17, 2025
51eba29
Fix Python 3.13 re DeprecationWarning: pass count and flags by keyword
markmentovai Feb 25, 2025
29dc41f
Update mini_chromium to aa56c39732fe3056cc342e59f1a5563ed6ba5e5e
markmentovai Feb 26, 2025
7d350d7
Remove BUG_PREFIX from codereview.settings
markmentovai Feb 27, 2025
a470103
Update mini_chromium to af17e4df94cfff4b6fa9f0be3eb222828b7cbce6
markmentovai Feb 27, 2025
32a2c25
zlib: don’t define __clang__ for win-arm64 with MSVC
markmentovai Feb 27, 2025
8eb8015
Fix capture_context_win_arm64 in standalone clang build
markmentovai Feb 27, 2025
e383fa1
.gitignore third_party/windows/clang/win-amd64
markmentovai Feb 27, 2025
bd3f93d
Support building with clang-cl (#100)
Nerixyz Mar 3, 2025
4cd23a2
chore: update ubuntu runners (#122)
JoshuaMoelans Mar 6, 2025
04b11f9
Remove nullptr initialization of std::string
Prabhuk Mar 7, 2025
bea6b3a
feat: enable retry for non-iOS builds (#120)
JoshuaMoelans Mar 11, 2025
e09f5ee
ios: Support UserStreamDataSources on iOS.
strangewiz Mar 12, 2025
342bd4d
ios: Enable extra_memory_ranges on iOS.
strangewiz Mar 11, 2025
c405b3e
ios: Support intermediate dump extra_memory_ranges.
strangewiz Mar 14, 2025
3eba16f
ios: Correct bad dep
strangewiz Mar 14, 2025
cfe842c
ios: Add more tests for extra_memory_ranges and custom user streams.
strangewiz Mar 17, 2025
18c8a35
feat: screenshot capture (windows) (#123)
jpnurmi Mar 19, 2025
2d97a48
feat: add option to delay shutdown until upload thread completes (#121)
JoshuaMoelans Mar 25, 2025
21a20ef
[fuchsia] Route diagnostics dictionary to Chromium
zijiehe-google-com Mar 24, 2025
279de5e
Update mini_chromium to 7477036e238e54f220bed206f71036db8064dd34
rakuco Mar 25, 2025
421b4a9
Revert "[fuchsia] Route diagnostics dictionary to Chromium"
gbbosak Mar 25, 2025
a5ef986
[iOS] Clean up some includes in client/ and snapshot/
rakuco Mar 26, 2025
eefaa42
build: Add a crashpad_is_tvos GN variable
rakuco Apr 1, 2025
0ddebd9
build: Add tvOS support to setup_ios_gn.py
rakuco Apr 1, 2025
1feae80
Thread: Make GetThreadIdForTesting() static
rakuco Apr 1, 2025
e572921
util: Only build spawn_subprocess.{cc,h} on Linux and Mac
rakuco Apr 1, 2025
d4cf4d4
cptest_application_delegate.mm: Restrict keyWindow usage on tvOS too
rakuco Apr 1, 2025
b833131
Update mini_chromium to 15d1cace45803c0efb2a43630bf48bcdc15ad9e8
ilovepi Apr 2, 2025
ea312c6
Rename SetMachExceptionCallbackForTesting() to SetExceptionCallbackFo…
rakuco Apr 2, 2025
e00f8d2
Update Fuchsia toolchain pin to use `integration`
ilovepi Apr 3, 2025
cb2d00c
[ios] Remove unused #include in exception_processor.mm
bhamiltoncx Apr 4, 2025
27a5c6c
ios: Disable annotations tests on older simulators on macOS 15.4
strangewiz Apr 4, 2025
fc35662
ios: Fix compile for EDO with Xcode 16.3
strangewiz Apr 4, 2025
8d6cc37
[client] Add include-what-you-use pragmas to simulate_crash facade
bhamiltoncx Apr 4, 2025
ef2a4d8
Mac: ensure crashes are forwarded to system crash reporter
speednoisemovement Apr 8, 2025
3bc11fd
android: Fix spawn_subprocess build.
strangewiz Apr 10, 2025
b5ac75e
third_party/ninja: Fix license header
Jwata Apr 21, 2025
8082d90
[fuchsia] Fix Crashpad tests license
pankhurstG Apr 18, 2025
e8b8e90
Correct third_party/edo header to proper form for Crashpad.
strangewiz Apr 22, 2025
d6ed84b
DEPS: roll mini_chromium
Apr 24, 2025
cfba58c
Roll crashpad/third_party/edo/edo/ 727e55670..38e71ff18 (48 commits)
strangewiz Apr 30, 2025
a17b30d
fix: compilation errors with musl (#125)
jpnurmi May 13, 2025
59af475
ios: Restore SIGPIPE handler in CrashHandler's destructor
rakuco May 13, 2025
73eb900
[fuchsia] Uprev test-scripts with FUCHSIA_READELF env
strangewiz May 13, 2025
aed4e5d
client: Add a tvOS version of CrashHandler, add tvOS support to tests
rakuco May 13, 2025
8bbfddf
run_tests.py: Add support for tvOS
rakuco Apr 11, 2025
ecd1431
ios_system_data_collector: Do not monitor orientation changes on tvOS
rakuco Apr 11, 2025
405ab8e
Add missing include to crashpad.
matts1 Mar 17, 2025
19a1004
run_tests.py: Fix style after 8bbfddf3
rakuco May 15, 2025
8f13101
tvOS: Remove LOG() call from CrashHandler::DoInitialize()
rakuco May 15, 2025
0a66227
build: Propagate data_deps of crashpad_tests for Android build
Jwata May 22, 2025
877188c
[fuchsia] Log status on error for ZX_PROP_PROCESS_DEBUG_ADDR
thomasgales May 21, 2025
d5dc6d8
Roll crashpad/third_party/mini_chromium/mini_chromium/ 361ef33dc..4e7…
May 28, 2025
26ad443
Add test filter upstream in Crashpad
May 28, 2025
46a5690
Fix Fuchsia build
thomasgales May 29, 2025
b265391
feat: wait-for-upload Windows support (#126)
supervacuus Jun 5, 2025
2e8ce8b
feat: add CrashpadClient::Add/RemoveAttachment() for Windows and Linu…
jpnurmi Jun 13, 2025
de92148
fix: auto-resolve CMAKE_OSX_SYSROOT for CMake 4.0 (#128)
jpnurmi Jun 18, 2025
e24b0f9
feat: ensure unique file names for attachments (#129)
jpnurmi Jun 22, 2025
576a639
tvOS: Document differences from iOS
rakuco Jul 9, 2025
306647a
Update googletest to fix fuchsia
zijiehe-google-com Jul 11, 2025
0574023
Crashpad: AnnotationList: Spell check a random word in annotation_list.h
solomonkinardchromium Jul 10, 2025
37b3418
return a bool from LogOutputStream::Delegate::Log
Jul 25, 2025
d72c577
Increase delay in crashpad_util_test ServiceManagement.SubmitRemoveJob
markmentovai Jul 28, 2025
7292c84
Fix crashpad_snapshot_test ProcessReaderMac.* for macOS ≥ 15.4
markmentovai Jul 28, 2025
9839095
Run gn format on BUILD.gn files
Jul 25, 2025
e179c70
util: Simplify MacOSVersionNumber
markmentovai Jul 29, 2025
d100afd
util: DO an arm64 TODO in MacModelAndBoard
markmentovai Jul 29, 2025
c59265d
infra: add mac-arm64 bots
markmentovai Jul 30, 2025
bb69421
snapshot: prepare MachOImageAnnotationsReader for macOS/iOS 26
markmentovai Jul 30, 2025
8921413
iOS: Explicitly ignore return value of vector::at()
nico Aug 1, 2025
811b042
ios: Handle dyld crashreporter_annotations_t in __DATA_DIRTY segment.
strangewiz Jul 31, 2025
ace1350
Convert base::StringPiece to std::string_view
Aug 15, 2025
3472da6
Migrate to __system_property_read_callback()
Aug 19, 2025
9eb9135
Fix Fuchsia build
thomasgales Aug 18, 2025
64c8551
Update cpp-httplib to 3f44c80fd345 (0.25.0)
markmentovai Aug 20, 2025
3e3f281
win: Include stddef.h for offsetof() (#132)
past-due Aug 29, 2025
137d0f4
feat: external crash reporter (#131)
jpnurmi Aug 29, 2025
aa6419a
fix(mingw): only fall back on JWASM if no other ASM_MASM has been spe…
supervacuus Sep 9, 2025
79a91fe
fix: hide the ObjectiveC ARC compile options in the interface library…
supervacuus Sep 18, 2025
ad8e3e9
[gtest] Clean up single-arg `testing::Invoke()`s
jonathan-j-lee Sep 18, 2025
2060cc8
Rename third_party/linux/README.crashpad to .md
Sep 23, 2025
b9d38f3
crashpad: Introduce a new SettingsReader type for read-only access
Oct 10, 2025
578db64
rate-limit: create ShouldRateLimit() and tests
jessemckenna Oct 17, 2025
1b4a591
fix(win): remove `MAX_PATH` dependency (#135)
supervacuus Oct 20, 2025
94e4459
Inline kBackwardsClockTolerance in header
jessemckenna Oct 18, 2025
7ab18af
clang-tidy: concatenate nested namespaces
jessemckenna Oct 21, 2025
7833ced
Merge branch 'main' of https://chromium.googlesource.com/crashpad/cra…
JoshuaMoelans Oct 22, 2025
cc7d58a
Adapt build scripts to upstream changes + fixes
JoshuaMoelans Oct 22, 2025
2e4a7b8
point mini_chromium submodule to getsentry branch
JoshuaMoelans Oct 23, 2025
b160f39
meta: update 2025-10-22
JoshuaMoelans Oct 23, 2025
d8990d2
feat: Support optional usage of stack pointer for captured stack fram…
mujacica Oct 28, 2025
19d9d8a
fix: add GNU stack note to crashpad_info_note.S (#139)
supervacuus Nov 12, 2025
c0c7cfe
chore: add C++ standard requirement being C++17 to `README.getsentry.md`
JoshuaMoelans Nov 14, 2025
60dd899
fix: silence for clang >= 20 (#141)
supervacuus Nov 14, 2025
63ef335
fix: dont apply `CMAKE_DEBUG_POSTFIX` to crashpad_wer.dll
JoshuaMoelans Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2014 The Crashpad Authors. All rights reserved.
# Copyright 2014 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019 The Crashpad Authors. All rights reserved.
# Copyright 2019 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,6 @@
*.gn text eol=lf
*.gni text eol=lf
*.go text eol=lf
*.gyp text eol=lf
*.gypi text eol=lf
*.h text eol=lf
*.m text eol=lf
*.md text eol=lf
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @getsentry/processing
127 changes: 127 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: Build

on:
push:
branches:
- getsentry
pull_request:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu (GCC 14.2.0)
platform: ubuntu-24.04
CC: gcc-14
CXX: g++-14
- name: Ubuntu (GCC 13.3.0)
platform: ubuntu-24.04
CC: gcc
CXX: g++
- name: Ubuntu (GCC 11.4.0)
platform: ubuntu-22.04
CC: gcc
CXX: g++
- name: Ubuntu (GCC 10.5.0)
platform: ubuntu-22.04
CC: gcc-10
CXX: g++-10
- name: Ubuntu (clang 18.1.3)
platform: ubuntu-24.04
CC: clang
CXX: clang++
- name: Ubuntu (clang 14.0.0)
platform: ubuntu-22.04
CC: clang
CXX: clang++
- name: Alpine Linux (GCC + musl)
platform: ubuntu-latest
container: alpine:3.21
CC: gcc
CXX: g++
- name: Alpine Linux (clang + musl)
platform: ubuntu-latest
container: alpine:3.21
CC: clang
CXX: clang++
- name: Windows (x64)
platform: windows-latest
- name: Windows ClangCL (x64)
platform: windows-latest
CMAKE_DEFINES: -G 'Visual Studio 17 2022' -A x64 -T ClangCL
- name: Windows (arm64)
platform: windows-latest
CMAKE_DEFINES: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/win_arm64.cmake -A arm64
- name: LLVM-MINGW (x64)
platform: windows-latest
MINGW: 1
MINGW_PKG_PREFIX: x86_64-w64-mingw32
MINGW_ASM_MASM_COMPILER: "'llvm-ml;-m64'"
CMAKE_DEFINES: -DCRASHPAD_ZLIB_SYSTEM=OFF -DCRASHPAD_BUILD_TOOLS=OFF -G Ninja
- name: LLVM-MINGW (arm64)
platform: windows-latest
MINGW: 1
MINGW_PKG_PREFIX: aarch64-w64-mingw32
CMAKE_DEFINES: -DCRASHPAD_ZLIB_SYSTEM=OFF -DCRASHPAD_BUILD_TOOLS=OFF -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/mingw_arm64.cmake -G Ninja
- name: macOS
platform: macos-latest
name: ${{ matrix.name }}
runs-on: ${{ matrix.platform }}
container: ${{ matrix.container }}
env:
CMAKE_DEFINES: "${{ matrix.CMAKE_DEFINES }}"
steps:
- name: Installing Alpine Linux Dependencies
if: ${{ contains(matrix.container, 'alpine') }}
run: |
apk update
apk add git bash build-base clang cmake zlib-dev curl-dev openssl-dev libunwind-dev linux-headers pkgconf

- uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Installing Ubuntu Dependencies
if: ${{ runner.os == 'Linux' && !matrix.container }}
run: |
sudo apt update
sudo apt install clang zlib1g-dev libcurl4-openssl-dev libssl-dev libunwind-dev pkg-config

- name: Installing LLVM-MINGW Dependencies
if: ${{ runner.os == 'Windows' && matrix.MINGW == '1' }}
shell: powershell
env:
MINGW_PKG_PREFIX: ${{ matrix.MINGW_PKG_PREFIX }}
MINGW_ASM_MASM_COMPILER: ${{ matrix.MINGW_ASM_MASM_COMPILER }}
run: . "cmake\scripts\install-llvm-mingw.ps1"

- name: Build crashpad
shell: bash
run: |
[ "${{ matrix.CC }}" ] && export CC="${{ matrix.CC }}"
[ "${{ matrix.CXX }}" ] && export CXX="${{ matrix.CXX }}"
echo "CMAKE_DEFINES=${CMAKE_DEFINES}"
eval "cmake -B cmake-build -D CRASHPAD_BUILD_TOOLS=On $CMAKE_DEFINES"
cmake --build cmake-build --parallel

- name: Build crashpad with client-side stack traces
shell: bash
run: |
[ "${{ matrix.CC }}" ] && export CC="${{ matrix.CC }}"
[ "${{ matrix.CXX }}" ] && export CXX="${{ matrix.CXX }}"
echo "CMAKE_DEFINES=${CMAKE_DEFINES}"
eval "cmake -B cmake-build-stacks -D CRASHPAD_ENABLE_STACKTRACE=ON $CMAKE_DEFINES"
cmake --build cmake-build-stacks --parallel

build-ios:
name: 'iOS'
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- run: |
cmake -B crashpad-xcode -GXcode -DCMAKE_SYSTEM_NAME=iOS
xcodebuild build -project crashpad-xcode/crashpad.xcodeproj
14 changes: 11 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2014 The Crashpad Authors. All rights reserved.
# Copyright 2014 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,20 +12,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Keep sorted

*.Makefile
*.ninja
*.pyc
*.target.mk
*.xcodeproj
*~
.*.sw?
.cache
.DS_Store
.cache
.gdb_history
.gdbinit
/.vscode/
/Makefile
/build/fuchsia
/out
/third_party/edo/edo
/third_party/fuchsia-gn-sdk
/third_party/fuchsia/.cipd
/third_party/fuchsia/clang
/third_party/fuchsia/qemu
Expand All @@ -36,8 +41,11 @@
/third_party/linux/clang
/third_party/linux/sysroot
/third_party/lss/lss
/third_party/gyp/gyp
/third_party/mini_chromium/mini_chromium
/third_party/ninja/linux
/third_party/ninja/mac*
/third_party/ninja/ninja.exe
/third_party/windows/clang/win-amd64
/third_party/zlib/zlib
/xcodebuild
tags
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "third_party/mini_chromium/mini_chromium"]
path = third_party/mini_chromium/mini_chromium
url = https://github.com/getsentry/mini_chromium.git
[submodule "third_party/zlib/zlib"]
path = third_party/zlib/zlib
url = https://chromium.googlesource.com/chromium/src/third_party/zlib
[submodule "third_party/lss/lss"]
path = third_party/lss/lss
url = https://chromium.googlesource.com/linux-syscall-support
3 changes: 2 additions & 1 deletion .gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017 The Crashpad Authors. All rights reserved.
# Copyright 2017 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,3 +13,4 @@
# limitations under the License.

buildconfig = "//build/BUILDCONFIG.gn"
script_executable = "python3"
2 changes: 1 addition & 1 deletion .style.yapf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020 The Crashpad Authors. All rights reserved.
# Copyright 2020 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions .vpython → .vpython3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 The Crashpad Authors. All rights reserved.
# Copyright 2022 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,8 +21,8 @@

# This is needed for snapshot/win/end_to_end_test.py.
wheel: <
name: "infra/python/wheels/pypiwin32/${vpython_platform}"
version: "version:219"
name: "infra/python/wheels/pywin32/${vpython_platform}"
version: "version:300"
match_tag: <
platform: "win32"
>
Expand Down
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ Opera Software ASA
Vewd Software AS
LG Electronics, Inc.
MIPS Technologies, Inc.
Darshan Sen <[email protected]>
Ho Cheung <[email protected]>
39 changes: 29 additions & 10 deletions BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017 The Crashpad Authors. All rights reserved.
# Copyright 2017 The Crashpad Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,10 @@ import("build/test.gni")
import("util/net/tls.gni")

config("crashpad_config") {
include_dirs = [ "." ]
include_dirs = [
".",
root_gen_dir,
]
}

if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
Expand All @@ -30,16 +33,37 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
"test:test_test",
"util:util_test",
]

data_deps = []

if (crashpad_is_in_chromium) {
data_deps += [ "//testing/buildbot/filters:crashpad_tests_filters" ]
}

if (!crashpad_is_ios && !crashpad_is_fuchsia) {
deps += [ "handler:handler_test" ]
}
if (crashpad_is_in_fuchsia) {
# TODO(fuchsia:46559): Fix the leaks and remove this.
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]

# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
# addressed.
exclude_toolchain_tags = [ "hwasan" ]
}
if (crashpad_is_android) {
use_raw_android_executable = true

# crbug.com/418874703 - This is a workaround to propagate the data deps to
# //:crashpad_tests__dist for Android build.
data_deps += [
"snapshot:crashpad_snapshot_test_both_dt_hash_styles",
"snapshot:crashpad_snapshot_test_module",
"snapshot:crashpad_snapshot_test_module_large",
"snapshot:crashpad_snapshot_test_module_small",
"test:crashpad_test_test_multiprocess_exec_test_child",
]

copy("crashpad_test_data") {
testonly = true
sources = [
Expand All @@ -64,7 +88,7 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
if (crashpad_is_in_fuchsia) {
import("//build/components.gni")
fuchsia_test_component("crashpad-test-component") {
manifest = "test/fuchsia_crashpad_tests.cmx"
manifest = "test/fuchsia_crashpad_tests.cml"
deps = [
":crashpad-test-resources",
":crashpad_tests",
Expand All @@ -81,8 +105,8 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
test_components = [ ":crashpad-test-component" ]

deps = [
"//src/connectivity/network/dns:component-legacy",
"//src/connectivity/network/netstack:component-legacy",
"//src/connectivity/network/dns:component",
"//src/connectivity/network/netstack:component",
]

test_specs = {
Expand Down Expand Up @@ -118,11 +142,6 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
deps = _resources
}

fuchsia_shell_package("crashpad-database-util") {
package_name = "crashpad_database_util"
deps = [ "tools:crashpad_database_util" ]
}

group("tests") {
testonly = true

Expand Down
Loading