Commit Graph

15114 Commits

Author SHA1 Message Date
Srimanta Barua
9e437f861b Added qRcmd monitor commands to io_gdb (#7877)
* Added qRcmd to io_gdb

* Printing reply to pkt and prompting for ack if required. Also adhering to r2 coding conventions
2017-07-08 10:29:11 +02:00
pancake
31a21ac1e7 Add more error checking in handle_redirection_proc 2017-07-07 16:58:52 +02:00
pancake
9c57ebc06a Fix a possible null deref in fi->name for #7872 2017-07-07 16:46:20 +02:00
pancake
5a0551f2b7 Simplify the freeing logic on the aea memory accesses 2017-07-07 12:29:14 +02:00
pancake
afaf94d5d9 aea -> aea* 2017-07-07 01:46:24 +02:00
danitorregrosa
4e7de0487c Fix #7851 - get filesystem abspath instead of URI (#7869)
* Fix #7851 - get filesystem abspath instead of URI
2017-07-07 00:32:02 +02:00
Nils Berg
df82290e43 cast immediate values to unsigned char instead of char (#7871)
for compilers that default to signed char, wrong values were generated by this cast

example:
$ # before
$ rasm2 -a sh -d 'ffc8'
tst 0xFFFFFFFF,r0

$ # after
$ rasm2 -a sh -d 'ffc8'
tst 0xFF,r0
2017-07-07 00:31:37 +02:00
pancake
86949245cd Make the aea output interpretable 2017-07-07 00:22:18 +02:00
pancake
803804b6cd Fix #7872 - Crash in disasm 2017-07-06 23:31:22 +02:00
SkUaTeR
41726dbe73 fix ouput of aerR/aer* (#7870) 2017-07-06 16:07:34 +02:00
Srimanta Barua
b1996bcffe Removed eprintfs before release (#7865) 2017-07-06 00:26:59 +02:00
Khairul Azhar Kasmiran
3f9eae9c60 Remove | highlight with asm.cmtright=false and call statement (#7864) 2017-07-05 17:01:43 +02:00
pancake
39e63acfe0 Fix last COVs (double free and memleak in grub code) 2017-07-05 13:13:53 +02:00
Sven Steinbauer
b61e278c01 Conditionally remove sh for iOS 2017-07-05 13:01:02 +02:00
pancake
213f8170de Fix fork detection 2017-07-05 07:30:16 +02:00
j123123
f3f71b195b Add NULL check at shlr/sdb/src/json/api.c (#7859) 2017-07-05 06:52:56 +02:00
j123123
5df164157f added NULL check and memory leak fixed in libr/util/w32-sys.c 2017-07-05 03:40:14 +02:00
Lowly Worm
949efc35e8 ignore some binaries 2017-07-04 14:00:53 -07:00
Lowly Worm
cca0ff90c2 clang-format 2017-07-04 13:59:58 -07:00
Srimanta Barua
6d5585fc68 Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5) 2017-07-04 19:44:09 +02:00
pancake
c57997e76e Fix r2_hbo_grub_memmove ext2 crash 2017-07-04 19:38:33 +02:00
pancake
8c3035acc2 Fix ios-sdk builds 2017-07-04 19:16:24 +02:00
Khairul Azhar Kasmiran
41b944b357 asm.strenc (latin1) (#7857) 2017-07-04 18:56:14 +02:00
Kenny MacDermid
e04b82059a Fix generated ESIL for AVR flags. (#7852)
A typo of `__generic_sub_update_flags_rr` meant that the generated
code contained the immediate as a register, resulting in the flags
not being set correctly.

After switching this to `_rk` the format of the immediate values were
still incorrect because they were being output as hex without the `0x`
prefix. This was changed to output decimal instead, as that matches the
format of the result value when doing operations like `cpi`. For
example:

    cpi r26, 0x2e
    46,r26,-,r26,0x08,&,!,46,0x08,&...

The format for the `__generic_add_update_flags` was also fixed, but
as there is currently no `_rk` version it doesn't affect anything.
2017-07-03 01:46:47 +02:00
pancake
7e4d73947d Fix build 2017-07-02 23:39:30 +02:00
pancake
50643229e7 Make Vb run dbs like key.f2 for consistency 2017-07-02 23:37:13 +02:00
Lowly Worm
704e057cc0 enable breakpoints when using f2 2017-07-02 14:34:39 -07:00
Srimanta Barua
d453d7430f pid/tid specific continue with signal for gdb (#7848)
* Corrected tid syntax, added pid/thread-specific continue
* Added continue with sig
2017-07-02 19:09:04 +02:00
Chinmay Deshpande
9dc2fc6bc5 Removes additional 'esil' from pdj output (#7850) 2017-07-02 11:42:26 +02:00
Khairul Azhar Kasmiran
1c9d10f6c0 asm.strenc (utf8, guess) (#7849)
* Fix #7674 - fix escaping of \u

* asm.strenc (utf8, guess)
2017-07-02 09:46:59 +02:00
Srimanta Barua
2424f962ce Check which vcont commands and use them if they are (#7847) 2017-07-01 21:16:48 +02:00
Simone Ferrini
283c2796d1 [bin_mach0] added NULL check to fix a segmentation fault (#7846) 2017-07-01 15:00:17 +02:00
Khairul Azhar Kasmiran
486de5ba75 Fix #7755 by preventing ffffff (#7845) 2017-07-01 10:08:41 +02:00
Khairul Azhar Kasmiran
fd6bf467dc Use r_str_escape for ASCII anal addr strings (#7834)
* Use r_str_escape for ASCII anal addr strings. Cleanup string printing code.
* pdsf -- consider esc seq as 1 char
2017-06-30 17:45:47 +02:00
Sven Steinbauer
c97d11b1f9 Fix pass by value errors from scan (#7842) 2017-06-30 17:40:27 +02:00
xarkes
342887c7d8 Fix windows F keys press in visual mode (#7843) 2017-06-30 17:40:07 +02:00
pancake
9b98a8a5e4 Fix #7841 - allow scroll in pCD 2017-06-30 11:38:46 +02:00
Lowly Worm
311dfdeed3 make a valid clang-format
* this still is suboptimal because it doesn't differente spaces between
 parens for declaration vs definition
2017-06-29 22:42:38 -07:00
Lowly Worm
c88e4ef13b ignore infer static analysis output and cscope 2017-06-29 22:18:20 -07:00
Lowly Worm
dacc49b1bc more grammar role/roll 2017-06-29 18:45:25 -07:00
Lowly Worm
2ef0e2ca46 fix homophone grammar error "role/roll" 2017-06-29 18:44:29 -07:00
jmcfadyen
5c72e1a94b Add format parsing for 'x\' command (#7839) 2017-06-29 17:38:15 +02:00
xarkes
927c484932 Reorganized meson version grabbing (#7828) 2017-06-29 17:35:40 +02:00
pancake
18890c6dcb Fix 32bit issue while constructing method flags
- 1L = 32bit on 32bit and 64bit on 64bits, must be 1LL
- otherwise the <<n overflows and iters twice the same bits
2017-06-29 17:32:01 +02:00
Srimanta Barua
ff7b6c1df2 Optimized gdbserver mem read, and added gdbserver mem write 2017-06-29 17:17:22 +02:00
masapastosa
f4185a2ec9 Fix #7830 - Help for |? like ?|? 2017-06-29 17:16:24 +02:00
pancake
bb324d3709 Fix format strings, class->index is int, not ut64 2017-06-29 16:36:04 +02:00
pancake
9be31cfd9c DT_FLAGS_1 are bitfields not a plain value, fixes full relro detection 2017-06-29 16:01:07 +02:00
xarkes
3ee2bd5ede Set windows meson default to static libraries (#7840) 2017-06-29 10:57:20 +02:00
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00