Commit Graph

65 Commits

Author SHA1 Message Date
Derek Parker
38bfdaf47c Implement initial support for stack unwinding.
Implement basic api for figuring out, given a current PC value, where
the function will return. Currently the API provides only a way to
determine the offset from SP (the Canonical Frame Address). It is left
up to the caller to grab the actual address from the traced program.
2014-06-25 14:14:29 -05:00
Derek Parker
1b74a18814 InitialLocation / AddressRange should be uintptr 2014-06-10 18:20:21 -05:00
Derek Parker
f76ac8c32b Fix: Use file path passed into test func 2014-06-10 13:25:08 -05:00
Derek Parker
74bbd00dbd Rename files 2014-06-09 21:11:55 -05:00
Derek Parker
0a3b410650 FIX: Parse data alignment factor as SLEB128 2014-06-09 17:24:48 -05:00
Derek Parker
012c6e8c70 Implement decoding of SLEB128 numbers 2014-06-09 17:23:15 -05:00
Derek Parker
8fb5e164b3 Update test progs for go13 2014-06-09 13:28:06 -05:00
Derek Parker
d36297687a Underscore fixtures dir to ignore during test run 2014-06-09 10:55:18 -05:00
Derek Parker
d08710180d Improve docs for decodeULEB128 2014-06-06 19:25:07 -05:00
Derek Parker
4970c86ebd Rename reader -> buf 2014-06-06 19:24:32 -05:00
Derek Parker
07fe148df5 Don't export ULEB128 decode func 2014-06-06 19:23:09 -05:00
Derek Parker
a2d0e29f33 Store Entry and Frame in context 2014-06-06 19:04:15 -05:00
Derek Parker
1f4580cd21 Fix: burn bytes for CIE pointer
Also change function sig to be shorter
2014-06-06 16:05:26 -05:00
Derek Parker
28694f54a1 Fix type 2014-06-06 15:28:47 -05:00
Derek Parker
b43c1ec524 Initial Dwarf .debug_frame parser
Still needs to handle the following:
* Correctly adapt to augmentation strings
* Correctly parse instructions
2014-06-06 15:22:50 -05:00