<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by rejo philip jose on Medium]]></title>
        <description><![CDATA[Stories by rejo philip jose on Medium]]></description>
        <link>https://medium.com/@rejophilipjose?source=rss-26b2b06fd9f5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by rejo philip jose on Medium</title>
            <link>https://medium.com/@rejophilipjose?source=rss-26b2b06fd9f5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 00:24:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rejophilipjose/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cheat-sheet for Radare2]]></title>
            <link>https://medium.com/@rejophilipjose/cheat-sheet-for-radare2-f1b83c1bee65?source=rss-26b2b06fd9f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1b83c1bee65</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[radare2]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <dc:creator><![CDATA[rejo philip jose]]></dc:creator>
            <pubDate>Mon, 24 Oct 2022 21:06:19 GMT</pubDate>
            <atom:updated>2022-10-24T21:08:20.280Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*eGk42tThc8bKJZjYii0D9g.jpeg" /></figure><p>Radare is an seriously powerful tool for reverse engineering but to start using it would be a bit overwhelming.</p><p>So to make life easier I am going to note down commands and hacks that has been useful to me.</p><p>Debug mode :</p><pre>db # stands for debug breakerpoint <br>db main # set breakpoint on main function<br>ood  # this command has to be used to start debugging</pre><p>example on using debug mode :</p><pre>&gt; r2 some_binary <br>&gt; ood # should be typed in r2 shell<br>&gt; db main # to set breakpoint for main<br>&gt; dc # continue execution till it reaches break point <br></pre><p>Get info :</p><pre>dr # print data present in all registers</pre><pre>dr register_name= some_value # set that register with that value</pre><pre>drc # prints state of flags</pre><pre>drc flag_name = state # set state</pre><pre>pf z @stack_address # will give the data present at that address</pre><p>To back-trace while debugging :</p><pre>dts+ # add trace session this will let us setup back while debugging<br></pre><p>Really good tutorial to better understand readare2:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu5cO_VfLbwQ%3Fstart%3D377%26feature%3Doembed%26start%3D377&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du5cO_VfLbwQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu5cO_VfLbwQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a77cd6dbf40c755ae6f9ff8154a488c7/href">https://medium.com/media/a77cd6dbf40c755ae6f9ff8154a488c7/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1b83c1bee65" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>