Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/electron/crashpad

Electron fork of crashpad
https://github.com/electron/crashpad

Revert "Switch CQ to use the new swarmbucket (LUCI) builders."

This reverts commit a06ca92083f517843b05a0047d14c57002f417c1.

Reason for revert: Roll back to b...

1d443b822364f26df16f43f1fb7007d61c9111c9 authored over 7 years ago by Dirk Pranke <[email protected]>
Fix Doxygen usage in util/misc/lexing.h

Change-Id: Ifdef347426655df2ab54aed0eec0cfbe4bbd7cb1
Reviewed-on: https://chromium-review.google...

c332e7ffdab60989cd47111b4958b074b44c1a39 authored over 7 years ago by Mark Mentovai <[email protected]>
#include "build/build_config.h" where necessary

Change-Id: I982ec4f7a87fa92925d22267f948df6ca5febea7
Reviewed-on: https://chromium-review.google...

3a5837c7737900bbdfd77cffdd797a7a2d6c06d5 authored over 7 years ago by Mark Mentovai <[email protected]>
Switch CQ to use the new swarmbucket (LUCI) builders.

This updates the crashpad CQ config to use the builders
configured in https://chromium-review.go...

a06ca92083f517843b05a0047d14c57002f417c1 authored over 7 years ago by Dirk Pranke <[email protected]>
Fix Windows build after 8f0636288a0e

Clang, GCC, and MSVS 2017 were fine with a “constexpr” definition
corresponding to a class-scope...

b653f861532117050c155a213d1fb7be7ba1f450 authored over 7 years ago by Mark Mentovai <[email protected]>
Use constexpr at namespace scope

This is essentially based on a search for “^const .*=”.

Change-Id: I9332c1f0cf7c891ba1ae373dc53...

8f0636288a0eda130bb9e73860524a97bd0305e6 authored over 7 years ago by Mark Mentovai <[email protected]>
Use constexpr at function scope

