mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-08 14:20:19 +00:00
1f7f9dc036
- add 'timeout' directive - directives can now be passed in arguments - support more than 3 args for launching - show default config file in help * Added test suite for r_egg - Fix nested conditional and loops - Some situations can result in broken code - Code needs a huge cleanup * Varioues fixes for x86.nz plugin to make r_egg happy * Install python plugins into dist-packages only - site-packages is not the right place * Add R2_LIBDIR and R2_PREFIX constants * Honor LIBDIR in sdbpath for r_syscall * Fix rabin2 -h for -C
29 lines
305 B
Bash
Executable File
29 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
EXIT=0
|
|
OUTPUT="loop
|
|
loop
|
|
loop"
|
|
cat > t.r <<EOF
|
|
exit@syscall(1);
|
|
write@syscall(4);
|
|
|
|
main();
|
|
|
|
fun2@(128) {
|
|
write (.arg0, .arg4, .arg8);
|
|
}
|
|
|
|
fun@(128) {
|
|
fun2 (1, .arg0, .arg4);
|
|
}
|
|
main@global(128,128) {
|
|
.var0 = 0;
|
|
while (.var0<2) {
|
|
fun ("loop\n", 5);
|
|
.var0 += 1;
|
|
}
|
|
exit (0);
|
|
}
|
|
EOF
|
|
. ./t.sh
|