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

Use `backticks` more uniformly in MachOImage*Reader Doxygen

documentation.

[email protected]

Review URL: https://codereview.chromium.org/574723002

84d9952ebf32109f32c2287d02d204554f4c648d authored over 10 years ago by Mark Mentovai <[email protected]>
Add ExceptionPorts and its test.

This is a unified interface to
{thread,task,host}_{get,set}_exception_ports().

TEST=util_test E...

8c8089dc7725f4cc843dd47625ce280234071911 authored over 10 years ago by Mark Mentovai <[email protected]>
Add exception_behaviors and its test.

This includes the functions ExceptionBehaviorHasState(),
ExceptionBehaviorHasIdentity(),
Excepti...

06d48e4b0a3db2ce331193303cf4f5505d88dccc authored over 10 years ago by Mark Mentovai <[email protected]>
Drop 10.5 support.

TEST=util_test
[email protected]

Review URL: https://codereview.chromium.org/575823002

850ec0657d6ac1a68409b82bd2372912399e1d3a authored over 10 years ago by Mark Mentovai <[email protected]>
Add SymbolicConstantsMach and its test.

TEST=util_test SymbolicConstantsMach.*
[email protected]

Review URL: https://codereview.chr...

e49510ab7ce3b24736979d38d84b7ddce8eaea05 authored over 10 years ago by Mark Mentovai <[email protected]>
Add exc_client_variants (UniversalExceptionRaise()) and its test.

This also puts kMachExceptionCodes into mach_extensions.h, because a
form of MACH_EXCEPTION_CODE...

1e7cdb30a04ced7cca62b6da3ac3a26a9ba981f2 authored over 10 years ago by Mark Mentovai <[email protected]>
gtest, gmock: pull older versions via DEPS that don’t require C++11

library support.

When building with support for Mac OS X 10.6, C++11 library support is
not avai...

b6a0183ccec78a13b1fb42a1a0298ef75f0520eb authored over 10 years ago by Mark Mentovai <[email protected]>
util_test MachMessageServer.ReturnCodeNoReply: keep the child alive

until the server is done handling its request.

In most tests, this is handled automatically beca...

b77c788543a1b6e8c6862ac8af35948d03ea1eff authored over 10 years ago by Mark Mentovai <[email protected]>
ExcServerVariants test: don’t test debug thread state flavors.

Kernel bugs prevent debug thread state flavors from being delivered to
exception handlers proper...

1990a6ca2a447a03dce2a4e15f910889097e427f authored over 10 years ago by Mark Mentovai <[email protected]>
10.6 SDK compatibility.

TEST=util_test MachOImageReader.* (and all others with a 10.6 SDK build)
[email protected]

...

ab4978b51eb7c8dd280eb17bdd17f5a7811467bb authored over 10 years ago by Mark Mentovai <[email protected]>
Add third_party/apple_cctools containing virgin upstream code.

getsectionbyname() and getsegmentbyname() do not exist prior to Mac OS X
10.7. These functions a...

24fc801715a7bf9c91f34623a9f845afad97e6d7 authored over 10 years ago by Mark Mentovai <[email protected]>
Add a MappedMemory interface to TaskMemory and use it in

MachOImageSymbolTableReader.

This results in a speed boost for MachOImageSymbolTableReader becau...

0869b3e86d704fc55d621a8d3659e40dba370c27 authored over 10 years ago by Mark Mentovai <[email protected]>
MachMessageServer: Make request messages const.

There’s no reason that “in” or “request” messages should be non-const.
This makes them const, br...

fbf12950fe7f2be016eed387c6be660901e5e546 authored over 10 years ago by Mark Mentovai <[email protected]>
Add symbolic_constants_posix and its test.

This includes the functions SignalToString() and StringToSignal().

TEST=util_test SymbolicConst...

a01c87059b37117f6e2a8060fea964ee493be9eb authored over 10 years ago by Mark Mentovai <[email protected]>
Add exc_server_variants including UniversalMachExcServer and its test.

