841 Commits

Author SHA1 Message Date
jvoisin
51c6eecf0d Fix a previous mistake of mine in rahash. Sorry :/ 2015-06-02 00:03:43 +02:00
jvoisin
8155c6e8f2 Even more coverifix 2015-06-01 23:06:55 +02:00
jvoisin
2bc5f75f0f Fix some memleaks in r2 -h to make maijin happy. 2015-06-01 20:23:09 +02:00
pancake
b5317ac35c Update r2 -A manpage and help 2015-06-01 11:31:01 +02:00
pancake
a793859d5b Fix some COVs 2015-06-01 11:20:53 +02:00
pancake
10e8351512 Fix #2641 - Run aaa with r2 -A instead of aa 2015-05-29 01:40:06 +02:00
pancake
e19810e875 Fix #2642 - rabin2 -Aj and r2 -ciAj - JSON output for sub-bins 2015-05-29 01:38:31 +02:00
pancake
d9d18dc73b Fix memory leak in rabin2 with pdb.extract 2015-05-26 02:45:25 +02:00
inisider
c9d5d00a55 add env vars 2015-05-26 02:39:50 +02:00
inisider
6536e6cb28 start of implementation of issue #1909 2015-05-26 02:39:50 +02:00
Álvaro Felipe Melchor
75e719362d Fix #2603 2015-05-23 19:10:22 +02:00
pancake
878f81dca1 Fix radiff2 -g regression and some code cleanup 2015-05-19 17:41:09 +02:00
pancake
2c62eab3c8 Fix ASLR baddr while fixing r_file_abspath() on UNIX using abspath() 2015-05-19 15:35:08 +02:00
Kai Renken
56df8c1592 small fix 2015-05-19 14:12:33 +02:00
Kai Renken
720cedd59c some cleanups on radiff2 json output preparation for #1594 2015-05-19 14:12:33 +02:00
Quentin Santos
fc277cbe72 Document -d in r2 for debugging a process 2015-05-15 10:18:01 +02:00
pancake
589ee83f49 Fix ragg2 -v 2015-05-14 15:06:39 +02:00
pancake
45c5cd6b7a Fix ragg2 -w issue 2015-05-13 23:20:56 +02:00
pancake
14c6e46bfc Fix #2569 - alphabetically sort ragg2 -h 2015-05-13 23:07:30 +02:00
Quentin Santos
4f4346d889 Minor: more comments in ragg2.c 2015-05-13 22:55:52 +02:00
Quentin Santos
cfc499b227 Edit ragg2 result regardless of the type of output 2015-05-13 22:55:52 +02:00
pancake
96a44f8ebf Fix 32bit warning in rabin2 2015-03-29 10:23:14 +02:00
dequis
41a5a719f9 Fix #2544 - rabin2: do not d/l pdb if debug_file_name is null 2015-05-10 18:13:07 +02:00
dequis
e8a555bf46 radiff2: update help to reflect that -f was renamed -n
It was changed in 4c1253b but that commit missed the help part
2015-05-06 23:02:42 +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
Maijin
6aefa441b1 Fix shellcheck problem in scripts 2015-04-29 10:46:22 +02:00
pancake
33a64eab7e Load r2e plugins with rasm2 too 2015-04-23 00:56:59 +02:00
jvoisin
ceef56260d Fix #762 2015-04-19 21:54:25 +02:00
Anton Kochkov
549bfbd147 Revert "Fix CID 1293128"
To fix the actual and valid behaviour of rahash2
The corresponding CID is low priority
and could be fixed later proper way.

This reverts commit a48ead7c84e7187695d6bd9d54fa03cb5da43bcb.
2015-04-19 00:20:02 +03:00
jvoisin
a48ead7c84 Fix CID 1293128 2015-04-18 01:20:21 +02:00
Maijin
3b26388769 Fix all shellcheck errors 2015-04-17 21:56:01 +02:00
pancake
a0ef11be00 Fix 3 covs and several warnings in windbg for w32 2015-04-07 14:53:28 +02:00
pancake
061a2af999 Add radiff2 -CC for deeper bindiffing 2015-04-07 04:12:18 +02:00
pancake
25518385be Fix radiff2 -g: buffer was not flushed 2015-04-07 02:24:24 +02:00
pancake
24154ca69f Support -f without -t (defaults to eof) 2015-04-07 01:50:34 +02:00
pancake
364bcfc82f Permit rahash2 -i0 and bump capstone 2015-04-07 01:22:56 +02:00
pancake
3b4773d602 Add time.zone and time.fmt eval vars, honor zone in pt and correct PE gmt 2015-04-03 23:24:09 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
b553f607b7 Update rahash2 manpage and support -f/-t in -s/-x 2015-04-03 01:49:01 +02:00
pancake
6e8b84a7b3 Add rahash2 -x and fix other issues related to -f and -t 2015-04-03 01:37:26 +02:00
Jeffrey Crowell
29d583df60 fix some warnings 2015-04-01 21:10:49 -04:00
pancake
aed5e5e4a1 Fix PDB nullderef in rbininfo.file 2015-04-01 14:57:59 +02:00
pancake
e7b310a786 Properly limit rahash2 -Bb boundaries to filesize 2015-04-01 13:38:29 +02:00
pancake
df86cc3124 Fix all t/feat_grep tests 2015-04-01 03:33:12 +02:00
pancake
257ada577c Fix #2269 - rasm2 -d does not handle invalid input well 2015-04-01 01:29:15 +02:00
pancake
7292fbab40 Fix PE and Brainfuck crashes related to RBinInfo
- Fix warn in radiff2
2015-03-27 17:18:15 +01:00
Kai Renken
db4abd8f6b Fix #2061 - Add JSON style output to radiff2 2015-03-27 11:44:06 +01:00
pancake
1a73f5e807 Handle <directory> in r2 as an alias for cd /path;r2 --
Remove noisy eprintf and fix another crash
2015-03-23 00:41:50 +01:00
jcrowell
285b20ce1a disable auto-saving of history while in the sandbox 2015-03-20 22:58:34 -04:00
pancake
12ea9734b5 Fix about 15 more random COVs 2015-03-21 02:04:49 +01:00