Skip to content

Commit

Permalink
Use frame ptrs, drop examples, restart testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-u committed Feb 23, 2023
1 parent 423b54e commit b431a25
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL := /bin/bash

CC=gcc
# XXX: We do see this break mitigate when set to -O3
CFLAGS= -O0 -ggdb -Wall -Wextra -mno-red-zone
CFLAGS= -O0 -ggdb -Wall -Wextra -mno-red-zone -fno-omit-frame-pointer
export CC CFLAGS


Expand All @@ -29,7 +29,7 @@ CPUS=$(shell nproc)

.PHONY: all bin examples clean_bin clean_examples

all: bin examples
all: bin #examples

mitigate:
./bin/recipes/mitigate_all.sh
Expand Down
14 changes: 12 additions & 2 deletions testing/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# XXX Mitigate all sometimes fails. Lots of cores spinning on a ?lock?
# Loop of write system calls, first elevated, then shortcutted.
# Linux Prototypes dir
LP=../../LinuxPrototypes/
TESTS= wr_sc wr_elev
all_abi: $(TESTS)

wr_sc:
make -C $(LP)/write_loop/ run_elev_sc_wr_only
wr_elev:
make -C $(LP)/write_loop/ run_elev

# These are the legacy tests.

# Test symbiote functionality in roughly more challenging contexts.
EX=../examples/

# Want these in order, think undefined by make.
all: sync sudo_check check_proc_cmdline check_fsgsbase rebuild_all mitigate_cores all_clock all_elevate_lower all_getppid all_print_cr3 lebench stack_starvation trivial_int3 run_db run_db_reg

Expand Down

0 comments on commit b431a25

Please sign in to comment.