Граф коммитов

128 Коммитов

Автор SHA1 Сообщение Дата
Dmitriy Kirakosyan d6a7814b66 Add task for Info folder 2024-02-19 15:45:59 +07:00
Ivan Matkov e61bcf8901 Fix macOS framework settings 2020-06-25 15:02:32 +03:00
Ivan Matkov 1a8b8e322a Enable Mac Catalyst support 2020-05-08 16:00:41 +03:00
Ivan Matkov a9f26321a7 Move utils and tests out of source folder 2020-04-27 12:49:57 +03:00
Ivan Matkov 6c222bbfe5 Store generated protobuf files 2020-04-24 19:54:46 +03:00
Ivan Matkov 397be57fec Fix framework targets, tests and demo app 2020-04-23 20:32:19 +03:00
Anastasia Kubova 22ed162b2a update build and short versions 2020-03-25 09:43:40 +03:00
Daniel Griesser f3809e3e48 fix: Add CFBundleShortVersionString to ios plist 2020-02-04 13:39:57 +01:00
Ruslan Urmeev 6c1638aa3d use generated protobufer 2019-10-11 17:26:50 +04:00
Benjamin Scholtysik (Reimold) de602b6731 Use Xcode 8.3.2 and adopt PRODUCT_BUNDLE_IDENTIFIER setting 2017-05-27 16:11:55 +02:00
Lukas Spieß 6166c0ada8 Add tvOS Target
Issue: PLCR-583
2016-01-19 18:56:14 +01:00
Landon Fuller 438e4ede39
Define a crash report OS constant for Apple tvOS.
Issue: PLCR-583
2015-12-10 12:00:48 -07:00
Andreas Linde 16c225eb0f
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
2015-02-21 17:10:35 -07:00
Landon Fuller 7c2206dd9d
Convert the iOS targets to XCTest.
We use the DemoCrash application as the required test host when running on
an iOS device.

Issue: PLCR-548
2015-02-19 12:34:15 -07:00
Landon Fuller e7fbce7b94 Enable ARM64 compact unwind handling and stub out the ARM64 unwind types.
Issue: PLCR-499
2013-09-23 15:04:39 -04:00
Landon Fuller 6abfab116e Implement serialization/deserialization of the Mach exception info. 2013-08-30 19:11:58 -04:00
Landon Fuller bc48b54f71 Add missing namespace defines for newly added symbols. 2013-08-30 16:26:52 -04:00
Landon Fuller eb79d238cc Add missing EOF newline. 2013-08-26 20:52:10 -04:00
Landon Fuller 5d6dae0faa Expose the mach exception forwarding function, rather than including it twice; once in the library, once in the tests. 2013-08-26 18:22:03 -04:00
Landon Fuller dd76517f43 Add missing end-of-file newlines.
Issue: PLCR-468
2013-08-24 15:47:50 -04:00
Landon Fuller 217f8a10f8 - Clean up the signal handling callback types to seperate the user
callbacks vs. the internal callbacks, each of which accept slightly
different state (internal callbacks determine the next callback in the
chain, and then pass that data to user callbacks).

- Modify the unit tests to validate basic signal handler pass-through
without actually triggering a signal.