TEST=util_test ExcServerVariants.*
[email protected]

Review URL: https://codereview.chromiu...

177f5dcddce4a38b0769b3d843f3d4d5c4dfd240 authored over 10 years ago by Mark Mentovai <[email protected]>
Add string_number_conversion and its test.

This includes the StringToNumber() function, both int and unsigned int variants.

Similar functi...

10d1b76b90b23463c22bf8d06a3f93781e48d2e2 authored over 10 years ago by Mark Mentovai <[email protected]>
Add Multiprocess::SetExpectedChildTermination().

An expectation of the child’s termination reason can now be specified.
It is now possible to tes...

7fdc7f277edc61d56c97677466d14bd2e669ddac authored over 10 years ago by Mark Mentovai <[email protected]>
Enhance the MachMessageServer test to cover large messages

(MACH_RCV_LARGE).

This also adds a COMPILE_ASSERT to check that the
PersistentNonblockingFourMes...

f1202a08142e069ade0c105e5e3c67b1b710c125 authored over 10 years ago by Mark Mentovai <[email protected]>
Enhance the MachMessageServer test to cover port right ownership

management.

TEST=util_test MachMessageServer.*
[email protected]

Review URL: https://codere...

88a681e7479fb7c6458fb87416c1d3981ceb3f6e authored over 10 years ago by Mark Mentovai <[email protected]>
Add MachMessageServer and its test.

MachMessageServer is much like mach_msg_server() and
mach_msg_server_once(), but with a C++ inte...

67082c93b922eda317b325c1fc4b8bfe09103dd2 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MachOImageSymbolTableReader and hook it up to MachOImageReader.

TEST=util_test MachOImageReader.*
[email protected]

Review URL: https://codereview.chromium...

2cae118b606cbc8cacfb09dfb0eee39457d2f380 authored over 10 years ago by Mark Mentovai <[email protected]>
Make ProcessReaderModule and ProcessReaderThread nested classes.

This change is being made in response to the suggestion at
https://codereview.chromium.org/53926...

3d4eeae86437cb61935de6e70a9a24ee2909d986 authored over 10 years ago by Mark Mentovai <[email protected]>
Implement (and test) ProcessReader::Modules().

This depended on MachOImageReader, which recently landed, so it can now
be added.

TEST=util_tes...

9dd0ac943a3827b5ae1595e6c24a833eedf01c93 authored over 10 years ago by Mark Mentovai <[email protected]>
Run mig to generate the exc and mach_exc interfaces.

mach_exc is necessary because libSystem doesn’t contain this at all. exc
is necessary too, howev...

5a0b7827ff367c07828e2e23e4be9f05bfe2af68 authored over 10 years ago by Mark Mentovai <[email protected]>
Add missing dependency on util_test_multiprocess_exec_test_child to

util_test.

[email protected]

Review URL: https://codereview.chromium.org/542993002

2f425e744bf7afb7af2a9ecad77c0df5b4c7fd8a authored over 10 years ago by Mark Mentovai <[email protected]>
Fix problems discovered with gcc 4.9.1.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/538233002

35865a00d5d5a89a33e5f570710554835518a5d0 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MachOImageReader and its test, which also tests

MachOImageSegmentReader.

TEST=util_test MachOImageReader.*
[email protected]

Review URL: ht...

4f74716f6df9464383db75ab97aa216d08cca6b9 authored over 10 years ago by Mark Mentovai <[email protected]>
Add the MultiprocessExec test and its test.

TEST=util_test MultiprocessExec.*
[email protected]

Review URL: https://codereview.chromium...

52064fdd1b9ed25f7432f14abdce9dac10e4e507 authored over 10 years ago by Mark Mentovai <[email protected]>
Add CloseMultipleNowOrOnExec().

[email protected]

Review URL: https://codereview.chromium.org/534703003

d492df404c100c5792f441064dfcbbfd189a703c authored over 10 years ago by Mark Mentovai <[email protected]>
Add MachOImageSegmentReader.

