Description Usage Arguments Details Value Examples
Extract data from the process into R via an expression.
1 |
expr |
expression to evaluate |
offset |
offset index to read from |
size |
number of elements to read |
fixed |
if true, the expr parameter is a fixed string and should not be evaluated for special sequences |
handle |
handle returned from |
Expressions containing the special sequence "$$" will iterate over array at that position. This allows for extraction of child elements in an array of structs.
The requested data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library(lldbR)
lldb.load("/path/to/binary")
### Break at line 10 of the specified source file
lldb.breakline("/path/to/source.c", 10)
lldb.run()
### Extract x[0]
lldb.expr("x")
### Extract x[2] to x[4]
lldb.expr("x", 2, 3)
### Extract y[2].start to y[4].start
lldb.expr("y[$$].start", 2, 3, fixed=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.