added glibc and memaccess
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Send assembler file to remote machine to run
|
||||
scp start.S home-1:/home/akilan/cheri/output/sdk/bin/
|
||||
# scp main.c home-1:/home/akilan/cheri/output/sdk/bin/
|
||||
scp main.c home-1:/home/akilan/cheri/output/sdk/bin/
|
||||
scp malloc.c home-1:/home/akilan/cheri/output/sdk/bin/
|
||||
|
||||
# scp cheri.S home:/home/akilan/cheri/output/sdk/bin/
|
||||
@@ -13,7 +13,7 @@ scp malloc.c home-1:/home/akilan/cheri/output/sdk/bin/
|
||||
# ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./clang --target=riscv64-unknown-elf -march=rv64gcxcheri -mabi=lp64d -nostdlib -nostartfiles -Wl,-Ttext=0x80000000 -o testC start.S main.c'
|
||||
|
||||
# Malloc test implementation
|
||||
ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./clang --target=riscv64-unknown-elf -march=rv64gcxcheri -mabi=lp64d -nostdlib -nostartfiles -fno-builtin-malloc -mcmodel=medany -Wl,-Ttext=0x80000000 -o testC start.S malloc.c'
|
||||
ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./clang --target=riscv64-unknown-elf -march=rv64gcxcheri -mabi=lp64d -nostdlib -nostartfiles -fno-builtin-malloc -mcmodel=medany -Wl,-Ttext=0x80000000 -o testC start.S main.c malloc.c'
|
||||
|
||||
# Disassembly ouput
|
||||
ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./llvm-objdump -d testC'
|
||||
|
||||
Reference in New Issue
Block a user