You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,7 @@ Before building the docs, OFRAK, its dependencies, and the `ofrak-ghidra` packag
25
25
```
26
26
python3 -m venv venv
27
27
source venv/bin/activate
28
-
for dir in ofrak_type ofrak_io ofrak_patch_maker ofrak_core disassemblers/ofrak_ghidra;
29
-
do
30
-
make -C $dir develop;
31
-
done
28
+
make develop
32
29
```
33
30
34
31
## Build the Docs
@@ -52,3 +49,42 @@ OFRAK documentation comes from two sources: manually-written markdown files in `
52
49
For writing docstrings that will display well, see the [contributor guidelines](https://ofrak.com/docs/contributor-guide/getting-started.html#docstrings). The list of packages whose docstrings are extracted can be found [in the script that does the extraction](https://github.com/redballoonsecurity/ofrak/blob/master/docs/gen_ref_nav.py#L69-L74).
53
50
54
51
To add a markdown file to the docs, first write the documentation as a markdown file in the `docs/` directory of the repo. Then, add it to the documentation nav bar by [editing the `nav` property of `mkdocs.yml`](https://github.com/redballoonsecurity/ofrak/blob/master/mkdocs.yml#L50).
52
+
53
+
### Decorative Footer Images
54
+
55
+
**Each documentation page must have a decorative footer image at the end:**
Copy file name to clipboardExpand all lines: docs/contributor-guide/component/ghidra_components.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,3 +90,7 @@ If the script requires some arguments, they can also be passed to ``call_script`
90
90
Often the OFRAK component needs to get some data back from the Ghidra script. This should be done by storing the data as a JSON string inside a [Ghidra headless variable](https://ghidra.re/ghidra_docs/api/ghidra/app/util/headless/HeadlessScript.html#storeHeadlessValue%28java.lang.String,java.lang.Object)
91
91
at the end of the script.
92
92
After running each script (e.g. `CustomScript`), the analysis server will get stored headless variable with the name `OfrakResult_<script name>` (e.g. `OfrakResult_CustomScript`) and send its data back to OFRAK. This data is then parsed as JSON and returned by the ``call_script`` method.
Copy file name to clipboardExpand all lines: docs/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,3 +74,7 @@ Users interested in using OFRAK for commercial purposes can request the Pro or E
74
74
75
75
## Support
76
76
Please contact [[email protected]](mailto:[email protected]), or write to us on [the OFRAK Slack](https://join.slack.com/t/ofrak/shared_invite/zt-1jku9h6r5-mY7CeeZ4AT8JVmu5YWw2Qg) with any questions or issues regarding OFRAK. We look forward to getting your feedback! Sign up for the [OFRAK Mailing List](https://ofrak.com/sign-up) to receive monthly updates about OFRAK code improvements and new features.
0 commit comments