about summary refs log tree commit diff stats
path: root/doc/jitter/jitter.ipynb
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2024-04-04 19:41:24 +0200
committerGitHub <noreply@github.com>2024-04-04 19:41:24 +0200
commit4c2a4f3b70227f7dfb326bc5ae130ee88a777601 (patch)
tree687a603ae0143911793df091a7b511075f2717a2 /doc/jitter/jitter.ipynb
parent113ed969ef7eaa8aac3abe8074ec4920182cdb4a (diff)
downloadmiasm-4c2a4f3b70227f7dfb326bc5ae130ee88a777601.tar.gz
miasm-4c2a4f3b70227f7dfb326bc5ae130ee88a777601.zip
Apply @W0ni suggestions
Diffstat (limited to 'doc/jitter/jitter.ipynb')
-rw-r--r--doc/jitter/jitter.ipynb11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/jitter/jitter.ipynb b/doc/jitter/jitter.ipynb
index 9389c1ba..02011437 100644
--- a/doc/jitter/jitter.ipynb
+++ b/doc/jitter/jitter.ipynb
@@ -129,8 +129,8 @@
    "source": [
     "For now, our emulator is an empty box. It has:\n",
     "\n",
-    "* registers, reachable from the `.cpu` attribute. There are initiallized to 0\n",
-    "* a virtual memory, reachable from the `.vm` attribute. It starts empty"
+    "* registers, reachable from the `.cpu` attribute. These are initiallized to 0.\n",
+    "* a virtual memory, reachable from the `.vm` attribute. It starts empty."
    ]
   },
   {
@@ -400,7 +400,8 @@
     "jitter.run(0x1000)\n",
     "\n",
     "# The execution ends with an error, which is expected.\n",
-    "# Indeed, we RET on 0x1337beef, which is not mapped in memory, hence the \"WARNING: address 0x1337BEEF is not mapped in virtual memory\""
+    "# Indeed, we RET on 0x1337beef, which is not mapped in memory,\n",
+    "# hence the \"WARNING: address 0x1337BEEF is not mapped in virtual memory\""
    ]
   },
   {
@@ -434,10 +435,10 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "If a breakpoint callback return `True`, the emulation continue.\n",
+    "If a breakpoint callback returns `True`, the emulation continues.\n",
     "Otherwise, the emulation will stop and the value returned by the `jitter.continue_run()` call is the callback return value.\n",
     "\n",
-    "Note: if one need to add more argument to the callback, there are many Pythonic way to do it.\n",
+    "Note: if one need to add more arguments to the callback, there are many Pythonic way to do it.\n",
     "For instance, one can use `lambda` to capture an argument or object instance (ie. `jitter.add_breakpoint(address, obj.callback)` with a `def callback(self, jitter)` inside the `obj` definition).\n",
     "\n",
     "The breakpoint mechanism is used to implement several features. For instance:\n",