/usr/share/doc/radare-doc/html/Section10.7.html is in radare-doc 1:1.5.2-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
<title>Ruby</title>
<link rel="previous" href="Section10.6.3.html">
<link rel="ToC" href="contents.html">
<link rel="next" href="Chapter11.html">
</head>
<body>
<h1><a name="ruby"></a>10.7 Ruby</h1>
<p>
Use it like in python by refering a global variable called '$r'.
</p>
<pre><code>[0x465D8810]> H ruby
Load done
==> Loading radare ruby api... ok
irb(main):001:0> $r
=> #<Radare:0xb703ad38>
irb(main):002:0> print $r.cmd("p8 3 @ esp")
01 00 00
irb(main):003:0>
</code></pre>
<p>
Read radare.rb for more information about the API.
</p>
<!-- version IDs:
$Id: radare.but 2009-04-25 pancake $
-->
</body>
</html>
|