This is part of a family of classes whose chief entry point is
MachOImageReader. MachOImageReade...

1460c47d6ad6c93b49f9a934630e0f48fd687ce0 authored over 10 years ago by Mark Mentovai <[email protected]>
Add strnlen() wrapper and its test.

TEST=util_test strnlen.strnlen
[email protected]

Review URL: https://codereview.chromium.or...

af0cfd5a57cd2ffc66ebcdb8aa69c0115b9c963c authored over 10 years ago by Mark Mentovai <[email protected]>
Add CheckedMachAddressRange and its test.

TEST=util_test CheckedMachAddressRange.*
[email protected]

Review URL: https://codereview.c...

04842e0ca45419296c030b20f9ed0bb4eca56a5d authored over 10 years ago by Mark Mentovai <[email protected]>
Refactor MachMultiprocess into a Multiprocess base class without any

knowledge of Mach. MachMultiprocess builds on this new base class.

TEST=util_test MachMultiproce...

ff26ea6db913ee4030d8ce22302e03fc47686989 authored over 10 years ago by Mark Mentovai <[email protected]>
Add ProcessTypes, its test, and many proctype definition files.

TEST=util_test ProcessTypes.DyldImagesSelf
[email protected]

Review URL: https://codereview...

30589d87a995afa9cb3786767e08533a83f077cd authored over 10 years ago by Mark Mentovai <[email protected]>
Add ScopedForbidReturn and its test.

Use ScopedForbidReturn in ProcessReader::InitializeThreads().

TEST=util_test ScopedForbidReturn...

0cc86a24f947121b8b57ccb3060ab74011b72301 authored over 10 years ago by Mark Mentovai <[email protected]>
Add most of ProcessReader and its test.

TEST=util_test ProcessReader.*
[email protected]

Review URL: https://codereview.chromium.or...

8256f9fc23ab87d3755e5d16bd5a65e8826ba78d authored over 10 years ago by Mark Mentovai <[email protected]>
Convert SimpleStringDictionary interface documentation to Doxygen.

[email protected]

Review URL: https://codereview.chromium.org/499643002

d0fcfa42e485dfa004f42b2079c21e150d469b5b authored over 10 years ago by Mark Mentovai <[email protected]>
Improvements for MachMultiprocess.

This adds a pipe going in the other direction (parent to child).
Initially, I didn’t think this ...

4004e77ee9452bad8851184db0b5b89d84501bef authored over 10 years ago by Mark Mentovai <[email protected]>
Add SimpleStringDictionary and its test.

TEST=client_test SimpleStringDictionary*.*
[email protected]

Review URL: https://codereview...

b980a5984bcb0e256a5d6b7e3e9c7451f12659aa authored over 10 years ago by Mark Mentovai <[email protected]>
Fix minidump_module_writer_test 32-bit x86 build.

time_t is a typedef for long on Mac OS X. In 32-bit x86 (ILP32), long is
a signed 32-bit quantit...

9168ba47acf7f4283113ad3033b004de4ec2e209 authored over 10 years ago by Mark Mentovai <[email protected]>
Add CaptureContext and its test.

TEST=client_test CaptureContextMac.CaptureContext
[email protected]

Review URL: https://cod...

be5d0ab39c964c82a58358e5d5bf46c00081c21e authored over 10 years ago by Mark Mentovai <[email protected]>
Add on_demand_service_tool.

[email protected]

Review URL: https://codereview.chromium.org/477353002

0b7f86a650be58627a044af2afafab370def2646 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MachMultiprocess and its test.

TEST=util_test MachMultiprocess.MachMultiprocess
[email protected]

Review URL: https://code...

bbe4d85935d7ee7e0c1eb6b27f812c94c21be69a authored over 10 years ago by Mark Mentovai <[email protected]>
Add BootstrapCheckIn and its test.

TEST=util_test Bootstrap.BootstrapCheckIn
[email protected]

Review URL: https://codereview....

