Proto commits in microsoft/plcrashreporter

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:0d8a0ec
Author:Dmitriy Kirakosyan

Remove all not affected tests

Commit:bfdf6ba
Author:Nacho Bonafonte

Use NSData rather than NSString to make this more general-purpose, as requested in review

The documentation is generated from this commit.

Commit:245f40c
Author:Nacho Bonafonte
Committer:Nacho Bonafonte

Apply suggestions from code review Renamed `userInfo` to `customData`, Changed PLCrashReporter methods to a property Store a string directly in protobuf instead of a message

Commit:499b6a3
Author:Nacho Bonafonte

Add user info to the crash report. It can be added/modified using a new method on PLCrashReporter: `-setUserInfo:(NSString *) userInfo;`. It can be recovered from a crash report using s new property of PLCrashReport -userInfo.

Commit:a9f2632
Author:Ivan Matkov
Committer:Ivan Matkov

Move utils and tests out of source folder

Commit:6c222bb
Author:Ivan Matkov

Store generated protobuf files

Commit:397be57
Author:Ivan Matkov
Committer:Ivan Matkov

Fix framework targets, tests and demo app

Commit:5582753
Author:Ivan Matkov
Committer:Ivan Matkov

Report error message from crash reporter annotations

Commit:6c1638a
Author:Ruslan Urmeev

use generated protobufer

Commit:438e4ed
Author:Landon Fuller

Define a crash report OS constant for Apple tvOS. Issue: PLCR-583

Commit:16c225e
Author:Andreas Linde
Committer:Landon Fuller

Add optional marketing version to plcrash format The value will be set to the Info.plists CFBundleShortVersionString value, if it is not nil Signed-off-by: Landon Fuller <landonf@plausible.coop> Issue: PLCR-559

Commit:83eeba2
Author:Joe Ranieri
Committer:Landon Fuller

Adding support for per-image crash report annotations. This introduces the plcrashreporter_image_annotation_t structure which, when placed in the __DATA,__pl_crash_info section of the image, will have its contents saved in crash reports. The annotations do not need to be textual, although only valid UTF-8 encoded text will be exported by the textual crash report formatter. Issue: PLCR-527

Commit:6abfab1
Author:Landon Fuller

Implement serialization/deserialization of the Mach exception info.

Commit:c3d932a
Author:Landon Fuller

Add a protocol field for encoded Mach exception data. This will be used to provide Mach-based exception information in the case that PLCrashReporter's exception-based reporting mechanism is enabled. Issue: PLCR-468

Commit:cc9b8ad
Author:Landon Fuller

Merge branch 'master' into landonf-ha14-merge-ha-fork

Commit:418cef4
Author:Landon Fuller

Encode the incident identifier directly as a UUID value.

Commit:db087b6
Author:Landon Fuller

Include a incident UUID in crash reports. Issue: 64 Submitted by: Craig Newell <craign [at] ieee.org>

Commit:b4e95f7
Author:Landon Fuller

Define the start_time field as optional in the actual data format; it may not always be available.

Commit:8a284e4
Author:Landon Fuller

Encode the process' start time in the crash report. This can be compared against the report timestamp to determine whether the process crashed shortly after launch.

Commit:a3cf2f0
Author:Landon Fuller
Committer:Landon Fuller

Add register, thread, and binary image data types. Conflicts: Resources/crash_report_v2.proto

Commit:7438c9c
Author:Landon Fuller

Add register, thread, and binary image data types.

Commit:47bcfa5
Author:Landon Fuller

Begin stubbing out the new format.

Commit:ce15a05
Author:Landon Fuller

Begin defining a V2 crash format. Stubbed out by copying the V1 format and dropping all deprecated elements.

Commit:4064ad0
Author:Landon Fuller

Add basic PLCrashLogWriterEncoding encoder unit tests.

Commit:d811d39
Author:Landon Fuller

Update all copyright statements

Commit:ed93184
Author:landon.j.fuller

