mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-11 09:05:33 +00:00
![pancake](/assets/img/avatar_default.png)
* Simplify x86nz assembler jumps - Fix 'test reg, reg' * Minor simplification of entropy.c
38 lines
784 B
Makefile
38 lines
784 B
Makefile
R=../ragg2
|
|
|
|
all:
|
|
${MAKE} hello
|
|
#${MAKE} foo
|
|
|
|
foo:
|
|
rabin2 -c mach0:`rasm2 -a x86.nz -f hello.s` a.out
|
|
|
|
bla:
|
|
${MAKE} hello
|
|
|
|
hello:
|
|
rm -f a.out
|
|
$R -s hello.r -o hello.s
|
|
cat hello.s
|
|
$R -x hello.r
|
|
$R -F -o a.out hello.r
|
|
#-./a.out ; RET=$$? ; if [ $$RET = 0 ]; then echo It Works ; else echo Oops.. Fail ; fi
|
|
|
|
hi:
|
|
rm -f a.out
|
|
$R -s hi.r
|
|
$R -F -o a.out hi.r
|
|
-./a.out ; RET=$$? ; if [ $$RET = 0 ]; then echo It Works ; else echo Oops.. Fail ; fi
|
|
|
|
customsyscall:
|
|
rm -f a.out
|
|
$R -s customsyscall.r
|
|
$R -F -o a.out customsyscall.r
|
|
-./a.out ; RET=$$? ; if [ $$RET = 2 ]; then echo It Works ; else echo Oops.. Fail ; fi
|
|
|
|
exithello:
|
|
rm -f a.out
|
|
$R -s exithello.r
|
|
$R -F -o a.out exithello.r
|
|
-./a.out ; RET=$$? ; if [ $$RET = 2 ]; then echo It Works ; else echo Oops.. Fail ; fi
|