Commit Graph

15487 Commits

Author SHA1 Message Date
Jaime Peñalba
cc84f9f772 Fix for r_io_write to use vaddr when peeking (#8212)
Write operations seek multiple times, and `r_io_seek` tries to translate seek
addr into maddr. When maddr and vaddr overlap this can cause that we end up
writing in a different address than intended, so we translate maddr into
vaddr always prior calling to `r_io_peek_at`.
2017-08-15 00:03:49 +02:00
izhuer
106eb06bd3 add afCr[j] command (#8202)
* switch afc command with afC command, meanwhild change afcrj to fit r2api
2017-08-14 19:09:36 +02:00
Fangrui Song
a4b4fc72dc r_io_cache_read: fix number of bytes returned (1, should be 0) when c->to == addr 2017-08-14 18:58:18 +02:00
tantecky
2586323998 Syscall number can be 0 2017-08-14 18:53:22 +02:00
Sven Steinbauer
486ccda82f Add rep ops to x86 (#8210) 2017-08-14 12:25:26 +02:00
pancake
3b4c60908d Fix double-free in jemalloc 2017-08-14 11:43:09 +02:00
pancake
f57ab8882e Handle cfg.debug in dso command 2017-08-14 11:40:11 +02:00
Fangrui Song
31be3d3ba7 Add instruction descriptions from Intel Instruction Set Reference Volume 2 (#8209)
The descriptions are taken from https://github.com/HJLebbink/x86doc
2017-08-14 11:14:19 +02:00
NighterMan
d17a1851ef Fix iD to be compatible with r2pipe 2017-08-14 01:24:55 +02:00
Fangrui Song
a82a239275 Fix leaks in rcons and annotated hexdump 2017-08-13 14:01:00 +02:00
Srimanta Barua
9d5306a520 remove strlcpy (was breaking on windows) 2017-08-13 16:39:32 +08:00
Lowly Worm
d602844c09 fix unchecked copy from regname in gdb xml parser 2017-08-12 22:13:45 -07:00
Lowly Worm
69ad78b2ce null ar after freeing to prevent double free 2017-08-12 22:07:54 -07:00
Srimanta Barua
9d65eebb36 Additions to gdb xml parsing (#8196)
* load gdbr register array from xml
* fix (probably unimportant) memory leak
* parsing of flag types
* r2-indent
2017-08-12 10:36:46 +02:00
Fangrui Song
f2336f4020 Make /o N behave like so -N (#8187) 2017-08-12 00:07:44 +02:00
alvarofe
c2b58d7cf0 Fix UaF in fs.c 2017-08-11 18:06:25 +02:00
Ren Kimura
d0cceb49ef Add dir.dbgsnap for the backstep debugger snapshots 2017-08-11 17:06:03 +02:00
Khairul Azhar Kasmiran
6ea639a716 Removed no longer necessary negative check (#8194) 2017-08-11 16:27:34 +02:00
pancake
a9ab7ed6aa Ugly workaround for syscall resolution on x86-32 2017-08-11 16:24:19 +02:00
pancake
fe287c3850 Fix ds when cfg.debug=false and syscall handling on linux.x86-64 2017-08-11 15:01:52 +02:00
pancake
563593c933 Fix #8191 - Fix null deref in gdb:// 2017-08-11 13:27:39 +02:00
Fangrui Song
ef1258f0f5 Fix a few more leaks 2017-08-11 13:22:37 +02:00
Sven Steinbauer
c9ff94d092 Fix x86 compiler warnings (#8192) 2017-08-11 13:18:29 +02:00
pancake
b5c678ff6d Fix last 3 mails of covs and some warnings 2017-08-11 13:16:19 +02:00
Lennart Braun
7b55621abd Replace non-breaking spaces with 0x20 (#8190) 2017-08-11 12:26:18 +02:00
pancake
59a94ae59f Fix #8084 - Honor colors in json_indent ~{} 2017-08-11 12:23:57 +02:00
Fangrui Song
475edf033d More cfg.newtab=1 completion and misc fixes to help messages (#8184) 2017-08-11 11:45:32 +02:00
alvarofe
8748d5eb5e Bring back dbg.trace.inrange in dtc command 2017-08-11 11:09:38 +02:00
alvarofe
98c252df43 Fix dtc command to avoid infinite loop 2017-08-11 10:53:54 +02:00
Iru Cai (vimacs)
784f6c3a1b only set file.lastpath when cb_filepath will return true (#8188)
make file.lastpath not polluted either after opening malloc:// files
2017-08-11 10:44:24 +02:00
Fangrui Song
72f2e8d46f Make /c support asm.addrbytes > 1 (#8186) 2017-08-11 10:43:27 +02:00
xarkes
cec147e1f7 Fix again meson... (#8182) 2017-08-11 10:22:16 +02:00
Sven Steinbauer
fd16338b21 Squash arm64 compiler warnings (#8179) 2017-08-10 18:34:25 +02:00
xarkes
57f2c6da27 Fixing meson build (#8178) 2017-08-10 17:04:13 +02:00
Khairul Azhar Kasmiran
2a2898312e RRune: int -> ut32 (#8177) 2017-08-10 17:03:52 +02:00
xarkes
c5dcf46d1d Adding windbg debug plugin to meson (#8176) 2017-08-10 17:01:43 +02:00
Anton Kochkov
1587a3299e Fix runtime error on 32bit systems (#8174) 2017-08-10 16:43:29 +02:00
Murphy
aaff5cf582 Move ich command to icc and fix comparison issue 2017-08-10 16:41:46 +02:00
alvarofe
7264603877 Revert "Fix meson build"
This reverts commit 96f1e821a2.
2017-08-10 13:15:30 +02:00
alvarofe
59241d0bd3 Fix crash due to uncheck negative value 2017-08-10 13:01:45 +02:00
xarkes
9bfda7c22e Merge pull request #8173 from xarkes/meson
Fix meson build
2017-08-10 12:58:35 +02:00
Maijin
fc3664d9ae Attempt to fix GCC/Linux Travis 2017-08-10 12:44:28 +02:00
Fangrui Song
3be2db7314 Fix wen and add comments to switch cases. (#8155) 2017-08-10 11:54:08 +02:00
Fangrui Song
335f2c62fc refactor r_core_cmd_init and add more help messages (#8171) 2017-08-10 11:52:13 +02:00
xarkes
96f1e821a2 Fix meson build 2017-08-10 10:18:12 +02:00
pancake
4b214d8627 Fix #8169 - Show backtrace with local vars with 'dbtv' 2017-08-09 23:38:42 +02:00
Khairul Azhar Kasmiran
6aa1cc250d iz: wide32 -> utf32le (#8160) 2017-08-09 22:56:55 +02:00
Ren Kimura
66f3c5f1e2 Fixed NULL dereference in dt+ 2017-08-09 22:55:44 +02:00
pancake
ca4011cefa Fix #8165 - Implement afvd command 2017-08-09 22:55:15 +02:00
Sven Steinbauer
2a685cba5b Support 8bit REX regs
fix #8097
2017-08-09 22:33:13 +02:00