Skip to content

Commit 2a04339

Browse files
committed
Deployed 1931091 with MkDocs version: 1.6.1
1 parent 09335fd commit 2a04339

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

getting_started/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
</li>
6868
<li class="toctree-l2"><a class="reference internal" href="#conventions">Conventions</a>
6969
</li>
70+
<li class="toctree-l2"><a class="reference internal" href="#ide-configuration">IDE Configuration</a>
71+
</li>
7072
</ul>
7173
</li>
7274
</ul>
@@ -109,6 +111,8 @@ <h1 id="getting-started">Getting Started</h1>
109111
<li><a href="#conventions">Conventions</a> this library follows some design rules.
110112
They are hopefully intuitive, but understanding them may make your
111113
first steps easier.</li>
114+
<li><a href="#ide-configuration">IDE configuration</a> I strongly recommend using
115+
an IDE that supports type-checking.</li>
112116
</ul>
113117
<h2 id="installation">Installation</h2>
114118
<p>To use ghidralib, <strong>just drop <a href="https://github.com/msm-code/ghidralib/blob/master/ghidralib.py">this file</a> into your ghidra_scripts directory</strong>.
@@ -276,6 +280,22 @@ <h2 id="conventions">Conventions</h2>
276280
the desired object was not found.</p>
277281
</li>
278282
</ul>
283+
<h2 id="ide-configuration">IDE Configuration</h2>
284+
<p>I strongly recommend using an IDE that supports type-checking. This is why:</p>
285+
<p><img alt="" src="../typecheck.png" /></p>
286+
<p>I personally use is VS Code with Python extensions. If you install
287+
VsCode/VsCodium, a Python extension, and just drop ghidralib.py
288+
in the ghidra_scripts directory, then everything should "just work".</p>
289+
<p>If for some reason your script lives in a different directory than
290+
ghidralib, override the PYTHONPATH so the typechecker knows how to
291+
import it:</p>
292+
<pre><code class="language-json">{
293+
&quot;python.analysis.extraPaths&quot;: [&quot;/home/you/Projects/ghidralib&quot;],
294+
&quot;terminal.integrated.env.windows&quot;: {
295+
&quot;PYTHONPATH&quot;: &quot;/home/you/Projects/ghidralib&quot;,
296+
}
297+
}
298+
</code></pre>
279299

280300
</div>
281301
</div><footer>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

typecheck.png

36.1 KB
Loading

0 commit comments

Comments
 (0)