Skip to content

Commit 5927c36

Browse files
committed
updated README-AMP.md with some minor fixups
1 parent 18e7d3f commit 5927c36

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BUILD_DIR = './build'
22
INTERP_PATH = $(PWD)/build/shiva
33
PATCH_PATH = "modules/aarch64_patches"
4-
GCC_OPTS= -fPIC -ggdb -c
4+
GCC_OPTS= -fPIC -ggdb -c
55
OBJ_LIST=shiva.o shiva_util.o shiva_signal.o shiva_ulexec.o shiva_auxv.o \
66
shiva_module.o shiva_trace.o shiva_trace_thread.o shiva_error.o shiva_maps.o shiva_analyze.o \
77
shiva_callsite.o shiva_target.o shiva_xref.o shiva_transform.o shiva_so.o shiva_post_linker.o

README-AMP.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
- README file for Shiva (From AMP phase-2)
1+
# Shiva JIT micropatching engine
22

33
This collection of files is from the DARPA Assured micropatching (AMP)
44
program. This README provides a basic description of the AMP program
55
and the overall manifest and description for each file.
66

77

8-
---- Assured Micropatching Program
8+
## Assured Micropatching Program
99

1010
The AMP program is a DARPA effort to develop technologies for advancing
1111
the state of patching ELF binaries and verifying the stability of the
@@ -20,17 +20,23 @@ since the data was produced by a research prototype, it is practically guarantee
2020
to be imperfect.
2121

2222

23-
---- Description of Shiva
23+
## Description of Shiva
2424

25-
Shiva was a phase-2 effort to advance the state of ELF binary patching by
26-
introducing a custom ELF interpreter for loading and linking ELF relocatable
27-
objects into the process image at runtime. Shiva aims to make patch development
28-
a seamless process, fitting right into the existing ELF ABI toolchain of
29-
compilers and linkers. Shiva supports Linux AArch64 environments.
25+
Shiva is the product of AMP-phase-2 and advances the state of ELF binary
26+
patching by introducing a custom ELF interpreter for loading and linking ELF
27+
relocatable objects into the process image at runtime. Shiva aims to make patch
28+
development a seamless process, fitting right into the existing ELF ABI
29+
toolchain. Shiva supports Linux AArch64 environments currently.
3030

31-
---- Github location
31+
## Support
3232

33-
Shiva's github home is at https://github.com/advanced-microcode-patching/shiva
33+
OS: Linux
34+
Architectures: AArch64
35+
ELF binary support: AArch64 ELF PIE executable
36+
37+
## Github
38+
39+
https://github.com/advanced-microcode-patching/shiva
3440

3541
---- File descriptions
3642

shiva_post_linker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ shiva_post_linker(void)
5454
test_mark();
5555

5656
/*
57-
* Mark the text segment as writable now that there won't
57+
* Mark the text segment as read-only now that there won't
5858
* be any final fixups in the modules .text.
5959
*/
6060
if (mprotect(ctx_global->module.runtime->text_mem,

0 commit comments

Comments
 (0)