Skip to content

Commit 92ffcf8

Browse files
committed
Squashed commit of the following:
commit 67c0fa91727d46a2669a61ac15aa48c60f74e68f Author: elfmaster <ryan@bitlackeys.org> Date: Wed May 31 13:18:08 2023 -0700 updated Makefile in fsplice commit f6584f4a33b777f22813016ec17a4878e948afe6 Author: elfmaster <ryan@bitlackeys.org> Date: Wed May 31 13:16:11 2023 -0700 update changes to rodata_interposing patch commit 612798d7c1e648e6e5126715a407a57073117655 Author: elfmaster <ryan@bitlackeys.org> Date: Wed May 31 13:07:07 2023 -0700 added README-AMP.md commit 8f6c45f934cc539bb3cf9f2ec96a03cf9019f077 Author: elfmaster <ryan@bitlackeys.org> Date: Wed May 31 12:55:25 2023 -0700 removed unnecessary and old files from the project
1 parent 38075b5 commit 92ffcf8

File tree

229 files changed

+56
-132852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+56
-132852
lines changed

DESIGN.notes

Lines changed: 0 additions & 69 deletions
This file was deleted.

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 -DDEBUG
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

Makefile.old.x86_64.compat

Lines changed: 0 additions & 67 deletions
This file was deleted.

PERF.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

PERFORMANCE.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

PLTHOOK.notes

Lines changed: 0 additions & 15 deletions
This file was deleted.

README-AMP.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
- README file for Shiva (From AMP phase-2)
2+
3+
This collection of files is from the DARPA Assured micropatching (AMP)
4+
program. This README provides a basic description of the AMP program
5+
and the overall manifest and description for each file.
6+
7+
8+
---- Assured Micropatching Program
9+
10+
The AMP program is a DARPA effort to develop technologies for advancing
11+
the state of patching ELF binaries and verifying the stability of the
12+
patch that has been applied. The AMP program can be found here
13+
https://www.darpa.mil/program/assured-micropatching
14+
15+
DARPA is releasing these files in the public domain to stimulate further
16+
research. Their release implies no obligation or desire to support additional
17+
work in this space. The data is released as-is. DARPA makes no warranties as
18+
to the correctness, accuracy, or usefulness of the released data. In fact,
19+
since the data was produced by a research prototype, it is practically guaranteed
20+
to be imperfect.
21+
22+
23+
---- Description of Shiva
24+
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.
30+
31+
---- Github location
32+
33+
Shiva's github home is at https://github.com/advanced-microcode-patching/shiva
34+
35+
---- File descriptions
36+
37+
README-AMP.md: This file
38+
README.md: File describing how to build and use Shiva
39+
documentation/shiva_final_design.pdf: A document describing the internal design of Shiva
40+
libcapstone.a: A pre-built static library of the Capstone API
41+
modules/aarch64_patches/cfs_patch1/core-cpu1: A binary built from NASA cSF github repository to test patching against
42+
modules/aarch64/amp_challenge10/program_c: An aarch64 binary taken from the beaglebone, as a patch challenge for AMP
43+
include/capstone: Header files from capstone disassembly API
44+

SHIVA_MODULE.specs

Lines changed: 0 additions & 37 deletions
This file was deleted.

TODO

Lines changed: 0 additions & 86 deletions
This file was deleted.

custom_interp_notes.txt

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)