Commit Graph

16615 Commits

Author SHA1 Message Date
pancake
7e0db0ff8f Fix #8941 - Fix crash in arm.winedbg (null deref) 2017-12-03 13:10:59 +01:00
Khairul Kasmiran
b6ea43e155 Removed a spurious ds_align_comment 2017-12-03 19:31:48 +08:00
sivaramaaa
3b6d24661f /s now honor search.in and align (#8940) 2017-12-03 12:31:07 +01:00
Khairul Kasmiran
3d367153f3 Fixed premature alignment of ESIL comments that was causing trailing spaces 2017-12-03 18:42:54 +08:00
kriw
988db95b5e delete unnecessary space (#8938) 2017-12-03 11:14:56 +01:00
pancake
04b32a252c Fix minor spacing and color issues in disasm 2017-12-03 02:02:13 +01:00
pancake
e811e2647b Query the user before running the .r2 companion file 2017-12-02 21:43:15 +01:00
xarkes
0d95b7f469 Adding node testsuite to appveyor (#8313)
* Adding node testsuite to appveyor
* Removed -g on mingw
* Set correct mingw32 compiler
* Disabled Mingw32 build
2017-12-02 23:42:47 +08:00
kriw
551d7bebb6 rax2 fix overflow (#8928)
* fix overflow

* pass NULL to r_print_hex_from_bin in rax2
2017-12-02 16:15:23 +01:00
kriw
96756b37c9 Support numeric conversion like rax2 (#8926)
* support ternary evaluation

* support multiple values for numeric conversion

* add prefix for binray and ternary valuse

* Fix #4101

* fix r_num_to_trits in case 0t0
2017-12-02 16:15:06 +01:00
xarkes
f00e6048de Merge branch 'master' of https://github.com/radare/radare2 2017-12-02 12:56:38 +01:00
xarkes
6cad3b5225 Some meson linux improvements 2017-12-02 12:56:31 +01:00
sivaramaaa
5897f03dfa fix #8718 , honor eval in /r (#8933) 2017-12-02 11:32:25 +01:00
Khairul Kasmiran
db357015f7 Added cfg.bigendian note to wv help 2017-12-02 15:48:15 +08:00
pancake
3068b2d270 Implement fO command to ordinalize flag names matching a glob 2017-12-02 02:11:22 +01:00
kriw
ee1de0ab9b Fix #2479 impl bin -> hex (bignum) (#8925) 2017-12-01 16:00:22 +01:00
sivaramaaa
187697d889 Added ae subcommand to emulate N instructions starting at X offset (#8912) 2017-12-01 13:46:01 +01:00
Nics
680d3e3329 Implem and integration of the Serpent cipher (ECB) (#8917)
* Implem and integration of the Serpent cipher (ECB)

* Fix for loop variables to be C90 compliant.

* Fix coding style

* Add meson config for Serpent
2017-11-30 22:47:29 +01:00
Florian Märkl
fbfa9d9330 Fix offset in anj (#8924) 2017-11-30 22:12:57 +01:00
Florian Märkl
f23adae6f4 Add anj command (#8922) 2017-11-30 16:14:38 +01:00
pancake
758aa9f46f Implement pdr. and pir. to disasm recursively the whole function but only print from here 2017-11-30 15:45:27 +01:00
Srimanta Barua
24aa0bbb83 Fix #8916 - Add dmm to gdb (#8921) 2017-11-30 15:08:37 +01:00
Khairul Kasmiran
c99bbbde62 Fix Cs. for Cs8 strings and honor str.escbslash 2017-11-30 21:41:13 +08:00
Florian Märkl
8fb829662e Improve and fix an (#8920)
* Make an show current name if no name specified
* Better arg parsing for an
2017-11-30 14:21:24 +01:00
Iru Cai (vimacs)
f0ae052e42 Fix tmpseek when execution times is in the command (#8915)
Before applying this patch, running `times cmd @ tmpoff` will seek to
*tmpoff* and run *cmd* the first time, restore to the original offset,
then run *cmd* at the original offset for the rest of the time. This
will break the `wxs` command which changes the offset after each run.

In this patch, when tmpseek is used in `[rep] cmd @ tmpoff`:
1. save core->offset, seek to tmpoff
2. run the command rep times, do not restore the offset after a run
3. then restore core->offset even if cmd changes offset

Test:
- s addr @ tmpoff: this should not change the offset
- rep wxs bytes @ tmpoff: this should write bytes *rep* times
  starting at *tmpoff*, then the offset is restored

More tests are needed
2017-11-30 14:12:48 +01:00
pancake
4643d27d05 Improve the ?Vj and add ?Vc 2017-11-30 10:42:23 +01:00
pancake
b9f14b86fd Honor asm.flags in pds 2017-11-30 01:24:12 +01:00
Æde Symen Hoekstra
b581ff82f0 Fix small memory leak (#8910) 2017-11-30 00:49:23 +01:00
Giovanni
147b990bbd Fixed #7881 (#8911) 2017-11-30 00:48:48 +01:00
Giovanni
11f22d2828 fixed ppc esil for RLD[I]C[L/R] and BD* instructions and mask[32/64] (#8914) 2017-11-30 00:47:57 +01:00
pancake
7541f18a36 Fix crash in capstone-sparc 2017-11-30 00:30:06 +01:00
pancake
04451ab241 Do not honor asm.tabs in pds 2017-11-30 00:17:01 +01:00
pancake
4262a96d3a Fix #8913 - asm.offless is now asm.immtrim, + fixes for pds 2017-11-30 00:14:08 +01:00
pancake
f709581526 Honor more asm. directives in pdr and pdR 2017-11-29 18:56:12 +01:00
Giovanni
83d6067db9 fixed wrong output (#8908) 2017-11-29 04:16:12 +01:00
pancake
3978bd1ac5 Initial import of the /f webui 2017-11-29 04:09:23 +01:00
pancake
5a9f1fd2ac Fix regression in r_snprintf 2017-11-28 22:43:17 +01:00
pancake
edf43610e6 Fix null deref in disasm with asm.emu because of the cc_source var 2017-11-28 20:23:05 +01:00
Srimanta Barua
a7af340174 Fixed double free in the gdbclient 2017-11-28 17:59:26 +01:00
Martin Carpenter
ac3b96b382 Re-open stderr to nul or /dev/null on -2 flag 2017-11-28 17:58:48 +01:00
pancake
d505902165 Add r_snprintf to null terminate strings and fix oobread in esil2reil 2017-11-28 17:54:38 +01:00
pancake
163070e5e1 Fix infinite loop and use-after-free in r_flag_unset_glob 2017-11-28 16:52:33 +01:00
Khairul Kasmiran
f1c6b694f2 Don't print ESIL str if jump op 2017-11-28 21:59:29 +08:00
pancake
7c803b0e52 Fix powerpc autodetection 2017-11-28 13:41:33 +01:00
pancake
e67c8dc0f2 Avoid false positives in the ISPPC test for binr/preload 2017-11-28 13:22:19 +01:00
pancake
fe649cf4e3 Fix build on old Macs 2017-11-28 13:21:49 +01:00
pancake
d909c3d333 Add new command afi. to just get the function name 2017-11-28 11:37:49 +01:00
pancake
07caf282f7 After-release version bump 2017-11-28 11:05:53 +01:00
pancake
ee60699cea Add asm.anal option to analyze code and refs while disasm 2017-11-28 10:52:04 +01:00
pancake
95f842729c Release 2.1.0 2017-11-27 13:31:04 +01:00