Landon Fuller
e6d5d1054b
Fix relative references to project resources.
2013-02-18 09:23:15 -05:00
Landon Fuller
e58ccce869
Fix relative references to project resources.
2013-02-14 12:55:20 -05:00
Landon Fuller
7438c9c8ea
Add register, thread, and binary image data types.
2013-01-19 17:42:48 -05:00
Landon Fuller
47bcfa5a53
Begin stubbing out the new format.
2013-01-16 09:27:55 -05:00
Landon Fuller
ce15a05cd5
Begin defining a V2 crash format.
...
Stubbed out by copying the V1 format and dropping all deprecated
elements.
2013-01-07 17:59:10 -05:00
Landon Fuller
d811d3971d
Update all copyright statements
2013-01-01 17:02:34 -05:00
Landon Fuller
c356828354
Set a proper bundle identifier.
...
Issue: 37
2013-01-01 16:10:17 -05:00
landon.j.fuller
ed93184e33
Initial support for writing out symbol information client-side.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@487 25172300-ee46-11dd-abe2-393a09110dd0
2012-10-23 23:36:00 +00:00
landon.j.fuller
ebb871e4c9
Add basic symbol table support to the crash report format.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@461 25172300-ee46-11dd-abe2-393a09110dd0
2012-10-16 21:12:30 +00:00
landon.j.fuller
1686cd57f9
Fix build issues introduced by Xcode 4.5:
...
- Update build settings to match Xcode recommendations
- Fix simulator unit test execution by updating GTM to trunk@r582, from http://google-toolbox-for-mac.googlecode.com/svn/trunk/
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@457 25172300-ee46-11dd-abe2-393a09110dd0
2012-10-16 16:21:11 +00:00
landon.j.fuller
ab65531455
Fix Java compatibility; we can't have the outer class name match the inner 'CrashReport' class name.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@453 25172300-ee46-11dd-abe2-393a09110dd0
2012-07-23 21:16:01 +00:00
landon.j.fuller
2b2a608143
Add a user_requested flag to denote live generated reports, in comparison to reports generated due to an actual crash.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@452 25172300-ee46-11dd-abe2-393a09110dd0
2012-07-18 20:26:48 +00:00
landon.j.fuller
f1fd362512
Implement optional custom namespacing of PLCrashReporter's public symbols.
...
Issue: #45
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@427 25172300-ee46-11dd-abe2-393a09110dd0
2012-07-09 18:19:55 +00:00
landon.j.fuller
05990b18de
Add support for writing the ObjC exception's call stack, if available.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@407 25172300-ee46-11dd-abe2-393a09110dd0
2011-09-18 20:28:42 +00:00
landon.j.fuller
0c95e21cf3
- Bump the format version to 104, to match the latest Apple version.
...
- Update the image entry format to the v104 report style.
- Include image's code type in the image list, if the code type is available.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@402 25172300-ee46-11dd-abe2-393a09110dd0
2011-09-17 02:44:45 +00:00
landon.j.fuller
960a69a2c2
Implement encoding of the BinaryImage's code type.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@397 25172300-ee46-11dd-abe2-393a09110dd0
2011-09-17 01:09:29 +00:00
landon.j.fuller
80abab3025
To help simplify testing, modify the 'Crash Demo' application to provide generated reports via iTunes Document Sharing.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@396 25172300-ee46-11dd-abe2-393a09110dd0
2011-09-15 19:30:20 +00:00
landon.j.fuller
b1544721ff
- Resolve Xcode 4 build issues.
...
- Fix a 1-byte buffer overrun in UUID formatting.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@390 25172300-ee46-11dd-abe2-393a09110dd0
2011-09-09 20:27:52 +00:00
landon.j.fuller
aa3e40169d
Re-enable single object prelink and stripping of private symbols. This also resolves a downstream QuincyKit issue:
...
https://github.com/TheRealKerni/QuincyKit/issues/34
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@388 25172300-ee46-11dd-abe2-393a09110dd0
2011-06-19 15:51:19 +00:00
landon.j.fuller
12e9bba1f2
Define a flag to note whether the crashing process is being run via process-level CPU emulation (such as Rosetta).
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@386 25172300-ee46-11dd-abe2-393a09110dd0
2011-06-12 00:30:21 +00:00
landon.j.fuller
7de2360549
Add missing class symbol names to the framework's export list.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@382 25172300-ee46-11dd-abe2-393a09110dd0
2011-05-19 13:53:14 +00:00
landon.j.fuller
ae2b75a767
Remove cpu_ prefix.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@377 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-25 02:55:10 +00:00
landon.j.fuller
d3e5cc023a
Add support for using multiple CPU type encodings; it is expected that different operating systems may target different processors, and the reported CPU type and subtype information may not be easily or directly expressed when not using the vendor's own defined types. Likewise, any attempt to define all supported CPU types and subtypes of a target OS and host architecture will easily fall behind.
...
Currently, only Apple Mach CPU type/subtype information is supported by the wire protocol. These types are stable, intended to be encoded directly in Mach-O files, and are defined in mach/machine.h on Mac OS X.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@375 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-25 01:39:50 +00:00
landon.j.fuller
f681dbe18f
Clean up MachineInfo record.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@370 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-24 23:57:57 +00:00
landon.j.fuller
a8acedab0b
- Add additional hardware and model information to the crash report format, including per-binary image processor data.
...
- Begin defining ObjC model classes to represent the new crash report types.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@365 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-24 19:32:43 +00:00
landon.j.fuller
a3543ba7e2
- Switch the wire protocol's timestamp representation to a signed 64-bit value; since these are encoded identically to signed/unsigned 32-bit values, this is a backwards compatible wire protocol change. Any parsers may need to be updated to deal with the new format if they wish to correctly handle dates past 2038 :)
...
- Fetch the current time using time() rather than gettimeofday(); time() is declared to be async-safe, gettimeofday() is not.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@362 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-24 15:19:19 +00:00
landon.j.fuller
0cf0289f59
Add DemoCrash targets for iOS and iOS Simulator.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@346 25172300-ee46-11dd-abe2-393a09110dd0
2011-04-23 18:55:19 +00:00
landon.j.fuller
d082c68fff
Fix error handling when writing out thread state from the crash log writer. We now write the required thread fields first, in case
...
fatal errors occur while writing the stack frames.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@330 25172300-ee46-11dd-abe2-393a09110dd0
2010-12-19 19:00:03 +00:00
landon.j.fuller
0e3e2b5ff5
Add differentiated ARMv6/ARMv7 architecture constants.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@327 25172300-ee46-11dd-abe2-393a09110dd0
2010-12-19 17:28:27 +00:00
landon.j.fuller
955f22a320
- Implement a runtime API for formatting crash reports.
...
- Add a text formatter.
Based on code originally submitted by: Damian Morris <damian@moso.com.au>
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@316 25172300-ee46-11dd-abe2-393a09110dd0
2010-06-29 04:40:55 +00:00
landon.j.fuller
8de2e56487
Add additional process information to crash reports:
...
- Process name
- Process path
- Process PID
- Parent process name
- Parent process path
Contributed by: Damian Morris <damian@moso.com.au>
Review and modifications: Landon Fuller <landonf@plausible.coop>
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@306 25172300-ee46-11dd-abe2-393a09110dd0
2010-04-24 23:21:00 +00:00
landon.j.fuller
7148753d63
iPhoneOS 4.0 project compatability fixes.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@305 25172300-ee46-11dd-abe2-393a09110dd0
2010-04-10 18:57:30 +00:00
landon.j.fuller
52183abad9
Update unit tests to use the iPhone 3.0 simulator and phone SDKs
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@269 25172300-ee46-11dd-abe2-393a09110dd0
2009-06-14 00:35:01 +00:00
landon.j.fuller
1ccc36093e
Add support for running fuzz testing on protobuf parsing. This will also test the protobuf-c library.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@262 25172300-ee46-11dd-abe2-393a09110dd0
2009-03-06 20:25:32 +00:00
landon.j.fuller
ba9f60f98e
Include PPC and PPC64 as supported architectures.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@260 25172300-ee46-11dd-abe2-393a09110dd0
2009-03-05 06:30:30 +00:00
landon.j.fuller
22363bd3ab
Add licensing information:
...
- Source code MIT license header
- Top-level LICENSE
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@243 25172300-ee46-11dd-abe2-393a09110dd0
2009-01-29 22:30:31 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
ff0d7f7107
Rename PLCrashLog to PLCrashReport, which just makes more sense.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@238 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 21:40:56 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
0023fa8c03
Record the signal address
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@234 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 20:55:06 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
65f9c1bc48
Provide access to the signal information
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@232 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 20:44:12 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
a289d53a4c
Add signal name and code to the crash log message definition
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@224 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 17:47:40 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
6d312a5078
Stub out support for writing out iPhone-style crash logs
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@210 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 08:14:38 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
c1e4c35af2
Add binary image and exception information classes.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@194 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 01:52:14 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
d05f755e81
Add a binary image information class.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@193 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 01:35:33 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
5678b09327
Implement ThreadInfo parsing
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@192 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-18 00:59:44 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
d20ea469df
Export the PLCrashLogApplicationInfo class
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@187 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 23:17:38 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
26b3f81454
Remove the unecessary prefix
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@184 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 23:04:40 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
3c7e230f30
Rename 'machine_type' to architecture.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@181 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 21:23:37 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
4a3de841f1
Provide access to the host architecture and operating system
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@180 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 21:22:20 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
96c9bf83e5
Add support for parsing/fetching the system information
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@179 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 20:42:07 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
3d99ecb9cc
Add basic crash log parsing support.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@170 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 08:24:39 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
33a99e0c60
Add support for encoding application ID and version
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@167 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 05:37:43 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
85cdf11dff
Add support for serializing a crash-causing exception
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@165 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-17 04:08:34 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
cbd01aee69
Add a demo app for crash log testing
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@155 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-16 09:44:05 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
4012e975dc
Add a basic top-level PLCrashReporter class.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@141 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-16 01:24:38 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
44cf89ccb1
Revert support for per-architecture register messages. An architecture-neutral message type allows for display of register values without having implemented support for a given architecture.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@132 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-15 06:47:47 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
bec7c83df2
Implement architecture-specific register messages
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@130 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-15 06:36:10 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
bb2067e6f4
Add UUID and binary writing support
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@129 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-14 10:05:29 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
c3493c574f
Implement binary image writing
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@127 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-14 08:15:18 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
7471731b81
Combine the ThreadState into the Backtrace message, and rename Backtrace to Thread.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@122 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-13 09:25:44 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
08ef8049b6
Simplify and complete the stack frame output
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@119 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-13 09:14:30 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
2377929cec
Check point commit of backtrace frame handling
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@115 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-13 08:29:56 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
92765187d0
Rename 'threads' to 'backtraces', which is more accurate.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@114 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-13 07:24:29 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
7c59b0e2ac
Initial work on thread writing
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@111 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-13 06:38:09 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
31bde8ff31
Reverse last commit. C++ is a bloody headache.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@97 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-12 04:13:04 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
7638e25dc0
Add libproto-cpp to the unit test builds
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@96 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-12 04:03:33 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
ee610f72b6
Record only seconds
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@83 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-11 07:01:23 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
7b905b1134
Use a shorter protobuf package name
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@82 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-11 05:27:21 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
294d67e361
- Hide private symbols (we'll link the private implementations into the unit tests directly, for lack of a better option).
...
- Implement basic crash log parsing.
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@80 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-11 03:22:07 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
fe39117c06
Begin implementing writer support
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@75 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-10 23:41:46 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
f4c37f7cb9
Basic integration of the generated protobuf C files
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@74 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-10 22:17:05 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
360a8c7b88
A protobuf description for crash reports.
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@66 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-10 07:10:21 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
b2b79408a7
Empty class for the signal handler implementation
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@14 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 11:36:44 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
520445d431
Add baseline documentation, error domain, and generic exception type
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@13 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 11:28:29 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
e69f01490a
Add an explicit symbol export file
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@11 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 11:21:42 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
2c334d4271
Add a test target for iPhoneOS
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@9 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 11:15:10 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
004a7b6273
Add iPhone tests
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@7 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 11:04:42 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
cbd3318bec
Add release script and Mac test binary
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@4 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 10:50:56 +00:00
landonf@OFFICE.PLAUSIBLELABS.COM
17d9801b93
Basic framework
...
git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@2 25172300-ee46-11dd-abe2-393a09110dd0
2008-12-05 10:34:37 +00:00