Commit Graph

  • c874958fd0 MachMessageServer: eliminate argument redundancy. Mark Mentovai 2014-12-10 11:11:21 -05:00
  • 22b2f0cad7 tools: Use hyphens instead of underscores for multi-word option names. Mark Mentovai 2014-12-04 16:46:12 -05:00
  • c83e773c33 Add CompositeMachMessageServer and its test. Mark Mentovai 2014-12-04 16:45:02 -05:00
  • 821ed8fe0f UniversalMachExcServer: eliminate multiple implementation inheritance. Mark Mentovai 2014-12-04 10:18:24 -05:00
  • 86588c5526 MachMessageServer: scribble over memory allocations in debug mode. Mark Mentovai 2014-12-03 18:24:27 -05:00
  • 9f520e3fbf MachMessageServer: add some DCHECKs. Mark Mentovai 2014-12-03 18:21:00 -05:00
  • ef0b7cf6d5 Rewrite MachMessageServer::Run(). Mark Mentovai 2014-12-03 16:45:48 -05:00
  • 8593b1aa55 ChildPortHandshake: 10.6 fix. Mark Mentovai 2014-12-03 13:42:06 -05:00
  • eee9de7361 MachMessageWithDeadline(): 10.6 SDK fix. Mark Mentovai 2014-12-02 18:37:31 -05:00
  • dce497446e Add MachMessageWithDeadline() and supporting characters. Mark Mentovai 2014-12-02 17:09:08 -05:00
  • c0d5d87785 Move mach_message_util.* to mach_message.*. Mark Mentovai 2014-12-02 17:02:32 -05:00
  • 49f170e633 MachMessageServer: handle allocations more reasonably. Mark Mentovai 2014-12-01 16:13:40 -05:00
  • 50726ac8d0 Undo a68594234262. Mark Mentovai 2014-12-01 16:12:10 -05:00
  • 0437bc53b6 Pass Mach message trailers to server handler functions. Mark Mentovai 2014-12-01 16:06:56 -05:00
  • de5a6cdd6f ExcServerVariants test: use constructors to initialize test structures. Mark Mentovai 2014-11-25 15:06:42 -05:00
  • d14fa0961a ExcServerVariants test: make the mock test port dispositions reflect reality. Mark Mentovai 2014-11-25 15:05:29 -05:00
  • a685942342 MachMessageServer: invert the request buffer allocation logic. Mark Mentovai 2014-11-25 15:04:31 -05:00
  • 306625dac4 MachMessageServer: don’t deal with MACH_SEND_TRAILER. Mark Mentovai 2014-11-25 15:00:13 -05:00
  • 85c9318597 Add ChildPortHandshake and its test. Mark Mentovai 2014-11-25 14:56:05 -05:00
  • 79b4434c81 Add a ReceiveLarge parameter to MachMessageServer::Run(). Mark Mentovai 2014-11-25 14:48:44 -05:00
  • 04aaa36026 Add ChildPortServer, a MachMessageServer::Interface implementation for the child_port subsystem. Mark Mentovai 2014-11-25 14:29:46 -05:00
  • af1c7eb098 Add Logging{Read,Write}FD() and CheckedCloseFD(). Mark Mentovai 2014-11-24 15:49:33 -05:00
  • e9482a704d Add the child_port Mach subsystem. Mark Mentovai 2014-11-24 15:48:10 -05:00
  • e4551e709c exc_server_variants: use DISALLOW_COPY_AND_ASSIGN. Mark Mentovai 2014-11-21 14:29:42 -05:00
  • d0212ebaee Update gtest and gmock to the latest versions. Mark Mentovai 2014-11-19 11:37:26 -05:00
  • d5b28d6236 Add comments in DropPrivileges() explaining the kernel bug further. Mark Mentovai 2014-11-17 12:24:38 -05:00
  • 09d3a6c695 Add the generate_dump tool. Mark Mentovai 2014-11-14 19:21:43 -05:00
  • 49d7fdba9a Add DropPrivileges(). Mark Mentovai 2014-11-14 18:44:19 -05:00
  • de3c46c6b3 Add TaskForPID(). Mark Mentovai 2014-11-14 17:56:17 -05:00
  • 6812cec67e Move some parts of ProcessReader (in snapshot) to ProcessInfo (in util). Mark Mentovai 2014-11-14 17:54:42 -05:00
  • 360e441c53 Add MinidumpFileWriter::InitializeFromSnapshot() and its tests. Mark Mentovai 2014-11-07 14:47:08 -05:00
  • e5048b3a80 In CompositeHTTPBodyStream, coalesce small GetBytesBuffer()s to better fill the buffer. Robert Sesek 2014-11-07 12:08:14 -05:00
  • 9386a054e2 minidump: Use the crashpad::internal namespace more appropriately. Mark Mentovai 2014-11-07 11:45:44 -05:00
  • 4a22225fc0 Add MinidumpCrashpadInfoWriter::InitializeFromSnapshot() and its test. Mark Mentovai 2014-11-07 11:38:13 -05:00
  • 3b1c5bd3b9 Doxygen: only generate documentation for [Objective-]C[++] files. Mark Mentovai 2014-11-07 11:36:40 -05:00
  • 408262d58f Fix MinidumpMiscInfoWriter test compilation with 32-bit time_t. Mark Mentovai 2014-11-07 10:02:21 -05:00
  • 1d440d36d6 Add list_annotations to MinidumpModuleCrashpadInfo. Mark Mentovai 2014-11-07 10:01:17 -05:00
  • 6e97189d27 Add MinidumpStringListWriter and test. Mark Mentovai 2014-11-07 09:57:07 -05:00
  • a980409288 Add MinidumpRVAListWriter and test. Mark Mentovai 2014-11-07 09:44:09 -05:00
  • 20032b5ddf minidump: Refactor MinidumpCrashpadInfoListWriter into a base class, MinidumpLocationDescriptorListWriter. This allows easier construction of minidump structures that are lists of MINIDUMP_LOCATION_DESCRIPTOR structures in the future. Mark Mentovai 2014-11-06 16:58:37 -05:00
  • 8ad3beccdb minidump: stronger checking for MinidumpWritableAtRVA<>(). Mark Mentovai 2014-11-06 16:47:57 -05:00
  • 48b1964d1b Use implicit_cast<> instead of static_cast<> whenever possible. Mark Mentovai 2014-11-06 16:44:38 -05:00
  • bdfd147a47 Add MinidumpMiscInfoWriter::InitializeFromSnapshot() and its test. Mark Mentovai 2014-11-05 18:15:19 -05:00
  • 8609cdb60d Add MinidumpSystemInfoWriter::InitializeFromSnapshot() and its test. Mark Mentovai 2014-11-05 18:10:38 -05:00
  • bbeef320e0 C++11: Use template aliases instead of inheritance. Mark Mentovai 2014-11-05 14:54:42 -05:00
  • de0979b930 C++11: Use type aliases instead of typedefs. Mark Mentovai 2014-11-05 14:09:01 -05:00
  • 62b0976290 Add MinidumpExceptionWriter::InitializeFromSnapshot() and test. Mark Mentovai 2014-11-04 12:41:01 -05:00
  • 8248c030e2 Add MinidumpThreadListWriter::InitializeFromSnapshot(), everything downstream, and tests. Mark Mentovai 2014-11-04 12:36:29 -05:00
  • 52c2f6edfc Add MinidumpContextWriter::CreateFromSnapshot(), everything downstream, and its test. Mark Mentovai 2014-11-03 17:43:39 -05:00
  • f3bdc972f9 Fix comment for MinidumpUTF8StringAtRVAAsString(). Mark Mentovai 2014-11-03 15:08:00 -05:00
  • 486429e4f4 util/net: Place death tests into a *DeathTest test case. Mark Mentovai 2014-10-31 15:39:16 -04:00
  • d88711adfa Add HTTPTransport, a Mac implementation, and an end-to-end test. Robert Sesek 2014-10-31 12:17:32 -04:00
  • 45993a6959 minidump: Fix InitializeFromSnapshot() comments for module lists. Mark Mentovai 2014-10-30 14:51:40 -04:00
  • 4299ab3c4c Add MinidumpMemoryListWriter::AddFromSnapshot(), everything downstream, and its test. Mark Mentovai 2014-10-30 17:15:49 -04:00
  • f7b38a9dd9 minidump: Fix InitializeFromSnapshot() comments for module lists. Mark Mentovai 2014-10-30 14:51:40 -04:00
  • 123e01f96d Treat '+' as a safe MIME type character. Robert Sesek 2014-10-30 09:22:39 -04:00
  • 9db5d6f773 Add HTTPMultipartBuilder and its test. Robert Sesek 2014-10-29 19:13:24 -04:00
  • 4ee00568b7 snapshot: Make destructors of interface classes public and virtual. Mark Mentovai 2014-10-29 17:31:23 -04:00
  • 84b44610cf minidump: Add InitializeFromSnapshot() for MinidumpModuleWriter and MinidumpModuleListWriter. Mark Mentovai 2014-10-29 11:38:49 -04:00
  • 7f30a9ebef Fix a few documentation problems. Mark Mentovai 2014-10-29 11:33:34 -04:00
  • 78bec65b27 minidump: Use decltype(object) instead of typeof(object). Mark Mentovai 2014-10-28 17:28:31 -04:00
  • 765e428321 minidump: Add InitializeFromSnapshot() for MinidumpModuleCrashpadInfoListWriter and everything downstream. Mark Mentovai 2014-10-28 17:00:46 -04:00
  • 0a4ea0b52d minidump: Change the ownership model. Mark Mentovai 2014-10-27 15:01:39 -04:00
  • 977a7a8052 Add HTTPBodyStream interface, three concrete implementations, and their tests. Robert Sesek 2014-10-24 15:04:25 -04:00
  • 3f48f6d798 minidump: Rename MinidumpCrashpadModuleInfoWriter files. Mark Mentovai 2014-10-24 14:58:53 -04:00
  • 61af24848f Add MinidumpModuleCrashpadInfo, its list form, their writers, and their test. Mark Mentovai 2014-10-24 14:44:55 -04:00
  • 38aeadc1c1 minidump: Use forward declarations in more places. Mark Mentovai 2014-10-23 18:47:27 -04:00
  • 44a839614b minidump: Annotate existing virtual destructors that override a base class virtual destructor with “override”. Mark Mentovai 2014-10-23 18:42:26 -04:00
  • dcdbd2098f minidump: Be consistent about setting the fields of WritableIoVec. Mark Mentovai 2014-10-23 17:25:20 -04:00
  • 20f95a2f5b minidump: Migrate the rest of the tests to MinidumpWritableAtLocationDescriptor<>(). Mark Mentovai 2014-10-22 18:35:18 -04:00
  • 8a6a4c68e4 Refactor minidump test utilities for MinidumpWritable, MinidumpFileWriter, and Minidump*StringWriter. Mark Mentovai 2014-10-21 14:15:07 -04:00
  • 01c535b001 Move minidump/*_test_util.* to minidump/test. Mark Mentovai 2014-10-20 12:11:14 -04:00
  • b8a2f41156 Add MinidumpCrashpadInfoWriter and its test. Mark Mentovai 2014-10-17 18:00:41 -04:00
  • b9db7543a3 client.gyp: Sort. Mark Mentovai 2014-10-17 14:38:30 -04:00
  • 7d84d6512b include "util/stdlib/cxx.h" before checking CXX_LIBRARY_VERSION. Mark Mentovai 2014-10-17 14:24:12 -04:00
  • 279ca87e68 Add ProcessSnapshotMac. Mark Mentovai 2014-10-17 14:00:58 -04:00
  • 6584361343 Add ModuleSnapshotMac. Mark Mentovai 2014-10-17 13:56:31 -04:00
  • b43f510a52 Add crashpad_info, MachOImageAnnotationsReader, and its test. Mark Mentovai 2014-10-17 13:47:02 -04:00
  • bcae4d94d5 Create snapshot/mac and move some files from snapshot and util to there. Mark Mentovai 2014-10-17 13:41:45 -04:00
  • dd9cf1b367 Add CRASHPAD_SIMULATE_CRASH() and supporting client code. Mark Mentovai 2014-10-17 12:30:55 -04:00
  • f59e3e6b78 Add tool man pages in asciidoc format. Mark Mentovai 2014-10-17 11:01:48 -04:00
  • c9db1b1d19 Add MinidumpSimpleStringDictionaryWriter and its test. Mark Mentovai 2014-10-16 18:09:18 -04:00
  • 6c1a46f2bb ScopedTaskSuspend test: remove extraneous CheckedReadFDAtEOF(). Mark Mentovai 2014-10-14 11:14:20 -04:00
  • 525de2c35a Use exactly one of final, override, and virtual. Mark Mentovai 2014-10-14 11:11:57 -04:00
  • 5d74f120fc Convert NULL to nullptr. Mark Mentovai 2014-10-14 11:10:45 -04:00
  • d90ce10e1f ProcessReader: Fix comment about TASK_BASIC_INFO_64. Mark Mentovai 2014-10-13 18:09:53 -04:00
  • d7eb23c93e Add ExceptionSnapshotMac. Mark Mentovai 2014-10-13 18:09:07 -04:00
  • 356a2db147 Add ThreadSnapshotMac. Mark Mentovai 2014-10-13 18:06:43 -04:00
  • 2bd5e23ea4 Add ScopedTaskSuspend and its test. Mark Mentovai 2014-10-13 18:05:21 -04:00
  • 8c7872e9e0 Use the correct null constants for Mach threads, tasks, and hosts. Mark Mentovai 2014-10-13 12:59:21 -04:00
  • 8f23d3e475 util_test Clock.SleepNanoseconds: don’t set an upper bound for the amount of time spent sleeping. Mark Mentovai 2014-10-10 14:00:43 -04:00
  • 7669b33010 ServiceManagement test: reduce test flake. Mark Mentovai 2014-10-09 17:26:50 -04:00
  • c182be95a2 Rename minidump_test_util.* to minidump_file_writer_test_util.*. Mark Mentovai 2014-10-09 17:07:59 -04:00
  • b8684a8a3c Add MinidumpThreadWriter, MinidumpThreadListWriter, and their test. Mark Mentovai 2014-10-09 15:31:29 -04:00
  • 8d36e3581c minidump: Use variable names in tests that match parallel array indices. Mark Mentovai 2014-10-09 15:21:05 -04:00
  • 9d115e2391 Add MinidumpExceptionWriter and its test. Mark Mentovai 2014-10-09 15:13:13 -04:00
  • 22350bd676 In tests, use ASSERT_NO_FATAL_FAILURE() instead of checking testing::Test::HasFatalFailure() after calling functions that could fail fatally. Mark Mentovai 2014-10-09 15:08:54 -04:00
  • 9c76cc60db Pull test utilities from MinidumpMemoryWriter’s test out into their own file. Mark Mentovai 2014-10-07 17:58:43 -04:00
  • b677bc4ec0 Simplify MinidumpModuleWriter’s module name requirement implementation. Mark Mentovai 2014-10-07 17:31:43 -04:00
  • 40602fab1f Don’t use using directives (“using namespace”) in tools. Mark Mentovai 2014-10-07 17:30:09 -04:00