280c4345c5f7c5d176f74340e3086e07432ee35b authored over 10 years ago by Mark Mentovai <[email protected]>
Add mac_util, including MacOSXMinorVersion(), MacOSXVersion(), and

MacModelAndBoard(), along with their tests.

TEST=util_test MacUtil.*
[email protected]

Revi...

8fe32b7b9c557766b75e0f6ef9a68b290a7d9704 authored over 10 years ago by Mark Mentovai <[email protected]>
Add ServiceManagement*() and their tests.

TEST=util_test ServiceManagement
[email protected]

Review URL: https://codereview.chromium....

a70edb3b7f55900fe0fd427e0057e85e991130eb authored over 10 years ago by Mark Mentovai <[email protected]>
Add CheckedRange<> and its test.

TEST=util_test CheckedRange
[email protected]

Review URL: https://codereview.chromium.org/4...

d05166c26c9f9e26e06c42650f518ff5ee6bd957 authored over 10 years ago by Mark Mentovai <[email protected]>
Add InRangeCast<> and its test.

InRangeCast<> is similar to base::saturated_cast<>, but it allows the
caller to specify the valu...

6997418cd4afdc256c89107fac2715c6ce77d2c9 authored over 10 years ago by Mark Mentovai <[email protected]>
Include <limits.h> in util/file/file_writer.cc because it uses IOV_MAX.

This also updates mini_chromium to abd6e3792f4f.

[email protected]

Review URL: https://cod...

01f9e396b8448efbfe245df1a309881adf16fb6c authored over 10 years ago by Mark Mentovai <[email protected]>
Add ProcessArgumentsForPID() (process_util) and its test.

TEST=util_test ProcessUtil.ProcessArgumentsForPID
[email protected]

Review URL: https://cod...

5f554ff10e1467be5e086e008be581ce35fe2fec authored over 10 years ago by Mark Mentovai <[email protected]>
Add InitializationStateDcheck, its base class, and their tests.

TEST=util_test InitializationState*
[email protected]

Review URL: https://codereview.chromi...

21af17394033576f539c5840470ba8cbd2d09ccd authored over 10 years ago by Mark Mentovai <[email protected]>
Use the gtest_main target for test executables.

There’s no need to build a separate copy of gtest_main.cc for each test
executable.

R=rsesek@ch...

7090b209adbf32c7d6897ba92485d7458a3c14bb authored over 10 years ago by Mark Mentovai <[email protected]>
Hide COMPILE_ASSERT from Doxygen, which doesn’t otherwise understand it.

[email protected]

Review URL: https://codereview.chromium.org/467383002

2a6927614c3d039560c279967dd8e2443681e8a1 authored over 10 years ago by Mark Mentovai <[email protected]>
MinidumpMemoryWriter test: Don’t suffix uint64_t constants.

It’s not necessary.

TEST=minidump_test MinidumpMemoryWriter
[email protected]

Review URL: ...

e0a79bec5e1a8b5e7f700b09164156e1fc44f8de authored over 10 years ago by Mark Mentovai <[email protected]>
Add MinidumpModuleWriter, MinidumpModuleListWriter, related classes, and

their test.

TEST=minidump_test MinidumpModuleTest
[email protected]

Review URL: https://cod...

0ba9d2b065463f5b2af8a3331c80693be63fc533 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MinidumpMemoryWriter, MinidumpMemoryListWriter, and their test.

TEST=minidump_test MinidumpMemoryWriter
[email protected]

Review URL: https://codereview.ch...

3b2c6d32f4812ecb0d767a84e4f75f50a2255739 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MinidumpMiscInfoWriter and its test.

TEST=minidump_test MinidumpMiscInfoWriter
[email protected]

Review URL: https://codereview....

c73a97d4e39bcaf8ff8cb5aa9185230a82110fa1 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MinidumpSystemInfoWriter and its test.

TEST=minidump_test MinidumpSystemInfoWriter
[email protected]

Review URL: https://coderevie...