This is essentially based on a search for “^ *const [^*&]*=[^(]*$”

Change-Id: Id571119d0b9a64c6...

6dac7ecdf58e90aec482d0f4fbffb814982a2857 authored over 7 years ago by Mark Mentovai <[email protected]>
mac handler: Record the number of open files in the handler process

The "file-limit" annotation has shown that the system as a whole is not
likely to be out of file...

7e6a0145b17baae9d468517fe2711e22647c7ef9 authored over 7 years ago by Mark Mentovai <[email protected]>
Standardize on static constexpr for arrays when possible

This uses “static” at function scope to avoid making local copies, even
in cases where the compi...

281be63d0074c822a56382452e8c7259e4e301ad authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Collect CPU times in ProcStatReader and use in ProcessReader

Bug: crashpad:30
Change-Id: I6d4020220031670937acad12d0b7878c1ae0fae7
Reviewed-on: https://chrom...

01b347732e0e49f6fa08b0aab3d8ab90f9a3fd5d authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Sort alphabetically in util .gyp files

Bug: crashpad:30
Change-Id: Iea992cd9eef1029c046cb354f7c1c0173b6f0675
Reviewed-on: https://chrom...

90e4649f0dfaf3f84c242c770b3bfd8d1d915f58 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Refactor reading start time from the stat file

Bug: crashpad:30
Change-Id: Ie8137db2a5b6f2d4947df108d1fb5bdd9f8ab391
Reviewed-on: https://chrom...

9299d409ab0a9fe5e55e49299800d85d02def192 authored over 7 years ago by Joshua Peraza <[email protected]>
Add ThreadSnapshotLinux

Bug: crashpad:30
Change-Id: Iee8eaecadc4b8d61d3975a79fbc7f80dbb39a134
Reviewed-on: https://chrom...

37f20f7b14003bc905e33664d7a4ba99f3e3a58d authored over 7 years ago by Joshua Peraza <[email protected]>
Add MemorySnapshotLinux

Bug: crashpad:30
Change-Id: Iddd100c3806178f6d20dd903e3f41926904696d4
Reviewed-on: https://chrom...

bde35ca918ba8598b691391fedf650287d1af6dc authored over 7 years ago by Joshua Peraza <[email protected]>
Add functions to convert native x86 contexts to Crashpad CPUContexts

Debug registers are currently initialized to 0 until methods are added
to ThreadInfo to collect ...

7be6b8ea1dede429e0f160ee39fa2ba34078b67e authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Add ProcessReader

ProcessReader is responsible for collecting information needed to build
a snapshot of the target...

6b5f139d88ce962b18d9de167d53b767744b27a4 authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Use PTRACE_GET_THREAD_AREA for x86 ThreadInfo.GetThreadArea

Linux supports TLS on x86 by allocating slots in the GDT, accessible
via the system calls get/se...

5536baff1392316eea68c6b2f94cdcdc890cbe9f authored over 7 years ago by Joshua Peraza <[email protected]>
linux: #include appropriate headers for ElfImageReader

Bug: crashpad:30
Change-Id: I749a3493ec6a76dac904b36676330c5e487f356d
Reviewed-on: https://chrom...

6ab73e0ad8ac9d72fee557bb021ba8e33864b905 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add DebugRendezvous to read dynamic linker data structures

Dynamic linkers use `struct r_debug` and `struct link_map` (defined in
`<link.h>`) to communicat...

041a50d75c4c74215b1952c38e18b34156a28171 authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Add MemoryMap::FindFileMmapStart

ELF executables and libraries may be loaded into memory in several
mappings, possibly with holes...

a79791969d0382cc2668f5823d22487a665ba325 authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Add ElfImageReader to read ELF images via ProcessMemory

Bug: crashpad:30
Change-Id: Id2a6a1868103b0f4374816e58aab365a977b010d
Reviewed-on: https://chrom...

4224be41d7d1938c61ce730c887209731c64faac authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Add ProcessMemoryRange to restrict memory reads to a range

Bug: crashpad:30
Change-Id: I0debf3b47d0f79c5c5397e5ad2faf760191381ec
Reviewed-on: https://chrom...

1c87c92932d05f613c385e6e6ac2ba7a2242b251 authored over 7 years ago by Joshua Peraza <[email protected]>
Update mini_chromium to ee67585e3115982282b86e210939ead1791e696d

ee67585e3115 linux: Switch between x86 and x86_64 with the target_arch
GYP variable...

13e8672410d8170fb509b1af2ebc2634e9648744 authored over 7 years ago by Mark Mentovai <[email protected]>
Enable x86 optimizations for zlib

These were intended to be enabled previously, but GYP uses “ia32” and
“x64” for x86 and x86_64, ...

3d6f7bcf90f5a27558c4c8cbab3bd2f00ad165aa authored over 7 years ago by Mark Mentovai <[email protected]>
Limit alignas to 64

Although GCC will silently accept larger alignments with
__attribute__((aligned())), it warn on ...

6823f6783082faee54da823623ad4a01edcd1865 authored over 7 years ago by Mark Mentovai <[email protected]>
doc: Update for NDK r15b

Change-Id: I5a9104d6dcfa74ce2aadd8f62dbef47e2d56d73f
Reviewed-on: https://chromium-review.google...

376cddee9eea5c0cf827893dc1c721956ef2ba9b authored over 7 years ago by Mark Mentovai <[email protected]>
android: Fix FloatContext::NativeFpxregs for x86 with unified headers

user_fxsr_struct is only used in traditional NDK headers. Unified
headers always use user_fpxreg...

a8493c9b3148654d4e885e2a09124f0adad9333e authored over 7 years ago by Mark Mentovai <[email protected]>
linux/android: Reenable util test, and enable snapshot test

107fb7631788 added the snapshot library as a dependency of
crashpad_util_test. Most of snapshot ...

f37b382687c0353785a94a993a6ac75198013720 authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Use trunc() from <math.h> instead of std::trunc()

This folow-up to d2d10d1dc8f3 is for compatibility with 32-bit Android
platforms using NDK API 1...

7819ecbed662061eadd60c543dafe54cd32930ca authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Use std::trunc() from <cmath> instead of trunc()

Change-Id: Ief90846020a4fea46e5008e8ddff5825d23ce8b9
Reviewed-on: https://chromium-review.google...

d2d10d1dc8f3e714b3e6e0776cc464862fe33fa4 authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Fix Semaphore::TimedWait wait time

TimedWait is implemented using `sem_timedwait` which waits until an
absolute time (time since th...

bf52da0f1bc1fddf55a8ca4fc7ba8f01d48c5f37 authored over 7 years ago by Joshua Peraza <[email protected]>
Fix Doxygen after 8c802aace407

Change-Id: I9fe34c0a0322f327e7a69c831b11daa1cf835324
Reviewed-on: https://chromium-review.google...

b42854dfe134bc53e64696073f3b17e33c64e4bc authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Provide a larger thread state buffer for AVX-512 on 10.13

Crashpad doesn’t use AVX-512, but when receiving replies to exceptions
forwarded to ReportCrash,...

c4f6ca3c6ac50fe4724c126518337972e778f133 authored over 7 years ago by Mark Mentovai <[email protected]>
Add ReinterpretBytes which does a checked, variable size bit cast

This renames and improves the VariableSizeBitCast helper from
util/linux/auxiliary_vector.* and ...

8c802aace4076bba2223666fff27373e24519eaf authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Collect fxsave instead of fsave in ThreadInfo

Bug: crashpad:30
Change-Id: Ib4abf0ad60b792c8241b28e6b5e47970fdfcf451
Reviewed-on: https://chrom...

d3e4f09742d60237965f8d069f8500b397fe4495 authored over 7 years ago by Joshua Peraza <[email protected]>
Remove compiler_specific.h #include from aligned_allocator.h

This was missed in Crashpad 8c35d92ae403. It syncs with Chromium
16289b3ef759.

Change-Id: I7e92...

63ccbd0e4c2fa9e1f69c0b1e5f4627ad66dcc4f1 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Accept modules in 10.13’s dyld shared cache

In 10.13, modules loaded from the dyld shared cache appear with __TEXT
segments that have a nonz...

890ad441b317ffdd676f4ab3b7f2ace402912095 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Update the process_types version of dyld_all_image_infos for 10.13

10.13 introduces two new fields to dyld_all_image_infos. Oddly, it
doesn’t put them in the “rese...

6108d2523297a7f3f0ea714b4e6229325f5396ce authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Handle _dyld_get_all_image_infos() not being available on 10.13

_dyld_get_all_image_infos() was only used in test code in Crashpad.

This addresses two related ...

107fb76317885000081ed9cefd6f9a3c504fb7b5 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Update cl_kernels workaround for macOS 10.13 (and later)

Since Apple closed https://openradar.appspot.com/20239912 without fixing
anything, it looks like...

2851e5cfc8619d9c9a87a84dcc8d36c106de9bdb authored over 7 years ago by Mark Mentovai <[email protected]>
mac: 10.13 SDK compatibility, adapt to x86_state_hdr changes

In the 10.12 SDK, x86_state_hdr from <mach/i386/thread_status.h> was
defined as:

struct x86_sta...

f8457977326f405517d246d395b17caca320d933 authored over 7 years ago by Mark Mentovai <[email protected]>
Use the C++11-standardized alignof instead of ALIGNOF

Use the standard alignas instead of ALIGNAS in cases where this is
possible too. It’s not curren...

8c35d92ae403b9eb7c93578b3209f4767b981e64 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add FindMappingWithName to MemoryMap

Bug: crashpad:30
Change-Id: I5e03dc14e3cd1e09ac45cba97922499ec48ea389
Reviewed-on: https://chrom...

1c0c305bc90def9442212020fa6a883aa3a07695 authored over 7 years ago by Joshua Peraza <[email protected]>
linux: Add AuxiliaryVector for reading other process' aux vectors

Bug: crashpad:30
Change-Id: Ief19be7d60decb17f159b3d740ac9d15a034b807
Reviewed-on: https://chrom...

8e2e805fa5b0091deecc56ea903fb534fefb19f0 authored over 7 years ago by Joshua Peraza <[email protected]>
Update mini_chromium to 606ff8a3

> git log --oneline ef0ded87..606ff8a3
606ff8a Remove base/memory/aligned_memory.*

Change-Id: I...

dbc229a2d7737acf38bcb67cae0cf386b7f37243 authored over 7 years ago by Scott Graham <[email protected]>
linux: Provide ThreadInfo to collect register sets with ptrace

ThreadInfo provides a uniform interface to collect register sets or
the thread-local storage add...

8fb23f2accf843d47d06304857e92b27fe2ff978 authored over 7 years ago by Joshua Peraza <[email protected]>
Upload to the production Chromium Gerrit instance, not the canary

Change-Id: Iad3bf52ba5f7babb1c6b3508fc034ab78949967d
Reviewed-on: https://chromium-review.google...

5ebd24e96ed2fea246c180ca278d5bf887f4c155 authored over 7 years ago by Mark Mentovai <[email protected]>
Fix comments identifying the source of module TimeDateStamp information

Change-Id: I164f0208db103410c3133a67a994a4f603ce1b27
Reviewed-on: https://chromium-review.google...

f53f2c84cc53b5f7dab8ecd7b2b43dcd063b5606 authored over 7 years ago by Mark Mentovai <[email protected]>
Rely on winsock2.h for timeval

Bug: crashpad:
Change-Id: Iee8ebfaf7c4a1e8e87fcfcbc6ee8a4529a2f7c52
Reviewed-on: https://chromiu...

7d56fd2386067a26878324ab48314e58e2b242ea authored over 7 years ago by Pierre-Antoine Manzagol <[email protected]>
Document who has access to the try server and commit queue

Drop the text recommending the PolyGerrit UI, since it is now the
default Gerrit UI.

Bug: chrom...

1969a5d7587b632335be2d083bed4c51ce29b6b1 authored over 7 years ago by Mark Mentovai <[email protected]>
Give group project-crashpad-tryjob-access access to the commit queue

Bug: chromium:717982
Change-Id: I826f7520409656f5f549a110895e46de111d17f4
Reviewed-on: https://c...

d9ca2ad21f311f29418fac133284ff31f8aeb20b authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Make fewer (but still a lot of) regions in MemoryMap’s test

The lots-of-regions tests in the MemoryMap test case were very
time-consuming, particularly in d...

dc60e106f332294eb143f85581f8dbe6b5d63246 authored over 7 years ago by Mark Mentovai <[email protected]>
Fix file descriptor/handle leak in LoggingReadEntireFile()

8af3203d811c introduced a resource leak.

Change-Id: Ia909eef39b6b772d8808dd6f5770c06add6467bc
R...

abbeffead98e57874fab3bba58906485edb89f7f authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Make MemoryMap retry when duplicates are detected

When the /proc/pid/maps file is not read atomically and the target
process is actively mapping m...

51779ce639564cf1cdd68d12565534bfbc1553a5 authored over 7 years ago by Joshua Peraza <[email protected]>
Add LoggingReadEntireFile for reading a file into a string

Change-Id: Ie07ef12131ef1d995aa78749091f3adacde75160
Reviewed-on: https://chromium-review.google...

8af3203d811c27c0e7d2f3fd96bbb41692211404 authored over 7 years ago by Joshua Peraza <[email protected]>
mac: Trigger a real SIGSYS on 32-bit x86 during tests

syscall(0) results in SIGSYS on x86_64, but not 32-bit x86. Choose a
high number as a nonexisten...

f03c7b2d8f5299b2689c7c945739bd2c4700c5e7 authored over 7 years ago by Mark Mentovai <[email protected]>
Use FromPointerCast<>() in many places where it makes sense

I opted to leave casts to types that were definitely the same size
alone. reinterpret_cast<uintp...

15103742e06e415cf8b88d1726dc321108fed4be authored over 7 years ago by Mark Mentovai <[email protected]>
Introduce FromPointerCast<>(), with defined sign/zero-extension behavior

Some of the new Linux/Android tests were failing in 32-bit code where
pointers were being casted...

984749479f569e7fb43d44aadc39dcc5d6090be0 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Fill a test file with zeroes instead of garbage in MemoryMapTest

Bug: crashapd:30
Test: MemoryMap.MapChild
Change-Id: I40cd1c3a1f37e7a9d0c344c50b79b15ae3842182
R...

ed8e637817b1e2302618509f440528d8af8a485c authored over 7 years ago by Mark Mentovai <[email protected]>
Tweak InitializationState tests that rely on undefined behavior

These tests:
- InitializationState.InitializationState
- InitializationStateDcheckDeathTest.De...

44e32fe1233dc949503a1d0f9d02004b7b5412f2 authored over 7 years ago by Mark Mentovai <[email protected]>
Update GYP to ffd524cefaad for MSVS 2017 (15)/C++ 14.1/C 19.10 support

aae1e3efb507 CQ config: add gerrit CQAbility verifier.
95da7665b1a3 [win-test] loosen win-driver...

f31459b266a4cd8c1cec536b9f3ee058216c07f6 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add MemoryMap to collect information about mapped memory regions

Bug: crashpad:30
Change-Id: Id11d549829bd1a956d31991d4b829a43ce5696aa
Reviewed-on: https://chrom...

4036e2c9d92c1cf626e8072c710ddcc83ad429b9 authored over 7 years ago by Joshua Peraza <[email protected]>
win: MSVS 2017 (15)/C++ 14.1/C 19.10 compatibility

Includes mini_chromium ef0ded8717340c9fe48e8e0f34f3e0e74d10a392.

1d2a024fdb1d android: Use _FIL...

fd8e2de0c502d507f7dbc01ab832b7657e0f96b2 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add CheckedLinuxAddressRange and make CheckedAddressRanges copyable

Bug: crashpad:30
Change-Id: Ied2b8659315c09c77054c0a5a82ac37284f27334
Reviewed-on: https://chrom...

2815dbdf8e053e90509c17e7dc7f7dd362d7e2be authored over 7 years ago by Joshua Peraza <[email protected]>
win handler: Move test targets to handler_test.gyp

Test: end_to_end_test
Change-Id: I1fb01e0a6e701c8ec3958b68e2665cd4348a2242
Reviewed-on: https://...

f487da4ff2c47a129e2f8f3a7e0c769b54e4585f authored over 7 years ago by Mark Mentovai <[email protected]>
win: Wrap test::ChildLauncher::Start() in ASSERT_NO_FATAL_FAILURE()

Test: crashpad_snapshot_test, crashpad_util_test, end_to_end_test
Change-Id: I09581521678fe3b083...

74fddc3fed2a983bc335b03cd94ed60cc9dbc908 authored over 7 years ago by Mark Mentovai <[email protected]>
win: Wrap TerminateProcess() to accept cdecl patches on x86

TerminateProcess(), like most of the Windows API, is declared WINAPI,
which is __stdcall on 32-b...

e04194afd91d4998b51f06214e71129da73e67a0 authored over 7 years ago by Mark Mentovai <[email protected]>
net: Update Blink source code references

The references to RFC 2388 §3 and RFC 2047 are removed. RFC 7578 has
replaced RFC 2388, and RFC ...

ffe4c1018c1b46ddf945261fe1c61f549ddc4fa9 authored over 7 years ago by Mark Mentovai <[email protected]>
mac handler: Record a file-limits annotation (temporarily)

The "file-limit" annotation will be used to confirm the theory that
certain crashes are caused b...

b8aaa22905308cc400f880006a84dddac834bd6b authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Tolerate dead names for reply ports in the exception handler server

Self-monitoring revealed this CHECK was being hit in the wild:

base::debug::BreakDebugger() ...

ddcc74f08f4f11acd1b025cb99b792666a63f0c4 authored over 7 years ago by Mark Mentovai <[email protected]>
Update mini_chromium to dc3d480305b27a5a1fb57f51a997529e00fed00b

2c1b54080cb2 android: Recognize Bionic’s semantics for strerror_r()
9a7a549b414d Terminate from ...

c64fd3f9b4d54fe88341edca1a830c4f18809dc3 authored over 7 years ago by Mark Mentovai <[email protected]>
Don’t attempt to do periodic tasks in a secondary crashpad_handler

76a67a37b1d0 adds crashpad_handler’s --monitor-self argument, which
results in a second crashpad...

8297b19a5e85d7c4a437b4601c7007bda8273758 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Support 4.10 format for empty Groups: lines in /proc/pid/status

The Groups: line unfortunately always had a trailing space, but Linux
4.10 takes this to a new l...

2ec34e32c2f402e637fc2494184b624246949503 authored over 7 years ago by Mark Mentovai <[email protected]>
Fix Doxygen warnings after 30385d4e4772

Bug: crashpad:167
Change-Id: Ia12abd5298e4a2a3822d6641ef9d19eb05c41f38
Reviewed-on: https://chro...

5d07d81458dc03572087ae1f80ffb022811b7706 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Prevent the same report from being uploaded multiple times

With multiple crashpad_handlers running out of the same database, it was
possible for more than ...

bc7c6e235d64526c693eab6499bb40f4e0d7cf28 authored over 7 years ago by Mark Mentovai <[email protected]>
designdoc: Add description of user data sources.

Bug: crashpad:167
Change-Id: I8c5032d6710ea828e354103743d34772fd083958
Reviewed-on: https://chro...

1f28a123a4c9449e3d7ddad4ff00dacd366d5216 authored over 7 years ago by Sigurdur Asgeirsson <[email protected]>
win: Free an old buffer before attempting to allocate a resized one

When GetProcessInformation() obtains SystemProcessInformation, it
resizes its buffer as directed...

79425e4d9737ebec7d7a932b03be9d21e279dae5 authored over 7 years ago by Mark Mentovai <[email protected]>
handler: Add user extensibility stream call-out.

Bug: crashpad:167
Test: Add crashpad_handler_test.
Change-Id: I79b0b71dc4f61e6dce6bc10083e2f924d...

30385d4e4772704625cc796331e63210e5cdb60f authored over 7 years ago by Sigurdur Asgeirsson <[email protected]>
linux: Use pread64() instead of pread() in ProcessMemory

This fixes ProcessMemory for 32-bit processes. All ProcessMemory tests
were failing on 32-bit AR...

a5d81370bedac7243d18924bd24bab36f1e0018a authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Fix crashpad_util_test ScopedPtraceAttach.* with the Yama LSM

When Yama is enabled and /proc/sys/kernel/yama/ptrace_scope is set to 1
(YAMA_SCOPE_RELATIONAL),...

e142aa87d663a95d1bbab41543aafce24eced707 authored over 7 years ago by Mark Mentovai <[email protected]>
Fix crashpad_util_test build with GCC after 4b450c813795

Change-Id: I968005ccb518f80c572d11d3443646cdb5de813e
Reviewed-on: https://chromium-review.google...

fd9f952393ea3d551f64bf9455a800c568b51924 authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add ScopedPtraceAttach to manage ptrace attachments

Bug: crashpad:30
Change-Id: Ic5fb5adaaea88e31068b65a3c0dfff65a2a94743
Reviewed-on: https://chrom...

9c6d190b9570aa464677e1a6aac2d9f95f9f4be2 authored over 7 years ago by Joshua Peraza <[email protected]>
win: Promote WinMultiProcessWithTempDir to test/win for reuse.

Bug: crashpad:167
Change-Id: I80a4a58246d479bceb7154f270f34380a65ebf6d
Reviewed-on: https://chro...

ab9c03f8827b667178f90dc23c13080c845a715f authored over 7 years ago by Sigurdur Asgeirsson <[email protected]>
posix: Add ScopedDIR for managing open directories

Change-Id: I9f1453db5e33e714c12ebeaaab25813a2b099de8
Reviewed-on: https://chromium-review.google...

46f403377367ee588fdaccc2291d4bfd555cfdbb authored over 7 years ago by Joshua Peraza <[email protected]>
handler: Reuse existing annotations SimpleStringDictionary if present

Bug: crashpad:143
Change-Id: I75a77adacd83febb7c363598bbc6d19c184b773d
Reviewed-on: https://chro...

b4095401639ebe2ad33169e5c1d994065cbff1b8 authored over 7 years ago by Mark Mentovai <[email protected]>
handler: Add --monitor-self-annotations

--monitor-self-annotations allows the Crashpad-using application to push
module-level annotation...

8f07f7481ab40fae038249a477b5bc9b1ef25ef2 authored over 7 years ago by Mark Mentovai <[email protected]>
win: Determine length of unloaded module names

Change-Id: I802b2a8a505cf53009c0c5648acdad7a44e9f0e7
Reviewed-on: https://chromium-review.google...

45305395ad872bfdd82f47f47591e6071165192e authored over 7 years ago by Joshua Peraza <[email protected]>
Add the --monitor-self argument to crashpad_handler

https://crbug.com/678959 added “fallback” crash reporting for
crashpad_handler on Windows, in a ...

76a67a37b1d01128ff21b900f49912753dc49d1e authored over 7 years ago by Mark Mentovai <[email protected]>
test: Use (actual, [un]expected) in gtest {ASSERT,EXPECT}_{EQ,NE}

gtest used to require (expected, actual) ordering for arguments to
EXPECT_EQ and ASSERT_EQ, and ...

4b450c8137954cd0bddd0705e6e9b8aaae8a388d authored over 7 years ago by Mark Mentovai <[email protected]>
linux: Add ProcessMemory which reads another process' memory

Provides Read, ReadCString, and ReadCStringSizeLimited. Does not provide
ReadMapped because Linu...

fa8ef92dc7f1a3e15a86c41e33b05cf1fa345650 authored over 7 years ago by Joshua Peraza <[email protected]>
“Promote” test::Paths::Executable() to Paths::Executable()

This supports the “double handler” or “double handler with low
probability” models from https://...

46883516231e3776ca68a97385366d19f1a2d521 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Remove obsolete comment about mach_msg_header_t::msgh_reserved

mig-generated server dispatch routines used to not clear this field in
reply messages prepared f...

c39e4dc9769e05c40e9802fa38df5e6d922ec048 authored over 7 years ago by Mark Mentovai <[email protected]>
posix: DCHECK for (addr + len) overflow in ScopedMmap::ResetAddrLen()

This also enhances ScopedMmapDeathTest.Mprotect to better ensure that
ScopedMmap::Mprotect() wor...

385fe6615f1197e0f2e46974e73b9e710f6e5496 authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Allow ScopedMmap::ResetAddrLen() to deal with overlap

It should be possible to shrink a region already supervised by
ScopedMmap, or in rare cases when...

aa2bc55777b96af325fe5071a8a58efe2e6a4ff5 authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Don’t accumulate zombies in ProcessInfo.Forked test

Use test::Multiprocess, which ensures that waitpid() is called to reap
child processes.

Previou...

1a6ae8ce0ba817dc4e000b0bce2b67743748b89c authored over 7 years ago by Mark Mentovai <[email protected]>
Convert generate_doxygen.sh to generate_doxygen.py

This makes it easier to generate Doxygen documentation on Windows.

Change-Id: I14c203d2618d8321...

3127026a95c1ee41b9131e6a16cf41a8b9ad486a authored over 7 years ago by Mark Mentovai <[email protected]>
posix: Add ScopedMmap for managing memory-mapped regions

This wraps mmap(), munmap(), and mprotect().

Bug: crashpad:30
Test: crashpad_util_test ScopedMm...

96dc950eaf2699d77a21bb9211ebf235b913b343 authored over 7 years ago by Mark Mentovai <[email protected]>
mac: Fix SystemSnapshotMacTest.TimeZone on macOS 10.12.4

macOS 10.12.4 includes an updated timezone database. Abbreviations for
Australia/Eucla (formerly...

d6837b2b869f43f7b7ae0050c545123c17eafa5c authored over 7 years ago by Mark Mentovai <[email protected]>
Remove BUG_LINE_FORMAT from codereview.settings

The Bug: style (a Gerrit footer) is used by git-cl for Gerrit changes as
of 3a16ed155e3f.

Bug: ...

449dfc4b5dc15a61acad73472238d2e60fd299f3 authored over 7 years ago by Mark Mentovai <[email protected]>
win: Be more careful about exit codes in end_to_end_test.py

This is like 270490ff79df, but for things run by end_to_end_test.py, and
things run for it by cr...

f14eda221fe73959b8a71d50448643e330df5976 authored over 7 years ago by Mark Mentovai <[email protected]>