Initial support for writing out symbol information client-side. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@487 25172300-ee46-11dd-abe2-393a09110dd0

Commit:ebb871e
Author:landon.j.fuller

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

Commit:d5e0f66
Author:Landon Fuller

Fix Java compatibility; we can't have the outer class name match the inner 'CrashReport' class name.

Commit:ab65531
Author:landon.j.fuller

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

Commit:4d81870
Author:Landon Fuller

Add a user_requested flag to denote live generated reports, in comparison to reports generated due to an actual crash.

Commit:2b2a608
Author:landon.j.fuller

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

Commit:d0001c7
Author:Landon Fuller

Add support for writing the ObjC exception's call stack, if available.

Commit:05990b1
Author:landon.j.fuller

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

Commit:94e24b0
Author:Landon Fuller

- 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.

Commit:0c95e21
Author:landon.j.fuller

- 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

Commit:960a69a
Author:landon.j.fuller

Implement encoding of the BinaryImage's code type. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@397 25172300-ee46-11dd-abe2-393a09110dd0

Commit:b871a3f
Author:Landon Fuller

Implement encoding of the BinaryImage's code type.

Commit:12e9bba
Author:landon.j.fuller

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

Commit:82039b5
Author:Landon Fuller

Define a flag to note whether the crashing process is being run via process-level CPU emulation (such as Rosetta).

Commit:a4c7cfc
Author:Landon Fuller

Remove cpu_ prefix.

Commit:ae2b75a
Author:landon.j.fuller

Remove cpu_ prefix. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@377 25172300-ee46-11dd-abe2-393a09110dd0

Commit:d3e5cc0
Author:landon.j.fuller

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

Commit:601874b
Author:Landon Fuller

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.

Commit:f681dbe
Author:landon.j.fuller

Clean up MachineInfo record. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@370 25172300-ee46-11dd-abe2-393a09110dd0

Commit:a5e2bdb
Author:Landon Fuller

Clean up MachineInfo record.

Commit:5832818
Author:Landon Fuller

- 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.

Commit:a8aceda
Author:landon.j.fuller

- 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

Commit:a3543ba
Author:landon.j.fuller

- 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

Commit:248b52b
Author:Landon Fuller

- 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.

Commit:ad20f13
Author:Landon Fuller

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.

Commit:d082c68
Author:landon.j.fuller

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

Commit:0e3e2b5
Author:landon.j.fuller

Add differentiated ARMv6/ARMv7 architecture constants. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@327 25172300-ee46-11dd-abe2-393a09110dd0

Commit:07573db
Author:Landon Fuller

Add differentiated ARMv6/ARMv7 architecture constants.

Commit:8b2c23b
Author:Landon Fuller

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>

Commit:8de2e56
Author:landon.j.fuller

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

Commit:dad1452
Author:Landon Fuller

Include PPC and PPC64 as supported architectures.

Commit:ba9f60f
Author:landon.j.fuller

Include PPC and PPC64 as supported architectures. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@260 25172300-ee46-11dd-abe2-393a09110dd0

Commit:22363bd
Author:landon.j.fuller

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

Commit:b919010
Author:Landon Fuller

Add licensing information: - Source code MIT license header - Top-level LICENSE

Commit:8bba400
Author:Landon Fuller

Record the signal address

Commit:0023fa8
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Record the signal address git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@234 25172300-ee46-11dd-abe2-393a09110dd0

Commit:a289d53
Author:landonf@OFFICE.PLAUSIBLELABS.COM

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

Commit:ff5c37b
Author:Landon Fuller

Add signal name and code to the crash log message definition

Commit:5fca2c5
Author:Landon Fuller

Add a binary image information class.

Commit:d05f755
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Add a binary image information class. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@193 25172300-ee46-11dd-abe2-393a09110dd0

Commit:eac6519
Author:Landon Fuller

Remove the unecessary prefix

Commit:26b3f81
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Remove the unecessary prefix git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@184 25172300-ee46-11dd-abe2-393a09110dd0