Issue: PLCR-468
2013-08-23 22:48:15 -04:00
Landon Fuller 57db2119dc Rename configuration headers to the shorter (and more normative) PLCrash<Name> style. 2013-08-16 18:51:24 -07:00
Landon Fuller c3d932afbe 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
2013-08-05 15:09:57 -07:00
Landon Fuller cc9b8ada44 Merge branch 'master' into landonf-ha14-merge-ha-fork 2013-07-15 13:58:28 -04:00
Landon Fuller 418cef4d2a Encode the incident identifier directly as a UUID value. 2013-07-11 17:07:21 -04:00
Landon Fuller db087b6832 Include a incident UUID in crash reports.
Issue: 64
Submitted by:  Craig Newell <craign [at] ieee.org>
2013-07-11 13:42:37 -04:00
Landon Fuller b4e95f7a01 Define the start_time field as optional in the actual data format; it may not always be available. 2013-07-10 16:45:13 -04:00
Landon Fuller 8a284e4046 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.
2013-07-10 16:30:35 -04:00
Landon Fuller f4c680ef57 Fix GNU EH pointer reads; these should use the native platform pointer size, rather than the DWARF entry's 32/64 word size. 2013-07-01 14:53:18 -04:00
Landon Fuller 5ee9dd0b24 Fix calculation of the CIE offset in eh_frame FDE records.
Our initial implementation assumed that the offset was applied to the
address of the FDE record's length field. In implementing integration
tests against live DWARF data, it was demonstrated that this offset is
actually calculated from the address of the FDE record *after* the
initial length field.
2013-06-28 15:07:18 -04:00
Landon Fuller 0ac7d4eee5 Add implementation and tests for PC-based filtering of FDE search results. 2013-06-21 15:28:04 -04:00
Landon Fuller 4ee516dde4 Add a parsable CIE record; this allows the basic tests to pass. 2013-06-05 19:22:02 -04:00
Landon Fuller 7d89057f3b Update the test binaries from the test sources; this was apparently missing from the previous commit. 2013-05-31 19:02:49 -04:00
Landon Fuller 05f7aab3b4 Implement basic FDE decoding tests. This tests:
- Walking of the entry table.
- Calculation of FDE lengths and offsets.
- Calculation of CIE offsets from the FDE Entry.
2013-05-28 17:12:42 -04:00
Landon Fuller ad43565fa6 Add CIE id handling. 2013-05-23 17:01:33 -04:00
Landon Fuller f7a81d11ac Implement basic CFI iteration (with 32-bit and 64-bit length support). 2013-05-23 14:38:15 -04:00
Landon Fuller 697d8e9529 Add unit test binaries, and move Apple's tests to a 'regression' subdirectory. 2013-05-23 13:22:49 -04:00
Landon Fuller 17e95e4106 Import test suite from libunwind-35.1 2013-05-20 17:07:01 -04:00
Landon Fuller f4e792d53c Fix execution of the CFE tests on non-x86/non-x86-64 platforms.
The tests are enabled to help maintain portability, but CFE is not
actually supported on iOS/ARM, and may need to be disabled in the
ARM build in future (eg, to save space/time).
2013-05-06 14:51:55 -04:00
Landon Fuller 7bf384ef7c Update the test binaries from the latest sources. 2013-03-19 17:27:23 -04:00
Landon Fuller bcf18ce1a9 Implementation and tests for reading regular entries. 2013-03-14 16:09:27 -04:00
Landon Fuller cd3eee3570 Implementation and tests for compressed encoding tables, using a private (rather than common) encoding reference. 2013-03-14 15:47:17 -04:00
Landon Fuller 92b0e45319 Complete the implementation + tests of compact common encoding lookup. 2013-03-14 15:26:28 -04:00
Landon Fuller 594dbc47b8 Add test data for the compressed+common test. 2013-03-14 14:40:01 -04:00
Landon Fuller 8b35546082 Switch the tests to the new hand-generated CFE data. 2013-03-12 19:09:51 -04:00
Landon Fuller a0eae6dc4c Stub out a hand-assembled __unwind_info section.
The intention is to use this to simplify unit testing, rather than
relying on trying to derive specific output from the assembler itself,
which will often require exceeding certain limits (such as function or
encoding counts) to trigger behavior that is required for testing.
2013-03-12 18:16:53 -04:00
Landon Fuller 3153fb2601 Stub out example CFI that generates a common compact unwind entry table.
This is only a temporary solution, as relying the assembler producing
specific output given a set of CFI input directives is 1) annoying to
work with, and 2) likely to fail due to future toolchain changes.
2013-03-12 15:44:26 -04:00
Landon Fuller ce4bd8ff6d Stub out parsing and binary search of the first level page mapping. 2013-03-06 17:06:18 -05:00
Landon Fuller 30856528ee Lift the compact unwind work out into a generic compact unwind parsing API. 2013-02-28 12:17:30 -05:00
Landon Fuller c662464f2a Set up a build harness for hand-generated test executables.
This allows for defining (by hand) specific frame encodings and symbols,
which we may then use to drive tests of the compact frame unwinder.
2013-02-27 13:50:59 -05:00