Commit Graph

49 Commits

Author SHA1 Message Date
Maijin
7cecadb74a Removing useless files/doc 2016-07-28 07:59:10 +02:00
pancake
2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
Matthieu Tardy
1a573e1056 Cleanup binr/*/*.c
r2agent:
- Fix the usage to match other r2 binaries.
- Remove trailing whitespace.
- Remove addressed TODO.
- Add a default case to display usage and exit if -p option was used
  without argument.
- Return 1 instead of 0 if too much arguments are provided.
- Small coding style fixes.

radiff2:
- Small coding style fixes.

rafind2:
- Add a default case to display usage and exit if an option have a missing
  argument or getopt does not recognize an option character.
- Small coding style fixes.

ragg2:
- Small coding style fixes.

rahash2:
- Remove useless optarg check.
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.

rarun2:
- Small coding style fixes.

rasm2:
- Small coding style fixes.
- Missing arguments and unknown options now display usage and exit.

rax2:
- Small coding style fixes.

radare2:
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.
2016-03-05 19:52:42 +01:00
pancake
e368cb1513 More static build fixes 2015-11-01 11:43:05 +01:00
Riccardo Schirone
7323e0ef05 socket/run: split r_run_start to make debugging easier
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
721ad8de26 Add r2preweb rarun2 rule to start the webserver in a thread in r2preload 2015-06-02 03:54:26 +02:00
pancake
8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
pancake
667ebad3eb Fix build 2014-07-09 03:12:39 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake
565b0db97a Fix build on Linux 2014-07-08 22:47:50 +02:00
pancake
9efb41594b Initial WIP support for ASLR var in rarun2 profiles and io/debug 2014-07-08 13:40:33 +02:00
pancake
65a5d2b5d5 Fixes rarun2 for HaikuOS 2014-06-26 16:22:08 +02:00
pancake
d9ec210d5e Fix rarun2 build on w32 2014-06-04 23:05:34 +02:00
pancake
6612425639 Add 'core', 'maxproc', 'maxfd', 'maxstack' options for rarun2 2014-06-04 03:38:52 +02:00
pancake
2233312335 Add sleep directive in rarun2 2014-05-31 21:01:42 +02:00
jvoisin
7abb1b0e44 Fix CID 1134971 2014-05-21 16:20:23 +02:00
Anton Kochkov
179cc5c32d Fix CID 1134974, 1134975 2014-05-19 06:11:09 +04:00
jvoisin
a88b87fe49 Fix CID 1134974 2014-05-10 22:46:22 +02:00
jvoisin
2a04c2544d Fix typo introduced by previous commit 2014-05-09 13:34:06 +02:00
jvoisin
8b888da2ce Fix some vulns in rarun2
Check return values ffs!
2014-05-09 13:29:11 +02:00
Anton Kochkov
5fc6eb37a4 Fix CID 1134975 2014-05-02 14:52:33 +04:00
Anton Kochkov
e1822b6b15 Revert "Fix CID #1134974" - fix segfault
This reverts commit 75f4d83afe.
That was causing segfault on exit
2014-04-24 02:49:20 +04:00
Anton Kochkov
75f4d83afe Fix CID #1134974 2014-04-24 01:45:32 +04:00
Anton Kochkov
932d143ddd Fix CID #1134975 2014-04-24 01:39:51 +04:00
pancake
d4ec9cf5a6 Handle libpath in rarun2 2014-03-03 17:55:52 +01:00
pancake
ffaa61c084 Fix install of libr2 2014-03-02 00:54:05 +01:00
pancake
9ec418ec37 Fix rap:// and enhace RConsMouseWheel support 2014-03-02 00:31:35 +01:00
pancake
fcc9489c4f Fix some more warnings 2014-02-25 12:18:29 +01:00
pancake
4a5165f232 Add missing Jamroot files in binr/ 2014-01-03 01:03:39 +01:00
pancake
7caa013414 Handle system= rule in rarun2 2013-12-02 00:56:23 +01:00
pancake
88278928f5 Handle '@' and ':' and '"' strings in rarun2 args 2013-10-06 18:44:26 +02:00
pancake
117a462424 Fix rarun2 preload for latest OSX. Add il help and fix R_EGG constants 2013-10-06 03:54:19 +02:00
pancake
6315842d5b Add 'unsetenv' and 'envfile' directives in rarun2 2013-09-17 17:27:52 +02:00
pancake
3c62d1905a Fix rarun2 stdout and stderr pipes
dcu requires argument to work
Enhace rarun2 manpage
Fix rax2 -B for negative values
2013-05-05 19:39:01 +02:00
pancake
57503ff1fe Fixes for arm64 disasm, string filter in rarun2 arg directives 2013-02-26 09:27:09 +01:00
pancake
d5c68d9766 Add rafind2 -Z, fix rasm2 -dfB, check chroot() return in rarun2 2013-02-14 20:08:42 +01:00
pancake
61b0f8e78a Fix build 2012-10-25 21:56:42 +02:00
pancake
7f5a84b57a Add new code analysis vars and update manpages
rasm2 defaults -o to 0 instead of 0x8048000
fixes in rarun2 to make it more userfriendly
update some manpages with examples
enhace output of 'afi' command
fix 'pi' bug setting blocksize
fix 'pdi' bug ignoring user defined len
add $C $J $X and $F $I code analysis variables
run r2irc.js in sandbox mode
2012-10-22 02:28:42 +02:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
61a10eb2aa rarun2 now supports connect/listen with r_socket
Use SO_REUSEADDR in r_socket_listen ()
2012-07-13 02:03:36 +02:00
pancake
14f85bd76f * Import Glyn Kennington's patch for the build system
- Use absolute paths everywhere and simplify Makefiles
2011-11-03 11:49:50 +01:00
pancake
1f7f9dc036 * Enhacements for rarun2
- 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
2011-10-24 04:35:42 +02:00
pancake
e9d1dcb4ec * Fix make w32dist
* Update manpages
* Added r2 -H for env and files help
* Add rarun2 -h
* Show assembler/disassembler features in rasm2 -L
* Add opcode 'mov dword [ebp-12],4' to x86.nz
  - Make t/test.nz work with x86.olly (32bit only atm)
* Fix unknown os issue with tiny-pe files in r_bin
* Fix some plugin names build fails in mingw32
* MAGICPATH renamed to R_MAGIC_PATH
* Add another experimental way to generate gir files
  - Added dummy test.js for nodejs
* Build python-dist in farm

--HG--
rename : man/rarc2-tool.1 => binr/old.rarc2/rarc2-tool.1
rename : man/rarc2.1 => binr/old.rarc2/rarc2.1
2011-10-12 03:24:19 +02:00
pancake
279d4e6f5f * Fix make deinstall
* rarun2 and rasc2 now depend on r_util
* Add r_mem_protect() as a wrapper for mprotect/VirtualProtect
* Fix segfault in java class parser

--HG--
rename : binr/rarun2/main.c => binr/rarun2/rarun2.c
2011-09-19 13:54:57 +02:00
pancake
168d38fc44 * Add rax2 -x to calculate string hash
* Use trim to avoid noisy chars in symbol names for egg/lang
* Properly handle osx/w32 os strings in r_egg
* Make string construction works in r_egg
* Initial work on while() constructs
2011-08-09 11:06:50 +02:00
pancake
d99fbd7680 * Fix make mrproper
* Initialize {code,data}_offset to 0
2011-08-08 00:54:00 +02:00
pancake
c1a7557959 * Handle environment variables in rarun2
* Added support for F12 key in r_cons
* Added key.f# eval vars to configure function keys in visual
2011-06-06 00:16:11 +02:00
pancake
f7f82ecbc0 * Implement support for handling av/repag and Function keys in r_cons
* Remove -u flag in r2 (was not implemented, but not needed)
* Added ?v command
* Check if file exists in rarun2
* Fix cmd.vprompt
* Some fixes in io.undo
  - Two test cases to check undo and redo ops
* Added 2 bugs in testsuite
2011-06-05 20:36:22 +02:00
pancake
8fe475a50f * Added rarun2 program 2011-06-05 01:33:28 +02:00