From 270520b4a2eac8725c8575c3180964289722e191 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 19 Dec 2017 10:59:40 +0100 Subject: schulung_tools: add various demos and tools Different tools have been used by various trainers as demos. Put all these into master so they are available to all trainers. ipc_pipe: ipc demo using pipes ipc_shm: ipc demo using shared memory libduma: source and instructions for compiling libduma matrix: demo of good and bad cache access mtrace: patch and infos for using mtrace with ASLR rtex: demo of handling page faults Signed-off-by: John Ogness --- schulung_tools/libduma/README | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 schulung_tools/libduma/README (limited to 'schulung_tools/libduma/README') diff --git a/schulung_tools/libduma/README b/schulung_tools/libduma/README new file mode 100644 index 0000000..41e1109 --- /dev/null +++ b/schulung_tools/libduma/README @@ -0,0 +1,10 @@ +#!/bin/sh + +tar xzf duma_2.5.15.orig.tar.gz +cd duma_2_5_15 +zcat ../duma_2.5.15-1.1.diff.gz | patch -p1 +cat ../0003-fix-C++14.patch | patch -p1 +sed -i -e 's/-Wl,-soname,$(DUMASO)/-Wl,-soname,$(DUMASO_LINK1)/' GNUmakefile +make +sudo cp libduma.so.0.0.0 /usr/lib/x86_64-linux-gnu +sudo ldconfig -- cgit v1.2.3