Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 708a01eefe99
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d38dbbfcc9a1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 10, 2019

  1. Copy the full SHA
    538d941 View commit details

Commits on Feb 13, 2019

  1. Merge pull request #2073 from eggrobin/fix-the-decoder-for-unity

    The Unity stacktrace decoder has not been used in a while
    eggrobin authored Feb 13, 2019
    Copy the full SHA
    d38dbbf View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 stacktrace_decoder/stacktrace_decoder.cs
6 changes: 3 additions & 3 deletions stacktrace_decoder/stacktrace_decoder.cs
Original file line number Diff line number Diff line change
@@ -123,13 +123,13 @@ private static void Main(string[] args) {
}
Int64 principia_base_address =
GetBaseAddress(unity_crash,
@"GameData\\Principia\\principia.dll:principia.dll " +
@"GameData\\Principia\\x64\\principia.dll:principia.dll " +
@"\(([0-9A-F]+)\)",
"interface\\.cpp",
stream);
Int64 physics_base_address =
GetBaseAddress(unity_crash,
@"GameData\\Principia\\principia.dll:principia.dll " +
@"GameData\\Principia\\x64\\physics.dll:physics.dll " +
@"\(([0-9A-F]+)\)",
"ksp_physics_lib\\.cpp",
stream);
@@ -138,7 +138,7 @@ private static void Main(string[] args) {
Console.Write(
comment($"Using Physics base address {physics_base_address:X}"));
var stack_regex = new Regex(
unity_crash ? @"\(0x([0-9A-F]+)\) .*"
unity_crash ? @"0x([0-9A-F]+) .*"
: @"@\s+[0-9A-F]+\s+.* \[0x([0-9A-F]+)(\+[0-9]+)?\]");
Match stack_match;
if (unity_crash) {