Commit:3c7e230
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Rename 'machine_type' to architecture. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@181 25172300-ee46-11dd-abe2-393a09110dd0

Commit:8548ca7
Author:Landon Fuller

Rename 'machine_type' to architecture.

Commit:33a99e0
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Add support for encoding application ID and version git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@167 25172300-ee46-11dd-abe2-393a09110dd0

Commit:b94b319
Author:Landon Fuller

Add support for encoding application ID and version

Commit:85cdf11
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Add support for serializing a crash-causing exception git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@165 25172300-ee46-11dd-abe2-393a09110dd0

Commit:94c50ef
Author:Landon Fuller

Add support for serializing a crash-causing exception

Commit:863941c
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Drop now unused headers git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@161 25172300-ee46-11dd-abe2-393a09110dd0

Commit:4dfc58a
Author:Landon Fuller

Drop now unused headers

Commit:b9e4c09
Author:Landon Fuller

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.

Commit:44cf89c
Author:landonf@OFFICE.PLAUSIBLELABS.COM

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

Commit:0f07ed7
Author:Landon Fuller

Implement architecture-specific register messages

Commit:bec7c83
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Implement architecture-specific register messages git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@130 25172300-ee46-11dd-abe2-393a09110dd0

Commit:9136305
Author:Landon Fuller

Add UUID and binary writing support

Commit:bb2067e
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Add UUID and binary writing support git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@129 25172300-ee46-11dd-abe2-393a09110dd0

Commit:e861bf6
Author:Landon Fuller

Implement binary image writing

Commit:c3493c5
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Implement binary image writing git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@127 25172300-ee46-11dd-abe2-393a09110dd0

Commit:fed8ce5
Author:Landon Fuller

Combine the ThreadState into the Backtrace message, and rename Backtrace to Thread.

Commit:7471731
Author:landonf@OFFICE.PLAUSIBLELABS.COM

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

Commit:08ef804
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Simplify and complete the stack frame output git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@119 25172300-ee46-11dd-abe2-393a09110dd0

Commit:a2b3d11
Author:Landon Fuller

Simplify and complete the stack frame output

Commit:2377929
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Check point commit of backtrace frame handling git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@115 25172300-ee46-11dd-abe2-393a09110dd0

Commit:4f1629d
Author:Landon Fuller

Check point commit of backtrace frame handling

Commit:f276b4a
Author:Landon Fuller

Rename 'threads' to 'backtraces', which is more accurate.

Commit:9276518
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Rename 'threads' to 'backtraces', which is more accurate. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@114 25172300-ee46-11dd-abe2-393a09110dd0

Commit:99d367c
Author:Landon Fuller

Initial work on thread writing

Commit:7c59b0e
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Initial work on thread writing git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@111 25172300-ee46-11dd-abe2-393a09110dd0

Commit:7180df0
Author:Landon Fuller

I'm clearly going insane. Bring back libproto-c, let's try one last time.

Commit:6993060
Author:landonf@OFFICE.PLAUSIBLELABS.COM

I'm clearly going insane. Bring back libproto-c, let's try one last time. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@99 25172300-ee46-11dd-abe2-393a09110dd0

Commit:42c1bda
Author:Landon Fuller

Reapply r94. Protobuf is a big headache, this library needs to be nimble.

Commit:c1a948c
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Reapply r94. Protobuf is a big headache, this library needs to be nimble. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@98 25172300-ee46-11dd-abe2-393a09110dd0

Commit:31bde8f
Author:landonf@OFFICE.PLAUSIBLELABS.COM

Reverse last commit. C++ is a bloody headache. git-svn-id: https://plcrashreporter.googlecode.com/svn/trunk@97 25172300-ee46-11dd-abe2-393a09110dd0

Commit:ed76d68
Author:Landon Fuller

Reverse last commit. C++ is a bloody headache.

Commit:023e306
Author:Landon Fuller

Add libproto-cpp to the unit test builds