Skip to content

Commit 46130b6

Browse files
committed
docs: fix typo
1 parent 97081e0 commit 46130b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

attic/shellcode.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ LSS_REG(4, arg1); LSS_REG(5, arg2); LSS_REG(6, arg3);
278278

279279
## Clear Cache
280280

281-
Since we are using the `__clear_cache` function, we need to define it ourselves since there is no libc.
281+
While the `__clear_cache` function is used without libc, a platform-specific implementation is needed.
282282

283283
```c
284284
#if !defined(assert)
@@ -396,11 +396,11 @@ void __clear_cache(void* start, void* end) {
396396

397397
```
398398
399-
## Runtime-Time Known Data
399+
## Readonly Data
400400
401401
To make things easier, the shellcode should only have a `.text` section,
402402
and no `.data`/`.bss`/`.rodata`/`.got`/`.plt` sections.
403-
Let's fill the runtime-known data in the `.text` section from the Java side.
403+
The readonly data in the `.text` section can be populated from Java side at runtime.
404404
405405
```c
406406

0 commit comments

Comments
 (0)