102 Commits

Author SHA1 Message Date
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
alvarofe
42fb071d4b Fix #7198 - static code analysis by AppChecker 2017-04-02 12:22:04 +02:00
pancake
f1a31c0730 Fix #7006 - Support decimal in unit strings (f.ex: 2.3K) 2017-03-12 23:15:57 +01:00
pancake
0ae4a5c3e8 More r2-indent fixes. and reindent a bunch of files 2017-02-20 02:54:16 +01:00
pancake
70930f4496 Bring back the interest on sys/indent.sh 2017-02-10 02:05:58 +01:00
pancake
529c578487 Fix rax2 Ox (octal output) 2017-01-09 00:46:32 +01:00
pancake
620234f69d Fix windows build 2016-11-09 02:42:59 +01:00
vraelvrangr
f225ec0bc3 Fixing help issues in rax2 2016-11-02 00:06:08 +01:00
pancake
cea2c80d56 Show flags in dm, add dmq and add resolver in rnum 2016-10-16 02:34:54 +02:00
BlueC0re
8a5b5ae7b7 added support for escape sequences in r_num_as_string (#5897) 2016-10-06 11:24:39 +02:00
pancake
e10c664c55 Add msr/mrs for the armass64 assembler 2016-09-16 18:27:42 +02:00
monosource
67b1e63ab3 Fix rax2 b/B usage (#5411) 2016-07-28 15:28:31 +02:00
Maijin
7cecadb74a Removing useless files/doc 2016-07-28 07:59:10 +02:00
Maijin
80171b0dc5 Cleaning r_util.h 2016-07-27 16:55:20 +02:00
Maijin
6464e44a75 Fix #4834 2016-05-11 20:46:24 +02:00
Sven Steinbauer
b276795f1c Add r2 -r ? style output to rax2 2016-05-10 22:13:24 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
5ef2b3cc0f Fix many warnings 2016-04-11 12:22:15 +02:00
Anton Kochkov
232ce009fd Fix CID 1353775 2016-04-06 01:00:08 +03:00
pancake
a2bd77e43d Fix #4501 - implement rax2 -B and fix -b 2016-04-05 00:55:57 +02:00
Álvaro Felipe Melchor
b0c6ae4409 Fix #4295 and #4155
This commit is the first attempt to improve relocation
recognition when dealing with relocatables elf-files
2016-04-04 23:09:58 +02:00
Álvaro Felipe Melchor
bbf8685b3a Fix #4244 - oob write rax2 2016-03-07 01:02:03 +01: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
c8abef97ea Fix base64 decoding overflow in rax2 2016-02-27 16:10:02 +01:00
Goncalo Carvalho
c4ea7fd354 convert negative fp numbers to hex and add static assert macro 2016-01-23 23:20:52 +01:00
pancake
44b2e44f3d Add rax2 -w to wrap sign bit 2016-01-22 15:08:42 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
skuater
f5dec28846 Fix for windows stdin input 2015-11-09 22:44:16 +01:00
pancake
6b9671e7a9 Fix Fx.. float conversion in rax2 2015-10-28 10:27:55 +01:00
pancake
198174957c Fix rax2 -F C parser 2015-10-28 10:11:32 +01:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
jvoisin
98bb29c4ed Fix some clang-analyzer defects 2015-08-28 17:28:09 +02:00
pancake
0eff8ca0d2 Revert "rax2: refactoring, better error handling and update nampage"
This reverts commit 83ca1dab471f59fb6a487301e902badb849701c1.
2015-08-11 09:13:01 +02:00
Grigory Rechistov
83ca1dab47 rax2: refactoring, better error handling and update nampage
change flags from magic numbers to named enum values.
make error reporting more Unix-way by returning non-zero error status
man page is updated to reflect currently supported options
2015-08-11 02:22:21 +02:00
pancake
a793859d5b Fix some COVs 2015-06-01 11:20:53 +02:00
Álvaro Felipe Melchor
75e719362d Fix #2603 2015-05-23 19:10:22 +02:00
dequis
08ff4e493a Always use ut32 for unix timestamps. Also handle endianness properly
Because it turns out sizeof(time_t) is 8 in 64 bit platforms, but that
results in really broken 'pt' results, where half of the lines are
'invalid date'

Also, endianness handling was swapped in the case of 'pt' and
non-existent in the case of 'rax2 -t' (the latter actually did a weird
hack to swap endianness twice and get valid results).

Now rax2 -t supports the -e parameter to swap endianness.

The usage of r_mem_copyendian with r_print now matches what's done
in other places, with !p->big_endian instead of p->big_endian,
because 0 means swap and 1 means do nothing. Terrible function.

This also fixes some valgrind warnings about uninitialized values
(when copying 4 bytes to a 8 byte time_t)
2015-05-01 10:28:23 +02:00
pancake
12ea9734b5 Fix about 15 more random COVs 2015-03-21 02:04:49 +01:00
pancake
4ad5a7a27b Fix more base64 warnings 2015-02-09 23:37:49 +01:00
pancake
48422b07db Fix #1910 2014-12-26 19:42:35 +01:00
pancake
bb3be2c237 Implement rax2 -N for a C friendly version of -n, and support 64bit values 2014-10-28 16:32:53 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
pancake
3a9a733ebf Implement rax2 -F (r_stdin_slurp(), r_hex_from_c())
- Update rax2 manpage
2014-10-20 00:46:59 +02:00
pancake
d176cb1d01 Fix rax2 2014-09-26 17:11:10 +02:00
pancake
6d8b9608a7 Add doc for that new rax2 thing 2014-09-22 16:40:08 +02:00
pancake
a095ad7a42 Fix #1356 - rax2 =10 0x89984 or rax2 =16 ... 2014-09-22 16:35:23 +02:00
jvoisin
359846b0d1 Fix some buffer overflow 2014-08-18 14:22:36 +02:00
pancake
c40a4a8e82 Handle negative hex values in rax2 2014-07-13 22:12:29 +02:00
condret
70744a1ad9 support ternary values in rax2 2014-05-28 21:50:13 +02:00
jvoisin
031691f44e Implement rax2 -D and rax2 -E
Plus some re-ordering.
2014-05-22 09:26:17 +02:00