@@ -10,11 +10,19 @@ A Rust library for interacting with debugging information of compiled artifacts
10
10
11
11
⚠️ ** Experimental Status** : This library is in early development (0.0.x). The API is unstable and subject to breaking changes.
12
12
13
- ## LLDB Integration
14
13
15
- [ ![ asciicast] ( https://asciinema.org/a/CfSY9cLqPwkkB1qxPJrLA302D.svg )] ( https://asciinema.org/a/CfSY9cLqPwkkB1qxPJrLA302D )
14
+ > [ !IMPORTANT]
15
+ > See the [ announcement post] ( https://www.samjs.io/blog/rudy ) for more on the rationale/design behind Rudy.
16
16
17
- ### Installation
17
+ ## LLDB Extension
18
+
19
+ We also provide an example ` rudy-lldb ` extension that brings the capabilities of ` rudy-db ` to the ` lldb ` debugger.
20
+
21
+ Here's a short demo:
22
+
23
+ [ ![ rudy-lldb demo] ( https://asciinema.org/a/CfSY9cLqPwkkB1qxPJrLA302D.svg )] ( https://asciinema.org/a/CfSY9cLqPwkkB1qxPJrLA302D )
24
+
25
+ ### Installation (rudy-lldb)
18
26
19
27
For now, the installation process is a little manual:
20
28
@@ -37,7 +45,7 @@ For now, the installation process is a little manual:
37
45
- Cross-platform support (x86_64, aarch64 on macOS, Linux)
38
46
39
47
40
- ## Basic Usage
48
+ ## Basic Usage (rudy-db)
41
49
42
50
Here's a simple example of loading a binary and resolving type information from a memory address:
43
51
@@ -50,10 +58,10 @@ fn main() -> Result<()> {
50
58
let mut db = DebugDb :: new ();
51
59
52
60
// Get debug information for a binary
53
- let debug_info = DebugInfo :: new (& db , " /path/to/binary" ). unwrap () ;
61
+ let debug_info = DebugInfo :: new (& db , " /path/to/binary" )? ;
54
62
55
63
// Find a function by name
56
- let function = db . find_function_by_name (" my_function" ). unwrap () ;
64
+ let function = db . find_function_by_name (" my_function" )? ;
57
65
58
66
// get all params:
59
67
for param in & function . params {
0 commit comments