Skip to content

Commit 7f749c2

Browse files
committed
Rectified latest 0.7.0 release
1 parent 16174b5 commit 7f749c2

File tree

150 files changed

+9343
-4257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+9343
-4257
lines changed

0.7.0/basics/command_queue/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@
15571557

15581558

15591559
<h1 id="default-vs-asap-mode"><span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 6h12v2H6zm0 4.5h12v2H6zM6 15h12v2H6zm3 4h6l-3 3zM9 2h6l-3 3z"/></svg></span> Default VS ASAP Mode</h1>
1560-
<p>For most commands that can be issued in <strong>libdebug</strong>, it is necessary that the traced process stops running. When the traced process stops running as a result of a <a href="../../stopping_events/stopping_events">stopping event</a>, <strong>libdebug</strong> can inspect the state and intervene in its control flow. When one of this command is used in the script as the process is still running, <strong>libdebug</strong> will wait for the process to stop before executing the command.</p>
1560+
<p>For most commands that can be issued in <strong>libdebug</strong>, it is necessary that the traced process stops running. When the traced process stops running as a result of a <a href="../../stopping_events/stopping_events">stopping event</a>, <strong>libdebug</strong> can inspect the state and intervene in its control flow. When one of these commands is used in the script as the process is still running, <strong>libdebug</strong> will wait for the process to stop before executing the command.</p>
15611561
<p>In the following example, the content of the <code>RAX</code> register is printed after the program hits the breakpoint or stops for any other reason:</p>
15621562
<div class="language-python highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="kn">from</span> <span class="nn">libdebug</span> <span class="kn">import</span> <span class="n">debugger</span>
15631563
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a>

0.7.0/basics/detach_and_gdb/index.html

Lines changed: 30 additions & 7 deletions
Large diffs are not rendered by default.

0.7.0/from_pydoc/generated/architectures/i386/i386_stack_unwinder/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,8 +1760,8 @@ <h2 id="libdebug.architectures.i386.i386_stack_unwinder.I386StackUnwinder" class
17601760
</span><span id="__span-0-109"><a id="__codelineno-0-109" name="__codelineno-0-109"></a><span class="sd"> &quot;&quot;&quot;</span>
17611761
</span><span id="__span-0-110"><a id="__codelineno-0-110" name="__codelineno-0-110"></a> <span class="n">preamble_state</span> <span class="o">=</span> <span class="mi">0</span>
17621762
</span><span id="__span-0-111"><a id="__codelineno-0-111" name="__codelineno-0-111"></a>
1763-
</span><span id="__span-0-112"><a id="__codelineno-0-112" name="__codelineno-0-112"></a> <span class="c1"># push ebp</span>
1764-
</span><span id="__span-0-113"><a id="__codelineno-0-113" name="__codelineno-0-113"></a> <span class="k">if</span> <span class="sa">b</span><span class="s2">&quot;</span><span class="se">\x55</span><span class="s2">&quot;</span> <span class="ow">in</span> <span class="n">instruction_window</span><span class="p">:</span>
1763+
</span><span id="__span-0-112"><a id="__codelineno-0-112" name="__codelineno-0-112"></a> <span class="c1"># endbr32 and push ebp</span>
1764+
</span><span id="__span-0-113"><a id="__codelineno-0-113" name="__codelineno-0-113"></a> <span class="k">if</span> <span class="sa">b</span><span class="s2">&quot;</span><span class="se">\xf3\x0f\x1e\xfb</span><span class="s2">&quot;</span> <span class="ow">in</span> <span class="n">instruction_window</span> <span class="ow">or</span> <span class="sa">b</span><span class="s2">&quot;</span><span class="se">\x55</span><span class="s2">&quot;</span> <span class="ow">in</span> <span class="n">instruction_window</span><span class="p">:</span>
17651765
</span><span id="__span-0-114"><a id="__codelineno-0-114" name="__codelineno-0-114"></a> <span class="n">preamble_state</span> <span class="o">=</span> <span class="mi">1</span>
17661766
</span><span id="__span-0-115"><a id="__codelineno-0-115" name="__codelineno-0-115"></a>
17671767
</span><span id="__span-0-116"><a id="__codelineno-0-116" name="__codelineno-0-116"></a> <span class="c1"># mov ebp, esp</span>

0.7.0/from_pydoc/generated/data/memory_map/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ <h2 id="libdebug.data.memory_map.MemoryMap" class="doc doc-heading">
16131613
</td>
16141614
<td>
16151615
<div class="doc-md-description">
1616-
<p>The start address of the memory map.</p>
1616+
<p>The start address of the memory map. You can access it also with the 'base' attribute.</p>
16171617
</div>
16181618
</td>
16191619
</tr>
@@ -1739,7 +1739,7 @@ <h2 id="libdebug.data.memory_map.MemoryMap" class="doc doc-heading">
17391739
</span><span id="__span-0-14"><a id="__codelineno-0-14" name="__codelineno-0-14"></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;A memory map of the target process.</span>
17401740
</span><span id="__span-0-15"><a id="__codelineno-0-15" name="__codelineno-0-15"></a>
17411741
</span><span id="__span-0-16"><a id="__codelineno-0-16" name="__codelineno-0-16"></a><span class="sd"> Attributes:</span>
1742-
</span><span id="__span-0-17"><a id="__codelineno-0-17" name="__codelineno-0-17"></a><span class="sd"> start (int): The start address of the memory map.</span>
1742+
</span><span id="__span-0-17"><a id="__codelineno-0-17" name="__codelineno-0-17"></a><span class="sd"> start (int): The start address of the memory map. You can access it also with the &#39;base&#39; attribute.</span>
17431743
</span><span id="__span-0-18"><a id="__codelineno-0-18" name="__codelineno-0-18"></a><span class="sd"> end (int): The end address of the memory map.</span>
17441744
</span><span id="__span-0-19"><a id="__codelineno-0-19" name="__codelineno-0-19"></a><span class="sd"> permissions (str): The permissions of the memory map.</span>
17451745
</span><span id="__span-0-20"><a id="__codelineno-0-20" name="__codelineno-0-20"></a><span class="sd"> size (int): The size of the memory map.</span>

0 commit comments

Comments
 (0)