aa3adf2c5b116d0c67128c92be6b75c34b71d3d4 authored over 10 years ago by Mark Mentovai <[email protected]>
Add CFPropertyToLaunchData() and its test.

TEST=util_test Launchd
[email protected]

Review URL: https://codereview.chromium.org/438673003

293964f69b8bc03fe837daf3688bfe4113fb9e74 authored over 10 years ago by Mark Mentovai <[email protected]>
Put back the standard-layout checks lost in 5bbb7e8abbe0.

TEST=util_test UUID.UUID
[email protected]

Review URL: https://codereview.chromium.org/4406...

4ae57690fa1a16b41f3602be1927dfaa732856b2 authored over 10 years ago by Mark Mentovai <[email protected]>
Add TaskMemory, which can read another Mach task’s memory, and its test.

This also adds MachErrorMessage(), a test-only function that’s a
dependency of TaskMemory’s test...

9f6d86742d6d90461a07fd921684570ba5cb4cb3 authored over 10 years ago by Mark Mentovai <[email protected]>
Add MinidumpFileWriter and its test.

MinidumpFileWriter writes the top-level object to a minidump file. This
consists of a MINIDUMP_H...

859560f70dd977d7ac9205f961134b237793a967 authored over 10 years ago by Mark Mentovai <[email protected]>
Update mini_chromium to bd605a3773f5.

bd605a3773f5 Fix RandBytesAsString().

[email protected]

Review URL: https://codereview.chr...

3cad76870ccf4beeaee84049788afd93db0d9ce7 authored over 10 years ago by Mark Mentovai <[email protected]>
Fix the UUID structure to have distinct fields, as expected by

Breakpad’s minidump reader.

TEST=util_test UUID.UUID
[email protected]

Review URL: https://...

5bbb7e8abbe06c0a450f2390d9623e230ca242b5 authored over 10 years ago by Mark Mentovai <[email protected]>
Introduce MinidumpStringWriter and its test.

MinidumpStringWriter is responsible for writing variable-length UTF-16
(MINIDUMP_STRING) and UTF...

d2675ce50b7d2374ce0dd8e1c8ab79beefddad29 authored over 10 years ago by Mark Mentovai <[email protected]>
Add UUID, c16lcpy (strlcpy for char16*), and their tests to util.

These are dependencies of the upcoming MinidumpStringWriter.

[email protected]

Review URL:...

4d6b867a1fbdf78506dde4e49b7b3c254ac461f6 authored over 10 years ago by Mark Mentovai <[email protected]>
Add minidump_extensions.h, which defines Crashpad/Breakpad extensions to

the standard minidump format defined in dbghelp.h.

[email protected]

Review URL: https://co...

5ba343ccf1cc82b4db817c2dd543afa17cdcf68c authored over 10 years ago by Mark Mentovai <[email protected]>
Fix StringFileWriter::Seek().

The final range check needs to check that the value fits in a size_t,
because that’s what String...

6e720f14214df28f3b38adb7d9e7291c41257015 authored over 10 years ago by Mark Mentovai <[email protected]>
Introduce MinidumpWritable, its dependencies, and their tests.

MinidumpWritable is the base class for all minidump-writing operations.

[email protected]

...

995012534e3490799756349d6efc8dd6ce151771 authored over 10 years ago by Mark Mentovai <[email protected]>
Add compat to Crashpad.

compat includes headers providing definitions normally provided by the
system, in cases where th...

dfe81014f7a7c0026e309ff3885ed6ab6fb44882 authored over 10 years ago by Mark Mentovai <[email protected]>
Initial commit of Crashpad.

This commit contains the basic structure of the project:
- LICENSE and related files.
- DEPS t...

fbcd680b50e0a6d0cd310066a63b9dcd5de89aef authored over 10 years ago by Mark Mentovai <[email protected]>
Initial empty repository

b39398134c41c91d7ccf2ca47ab7621173d98c03 authored over 10 years ago by Chase Phillips <[email protected]>