Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
383 commits
Select commit Hold shift + click to select a range
dee16d9
dwarf_cu_to_module_unittest: remove expectation
gburgessiv Jun 27, 2022
2e16143
Added a missing dependency on android/google_breakpad/Android.mk
priettt Jun 24, 2022
ae1530a
update autotool minimum versions
vapier Jun 29, 2022
5931962
regen autotools
vapier Jun 29, 2022
f9fcba8
simplify enable & with configure flags
vapier Jun 29, 2022
3e2a341
Handle abbrev entities being out of order.
kmandrika Jun 30, 2022
90a0d9a
configure: support rustc-demangle installations in the sysroot
gburgessiv Jun 30, 2022
c161459
dwarf2reader: include <algorithm>
gburgessiv Jul 3, 2022
4d7cd09
exploitability: fix buffer overflow
gburgessiv Jul 11, 2022
9a1941f
crashdump_uploader: fix memory leaks & use-after-frees
gburgessiv Jul 11, 2022
4b7984b
stabs_to_module: fix memory leak
gburgessiv Jul 11, 2022
0b1ffaa
module_unittest: fix memory leak
gburgessiv Jul 11, 2022
e9057e2
stackwalker_mips64_unittest: default-init MIPS context
gburgessiv Jul 12, 2022
eb087c3
exploitability_linux: fix mismatched comparison warning
gburgessiv Jul 12, 2022
335e616
{static_,}range_map: fix overflows under ubsan
gburgessiv Jul 13, 2022
891ed2e
Merge remote-tracking branch 'origin/main' into meta/update-handler
Swatinem Jul 18, 2022
d20be67
Merge pull request #29 from getsentry/meta/update-handler
Swatinem Jul 18, 2022
e467c59
Adds fastfail subcodes as distinct failure reasons
quidity Jul 19, 2022
afc8daa
arm64: don't interpret DW_CFA_GNU_window_save
Jul 22, 2022
86ea554
Mac dump_syms: Fix -a on arm64
speednoisemovement Jul 26, 2022
defdcb7
arm64: strip PACs from return addresses found from CFI
Jul 27, 2022
7e4ea04
Add error messages on pdb Open function
thundron Aug 10, 2022
f1f7b52
Check sh_type for symbol table and finish ProcessDIEs if any DIE proc…
ZequanWu Aug 10, 2022
c44d14a
Fix garbage header being prepended to native symbol uploads.
Aug 10, 2022
a7a8b9c
Fix int64_t format in fprintf by using PRIx64.
ZequanWu Aug 11, 2022
e085b3b
Fix -Wdeprecated-declarations when macOS 13 SDK is used.
Aug 12, 2022
cb55d48
Add product name metadata to converter and symupload.
Aug 10, 2022
46e00d3
fix includes
Aug 29, 2022
5d6d250
Update LSS dep to the last commit
GlassOfWhiskey Sep 6, 2022
30c7f3c
Fix some Coverity defects.
leizleiz Sep 6, 2022
e69677e
Added crash context float state flag
GlassOfWhiskey Sep 7, 2022
00f7601
Fix fread() check in ExploitabilityLinux.
leizleiz Sep 7, 2022
4febb34
Update copyright boilerplate, 2022 edition (Breakpad)
markmentovai Sep 7, 2022
e059dad
Polling in ParallelChildCrashesDontHang test
GlassOfWhiskey Sep 8, 2022
28cf16b
Added riscv and riscv64 support for Linux
GlassOfWhiskey Sep 9, 2022
00eb7f2
Merge remote-tracking branch 'upstream/main' into meta/update-handler
supervacuus Sep 14, 2022
caba8b9
Merge pull request #30 from supervacuus/meta/update-handler
Swatinem Sep 15, 2022
e3af445
Clean up module_unittest
speednoisemovement Sep 22, 2022
bcffe4f
test: exploitability: Fix preprocessor guards for Linux
ePirat Sep 30, 2022
6289830
Add DisassemblerObjdump.
c01db33f Oct 7, 2022
57d1743
Fixup non-canonical fault addresses for amd64.
c01db33f Oct 7, 2022
ef443fb
Changes FunctionNames.Mangled to check for regex instead of equality
cjdb Oct 12, 2022
f9bf260
enables C++17 mode
cjdb Oct 14, 2022
b90119e
replaces `sizeof(raw_context)` with `sizeof(*raw_context)`
cjdb Oct 17, 2022
659aad4
fix: Uninstall signal handler after one invocation (#9)
Swatinem Mar 3, 2021
7333f38
fix: Remove unused CI jobs (#25)
Swatinem Dec 10, 2021
f641fe3
fix: Use signal numbers as defined in signal.h (#24)
Swatinem Dec 10, 2021
53e7ed8
fix: Hopefully use the correct defines to check for signal.h
Swatinem Dec 10, 2021
21504c0
Merge pull request #31 from supervacuus/meta/update-handler
Swatinem Oct 18, 2022
e406f0b
fix: remove close pr workflow (#32)
supervacuus Oct 19, 2022
73c2937
Update LSS dep to the latest commit
Oct 19, 2022
7ea7ded
mainline version gcc-13 cannot use "uintptr_t" via "#include <string>"
Oct 19, 2022
de086a9
Add support for compressed section headers to dump_syms.
kmandrika Oct 26, 2022
1f9903c
names anonymous structs in elfutils.h
cjdb Oct 27, 2022
989f862
Support marking folded symbols on Posix
speednoisemovement Sep 23, 2022
442456a
Fix compile error in disassembler_objdump.cc for non-Linux build.
leizleiz Nov 11, 2022
522bd23
Speed up testing for multiple functions at an address on Posix
speednoisemovement Nov 17, 2022
c7acbce
Fix Windows native symbol uploads.
Nov 18, 2022
4d0c21b
Add a flag to google_converter to keep Breakpad/PE/PDB files after co…
Nov 18, 2022
41474d9
Fix Linux ASan Afl build error.
c01db33f Nov 22, 2022
9aa786f
Restructure Makefile conditionals/targets
ePirat Sep 30, 2022
87b6039
Mac: add option to dump_syms to mark folded symbols
speednoisemovement Dec 1, 2022
d31ce76
gyp: drop unused build system
vapier Nov 24, 2022
cc7abac
Add option to enable multiple symbol field in Linux tool
speednoisemovement Dec 8, 2022
9acaa08
Fix build failures.
ZequanWu Dec 12, 2022
8ad645f
Merge branch 'main' of github.com:google/breakpad into meta/update-ha…
supervacuus Dec 12, 2022
33b8438
Remove tools/mac/crash_report
speednoisemovement Dec 14, 2022
387a002
Add option to use API key in `upload_system_symbols`
speednoisemovement Dec 14, 2022
6b7e8a8
Mac dump_syms: delete unused WriteSymbolFile
speednoisemovement Nov 3, 2022
63af0cd
Cleanup strncmp and use string_view in elf_reader.cc.
ZequanWu Dec 15, 2022
80430d7
upload_system_symbols: Fix sym-upload-v2 when uploading dumped symbols
speednoisemovement Dec 15, 2022
53abd91
Merge pull request #33 from supervacuus/meta/update-handler
Swatinem Dec 16, 2022
b14bb95
Handle compressed DWARF data in LoadDwarfCFI
ianby Dec 20, 2022
6e03dc0
Fix test breakage from 9aa786f
ianby Dec 23, 2022
79326eb
Fix memory leak in Module::AddExtern
ianby Dec 29, 2022
d91b6cb
upload_system_symbols: Don't retry if file already exists on the server
speednoisemovement Dec 21, 2022
1eafed6
Fix more memory leaks with proper smart pointer usage
ianby Dec 30, 2022
bae7147
Decode Mach EXC_RESOURCE and EXC_GUARD exception reasons
rsesek Jan 17, 2023
934d6b2
upload_system_symbols: Make /System/Library/Components optional
speednoisemovement Jan 18, 2023
dd0ca9d
Mac dump_syms: work around NXFindBestFatArch bug
speednoisemovement Jan 18, 2023
b024566
Fix Cygwin builds after enabling c++17 mode.
leizleiz Dec 1, 2022
fc1a202
Add address mask to MinidumpCrashpadInfo.
strangewiz Jan 20, 2023
2c86c99
Use portable PRIu64 for printing uint64_t address_mask.
strangewiz Jan 20, 2023
a4f148b
Add support for reading annotation objects in Crashpad modules
Jan 25, 2023
236743e
Update LICENSE file.
strangewiz Jan 27, 2023
bae713b
LibcurlWrapper uses curl_global_cleanup
Jan 25, 2023
95857a1
Mac: add shell script to coordinate dumping and uploading macOS syste…
speednoisemovement Jan 30, 2023
f617814
Remove disassembler_objdump from the build on non-linux platforms.
c01db33f Jan 30, 2023
9a87ff6
Add ScopedTmpFile.
c01db33f Jan 30, 2023
5daa419
Add ScopedPipe.
c01db33f Jan 30, 2023
38115b0
Refactor DisassemblerObjdump.
c01db33f Jan 30, 2023
bc25ffb
Change CLANG_CXX_LANGUAGE_STANDARD from "c++0x" to "c++17".
hiroyuki-komatsu Feb 6, 2023
5687ac5
Fix Mac build
speednoisemovement Feb 7, 2023
78cdc72
Merge branch 'main' of github.com:google/breakpad into handler
supervacuus Feb 8, 2023
0878ec1
Merge pull request #34 from supervacuus/meta/update-handler
supervacuus Feb 8, 2023
5f72a81
[linux] Report error message if failed to send http request
linxinan-chops Feb 11, 2023
984e043
Print Crashpad annotation objects
Feb 16, 2023
abb105d
Fix sprintf usage
Feb 16, 2023
f5123d7
Add #include <config.h> to the beginning of all cc files
ianby Feb 24, 2023
ef55207
Mac: stop using NXArchInfo as a vocabulary type
speednoisemovement Mar 9, 2023
3848d7e
Mac: delete unused macho_dump.cc
speednoisemovement Mar 10, 2023
309534f
Add brief flag to minidump_stackwalk
Mar 15, 2023
9bf8d1e
Remove extra comma in minidump_stackwalk.cc
Mar 16, 2023
9cc38fe
[dump_syms/Mac] New -n MODULE arg to Mac dump_syms
bhamiltoncx Mar 20, 2023
c179dda
Mac: don't call NXFindBestFatArch
speednoisemovement Mar 13, 2023
b0dc1f3
Add EM_RISCV as recognized value for ELF e_machine
thomasgales Mar 28, 2023
4d8bb33
Add RISC-V register names
thomasgales Mar 28, 2023
f6e4235
Add maxsize for xstate areas
quidity Mar 28, 2023
b1775c5
Convert RISC-V numeric identifiers to strings
thomasgales Apr 11, 2023
bd9d94c
Set O_NONBLOCK for opening file to prevent hanging when file unavaila…
Apr 17, 2023
16cee17
Fix alignment of the brief output of minidump_stackwalk
Apr 21, 2023
f548d75
[dump_syms/Mac] New -x option to prefer extern names when there's a m…
bhamiltoncx Apr 21, 2023
bfde407
[dump_syms] Relax name matching for marking symbols as multiple
bhamiltoncx Apr 24, 2023
7b981b2
Replace unsigned int with size_t for ModuleSerializer
pbos Apr 26, 2023
652e7da
Update Mac Headers
speednoisemovement Apr 26, 2023
57bed07
Mac: update arch_utilities for macOS 13
speednoisemovement Apr 27, 2023
68f5a4d
Fix AMD64/X86 typo in MD_CONTEXT_AMD64_ALL
bungeman Apr 26, 2023
de040fa
minidump-2-core: Use exception context for crashed thread
bungeman Apr 25, 2023
dc2e441
Merge branch 'main' of github.com:google/breakpad into meta/update-ha…
supervacuus May 1, 2023
99cd657
Reimport architecture/byte_order.h from canonical repo
speednoisemovement May 1, 2023
e9eb843
Fix dump_syms help typo on Linux
pbos May 2, 2023
3ea3af4
Include iOS in availability checks for mach-o/util.h calls
speednoisemovement May 2, 2023
6e319ca
Fix MDRawModuleCrashpadInfoList::modules type
bungeman May 3, 2023
837b0f5
Fix MDRawCrashpadAnnotationList::objects type
bungeman May 3, 2023
94d6b3e
Merge branch 'main' of github.com:google/breakpad into meta/update-ha…
supervacuus May 4, 2023
3b8e9be
Merge pull request #35 from supervacuus/meta/update-handler
Swatinem May 4, 2023
5b10154
[dump_syms][riscv] Fix register name mismatch
thomasgales May 4, 2023
9a1f2eb
fix: statically check arch API compatibility
supervacuus May 5, 2023
250c6bc
In case we use the mach-o API, also check at runtime
supervacuus May 8, 2023
ba07f4c
Merge pull request #36 from supervacuus/fix/check_arch_api_compatibil…
supervacuus May 8, 2023
f4a3b34
[dump_syms][riscv] Update unittest.
c01db33f May 8, 2023
463ae7c
Add new flag to allow granular control over the use of objdump.
c01db33f May 9, 2023
5850e26
Modernize code
leizleiz May 12, 2023
38b6eeb
Mac: shorten sym file names in upload_system_symbols
speednoisemovement May 18, 2023
9f96d5c
Fix inline_origin_map key collision when split dwarf is enabled.
ZequanWu May 18, 2023
8267ac6
Fix minidump generation on arm softfp targets.
May 19, 2023
64a53c1
Modify RISCV minidump context to match Crashpad
thomasgales May 22, 2023
6857c7c
Properly initialize enable_objdump_for_exploitability_
c01db33f May 23, 2023
02fe1ee
Fix reading DW_AT_ranges in split dwarf.
ZequanWu May 25, 2023
18aa6fa
[Breakpad] Fix hex formatting for MinidumpCrashpadInfo::Print()
bhamiltoncx May 26, 2023
a9bb984
Share .debug_line and .debug_line_str among dwp file and main binary …
ZequanWu May 31, 2023
8988364
Fix bug when ranges_data is index 0 in DW_AT_ranges.
ZequanWu Jun 1, 2023
7a1a190
Fix warnings in configure.ac
Zebra345 Jul 6, 2023
9ea5b22
Add support for zstd compressed sections to dump_syms
ianloic Jul 26, 2023
0d03544
libdisasm: Widen STRNCATF temp buffer
Zebra345 Jul 19, 2023
d10ef76
linux_dumper: Always map ELF file from offset 0
Zebra345 Aug 1, 2023
8f6b252
Add support for new SEGV_* constants to minidump_stackwalk.
pcc Jul 27, 2023
922d49b
Update scripts to Python 3
petrhosek Aug 6, 2023
e35d1d0
Fix -Wunguarded-availability warnings.
Aug 24, 2023
f49c2f1
The ARM64 stack walker was doing an illegal down cast from base-class…
Sep 6, 2023
eb28e7e
Merge branch 'main' of github.com:google/breakpad into meta/update-ha…
supervacuus Oct 2, 2023
b99f444
Merge pull request #38 from getsentry/meta/update-handler
supervacuus Oct 2, 2023
11ec9c3
Fix stack walking using StackwalkerAddressList.
c01db33f Dec 5, 2023
ed1d564
Fixed high AddressType variable used without being assigned
nmoinvaz Dec 29, 2023
898a997
Fixed missing include for std::find_if.
nmoinvaz Dec 19, 2023
8e12576
Fixed opening minidump on Windows in MinidumpTest.TestMinidumpFromStream
nmoinvaz Jan 2, 2024
4462986
Disable ContextDeathTest on Windows due to regex support.
nmoinvaz Jan 2, 2024
048e14c
Add command line switch for reporting DWARF warnings.
nmoinvaz Jan 3, 2024
225ed91
Force dump_syms output to be checked out with LF line-ending.
nmoinvaz Jan 2, 2024
7fb7589
Allow breakpad to read extended x86 contexts
nmoinvaz Jan 3, 2024
83d9816
Fixed compilation if mach-o/utils.h is unavailable.
nmoinvaz Jan 3, 2024
062f712
Fixed arch_utilities.cc compilation for Linux.
nmoinvaz Jan 4, 2024
22f54f1
[dump_syms] Handle DW_TAG_lexical_block to caputre inline info inside.
ZequanWu Jan 5, 2024
62ecd46
Mac: teach upload_system_symbols to extract installers and IPSWs
speednoisemovement Jan 11, 2024
255dbbd
Fixing a buffer overflow in the Breakpad symbol serialization code ca…
Jan 11, 2024
2481554
Regenerate Makefile.in for zstd dependency
ianloic Jan 16, 2024
38365ae
Process symbols provided by NV Access
GregTho Jan 17, 2024
6551ac3
Fix uninitialized report_warnings in Mac dump_syms
pbos Jan 29, 2024
5a0e1e3
linux_ptrace_dumper: Handle ARMEABI binaries on ARM64 kernels
riazantsev Jan 30, 2024
38ac9ae
linux_ptrace_dumper: Fix type definition
riazantsev Jan 30, 2024
6b871f4
Code cleanup for DwarfCUToModule::NullWarningReporter changes.
nmoinvaz Feb 5, 2024
55036dd
Mac: Installer extraction bug fixes
speednoisemovement Feb 13, 2024
f80f288
Fixing integer overflows in Breakpad Processor map/range code.
Feb 16, 2024
a116906
Fix bad pointer comparison
speednoisemovement Feb 16, 2024
b48a2d4
Fix string format specifier
speednoisemovement Feb 16, 2024
f032e4c
Addressing a potential integer underflow in minidump.cc and stackwalk…
Feb 21, 2024
26666b8
Check for failed seek when skipping x86 xstate data
nmoinvaz Mar 9, 2024
76788fa
Print better error messages in parts of CompilationUnit
leizleiz Mar 12, 2024
a86123f
Fix some undefined behavior
Mar 19, 2024
e5dc1f8
Reduce logging during minidump processing
Mar 27, 2024
a8a43ba
Prefer to use .note.gnu.build-id section as ElfBuildId
simpleton Apr 17, 2024
f88a1aa
Use zlib's uncompress() to uncompress headers
kmandrika Apr 24, 2024
6fe410d
Adds a Flag to Perserve Address Offset in dump_syms
May 7, 2024
54986d3
Adds a custom Module ID flag to dump_syms
May 8, 2024
417f5db
preserve NT_FILE note converting md to core
jacohint May 2, 2024
9dd7d34
Add error handling for common failure case seen processing debug symbols
tyrelrussell May 23, 2024
69f9a4e
Fix format string for uint64_t and size_t data.
tyrelrussell May 23, 2024
527331a
Wait for SIGSTOP during attach, reinjecting unrelated signals
m-kurbanov May 31, 2024
c8318f0
ARM: use r11 as frame pointer during stack unwind
Jun 17, 2024
e0a3a76
Allows setting maximum number of threads to process.
Jun 18, 2024
63c61b6
handle write failure in minidump-2-core
jacohint May 14, 2024
8470d39
Support large files in the Windows variant of HTTPUpload
GregTho Jul 3, 2024
9ad37ad
[Windows] Improve diagnostic logging in HTTPUpload
GregTho Jul 5, 2024
5b748cb
[symupload] Fix malformed Content-Type header
GregTho Jul 8, 2024
2c5ac8a
[symupload] Log details to stderr on failure
GregTho Jul 8, 2024
466cc92
[symupload] Upload compressed symbol files on Windows
GregTho Jul 12, 2024
7f3ccb7
[Windows] PDBSourceLineWriter improvements
GregTho Jul 8, 2024
0c9811d
Adds NDS32 Architecture Support to dump_syms
Jul 17, 2024
8181954
[windows] Include-what-you-use fixes in http_upload.{cc,h}
GregTho Jul 18, 2024
ee94d7f
[windows] Silence MSVC warning C4100 when building without zlib support
GregTho Jul 24, 2024
680014b
upload_system_symbols: break into go packages
Jul 25, 2024
1420017
Revert "[windows] Silence MSVC warning C4100 when building without zl…
Jul 26, 2024
eb6b3f8
Adds Support for EC Zephyr Binaries
Jul 29, 2024
6b0c5b7
[windows] Silence MSVC warning C4100 when building without zlib support
GregTho Aug 8, 2024
8668fce
Fix bugs with alternative section naming on mac, and unpropagated
andrewbrook Sep 4, 2024
e92bea3
[windows] dump_syms - Support ARM64 PDB
Liryna Sep 4, 2024
1cbd9eb
dwarf: fix missing include for exit()
Oct 28, 2024
a70e77e
Print additional argument that describes the crash
0xZOne Oct 29, 2024
f8d05a9
Fix the compilation error
0xZOne Oct 30, 2024
47f7823
Revert "[windows] dump_syms - Support ARM64 PDB"
Oct 30, 2024
c6ec710
win: include stdlib.h for mbstowcs_s, wcstombs_s
nico Nov 13, 2024
1db382f
Fix #includes
markmentovai Nov 14, 2024
43812d6
feat: provide exception's thread-context to the handler on macOS (#39)
saf-e Nov 20, 2024
ecff426
feat: allow build to target Xbox Scarlett (#40)
supervacuus Nov 21, 2024
02dd5c3
Upload system symbols: ensure dumped breakpad filenames are unique
speednoisemovement Dec 2, 2024
0dfd774
add missing includes for the build with use_libcxx_modules
Dec 16, 2024
69621cb
convert random NULL usage to nullptr
vapier Jan 15, 2025
feea0f7
use const string& in more places to avoid unnecessary copy constructors
vapier Jan 15, 2025
41b6533
use std::move with vector insertions
vapier Jan 15, 2025
4fe678e
linux: fix crash process not being dumpable on SIGABRT in Android
simpleton Jan 30, 2025
c36c4e6
Revert "ARM: use r11 as frame pointer during stack unwind"
mspang Mar 6, 2025
8c3a096
scoped_ptr.h: delete unused scoped_ptr_malloc API
vapier Mar 12, 2025
f48360c
minidump: force string copy with unique_ptr
vapier Mar 12, 2025
d38dce0
scoped_ptr.h: replace scoped_ptr with an alias to std::unique_ptr
vapier Mar 12, 2025
2c73630
lss: update to latest version
vapier Feb 25, 2025
87b8e45
increase C++ standard to 20
vapier Mar 12, 2025
5fa919e
gtest: update to v1.16.0 release
vapier Mar 19, 2025
eebe87c
Revert "Print additional argument that describes the crash"
vapier Mar 19, 2025
3dc19ab
scoped_ptr.h: switch to std::unique_ptr
vapier Mar 12, 2025
f7c75d3
OWNERS: allow autoroller to push DEPS updates
vapier Mar 21, 2025
6ad2c40
migrate to nullptr
vapier Mar 19, 2025
3053b65
add missing assert.h includes
vapier Mar 24, 2025
10fc52d
mark unreachable code
vapier Mar 24, 2025
9d80200
switch to standard C++ fallthrough attribute
vapier Mar 24, 2025
6290b99
fix some invalid uses of nullptr
vapier Mar 24, 2025
657a441
fix some more invalid uses of nullptr
vapier Mar 24, 2025
884742b
upload_system_symbols: use full path to PlistBuddy
speednoisemovement Apr 1, 2025
232a723
upload_system_symbols: installer extraction bug fixes
speednoisemovement Apr 9, 2025
b319c12
Mac installer extraction: check payload extract error
speednoisemovement May 2, 2025
9eeece2
upload_system_symbols: add option to separate symbols by architecture…
speednoisemovement May 9, 2025
fad8247
fix: build with LLVM Clang 20
sergio-nsk May 2, 2025
2625edb
Improve computing of aligned values: do it with PageAllocator::AlignUp()
sergio-nsk Mar 20, 2025
8f1914e
Add missing includes for the build with use_libcxx_modules
Jun 9, 2025
9d1f417
fix(build): Remove libdis namespace to fix C++ module import error
Jun 12, 2025
5d5463f
Merge branch 'main' of https://chromium.googlesource.com/breakpad/bre…
JoshuaMoelans Jun 13, 2025
62abdcf
Include AvailabilityMacros for MAC_OS_X_VERSION_MAX_ALLOWED
JoshuaMoelans Jun 13, 2025
7fbf890
Merge pull request #41 from getsentry/chore/update_2025_06_13
JoshuaMoelans Jun 16, 2025
9b60671
feat: allow build to target Xbox One (#42)
jpnurmi Jul 3, 2025
25b6b72
fix(win): dynamically size minidump_path in handler instead of using …
supervacuus Oct 20, 2025
47d7032
chore: Add `README.getsentry.md` for Sentry modifications to Breakpad…
JoshuaMoelans Nov 14, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/processor/testdata/*.out text eol=lf
17 changes: 0 additions & 17 deletions .github/mistaken-pull-closer.yml

This file was deleted.

73 changes: 73 additions & 0 deletions .github/workflows/build-test-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# GitHub actions workflow.
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions

name: Build+Test CI

on:
push:
branches: [main]

schedule:
# The GH mirroring from Google GoB does not trigger push actions.
# Fire it every other day to provide some coverage. This will run ~8 AM PT.
- cron: '39 3 */2 * *'

# Allow for manual triggers from the web.
workflow_dispatch:

jobs:
autotools:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
cc: gcc
cxx: g++
- os: ubuntu-latest
cc: clang
cxx: clang++
- os: macos-latest
cc: clang
cxx: clang++
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}

steps:
- name: System settings
run: |
set -x
$CC --version
$CXX --version
getconf _NPROCESSORS_ONLN
getconf _NPROCESSORS_CONF
true

- name: Checkout depot_tools
run: git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git ../depot_tools

- name: Checkout breakpad
run: |
set -xe
PATH+=:$PWD/../depot_tools
gclient config --unmanaged --name=src https://github.com/${{ github.repository }}
gclient sync --no-history --nohooks

# First build & test in-tree.
- run: ./configure --disable-silent-rules
working-directory: src
- run: make -j$(getconf _NPROCESSORS_CONF)
working-directory: src
- run: make -j$(getconf _NPROCESSORS_CONF) check VERBOSE=1
working-directory: src
- run: make -j$(getconf _NPROCESSORS_CONF) distclean
working-directory: src

# Then build & test out-of-tree.
- run: mkdir -p src/build/native
- run: ../../configure --disable-silent-rules
working-directory: src/build/native
- run: make -j$(getconf _NPROCESSORS_CONF) distcheck VERBOSE=1
working-directory: src/build/native
43 changes: 43 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# GitHub actions workflow.
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions

# https://scan.coverity.com/projects/google-breakpad
name: Coverity Scan

on:
push:
branches: [main]

schedule:
# The GH mirroring from Google GoB does not trigger push actions.
# Fire it once a week to provide some coverage.
- cron: '39 2 * * WED'

# Allow for manual triggers from the web.
workflow_dispatch:

jobs:
coverity:
runs-on: ubuntu-latest
env:
CC: clang
CXX: clang++
steps:
- name: Checkout depot_tools
run: git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git ../depot_tools

- name: Checkout breakpad
run: |
set -xe
PATH+=:$PWD/../depot_tools
gclient config --unmanaged --name=src https://github.com/${{ github.repository }}
gclient sync --no-history --nohooks

- run: ./configure --disable-silent-rules
working-directory: src

- uses: vapier/coverity-scan-action@v1
with:
command: make -C src -O -j$(getconf _NPROCESSORS_CONF)
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2014 Google Inc. All rights reserved.
# Copyright 2014 Google LLC
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# * Neither the name of Google LLC nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
Expand Down Expand Up @@ -69,15 +69,15 @@ config.h
/Makefile
stamp-h1

# Ignore GYP generated Visual Studio artifacts.
# Ignore generated Visual Studio artifacts.
*.filters
*.sdf
*.sln
*.suo
*.vcproj
*.vcxproj

# Ignore GYP generated Makefiles
# Ignore generated Makefiles
src/Makefile
*.Makefile
*.target.mk
Expand All @@ -89,4 +89,3 @@ src/Makefile
src/testing
src/third_party/lss
src/third_party/protobuf
src/tools/gyp
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

36 changes: 5 additions & 31 deletions DEPS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2010 Google Inc. All rights reserved.
# Copyright 2010 Google LLC
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
Expand All @@ -10,7 +10,7 @@
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# * Neither the name of Google LLC nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
Expand All @@ -36,49 +36,23 @@ deps = {
# Testing libraries and utilities.
"src/src/testing":
"https://github.com/google/googletest.git" +
"@4fe018038f87675c083d0cfb6a6b57c274fb1753",
"@v1.16.0",

# Protobuf.
"src/src/third_party/protobuf/protobuf":
"https://github.com/google/protobuf.git" +
"@cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac",

# GYP project generator.
"src/src/tools/gyp":
"https://chromium.googlesource.com/external/gyp/" +
"@324dd166b7c0b39d513026fa52d6280ac6d56770",

# Linux syscall support.
"src/src/third_party/lss":
"https://chromium.googlesource.com/linux-syscall-support/" +
"@fd00dbbd0c06a309c657d89e9430143b179ff6db",
"@ed31caa60f20a4f6569883b2d752ef7522de51e0",
}

hooks = [
{
# Keep the manifest up to date.
"action": ["python", "src/src/tools/python/deps-to-manifest.py",
"action": ["src/src/tools/python/deps-to-manifest.py",
"src/DEPS", "src/default.xml"],
},
]

hooks_os = {
'win': [
{
# TODO(chrisha): Fix the GYP files so that they work without
# --no-circular-check.
"pattern": ".",
"action": ["python",
"src/src/tools/gyp/gyp_main.py",
"--no-circular-check",
"src/src/client/windows/breakpad_client.gyp"],
},
{
# XXX: this and above should all be wired into build/all.gyp ?
"action": ["python",
"src/src/tools/gyp/gyp_main.py",
"--no-circular-check",
"src/src/tools/windows/tools_windows.gyp"],
},
],
}
13 changes: 13 additions & 0 deletions DIR_METADATA
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Metadata information for this directory.
#
# For more information on DIR_METADATA files, see:
# https://source.chromium.org/chromium/infra/infra/+/HEAD:go/src/infra/tools/dirmd/README.md
#
# For the schema of this file, see Metadata message:
# https://source.chromium.org/chromium/infra/infra/+/HEAD:go/src/infra/tools/dirmd/proto/dir_metadata.proto

monorail {
project: "google-breakpad"
}

team_email: "[email protected]"
Loading