Commit Graph

12902 Commits

Author SHA1 Message Date
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
213f8170de Fix fork detection 2017-07-05 07:30:16 +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
Srimanta Barua
6d5585fc68 Fix for incorrect pc after breakpoint, in x86 gdb (using signal 5) 2017-07-04 19:44:09 +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
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
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
SkUaTeR
c31d81da26 support for static build (#7822)
* support for static build
* improved sharard/static build
2017-06-28 22:54:40 +02:00
pancake
4e4ed9fd20 Implement s== to show flag names, not just offsets 2017-06-28 14:13:12 +02:00
Sven Steinbauer
6283f7ecfc Fix and refactor imul for x86.nz (#7832)
* Fix and refactor imul for x86.nz

The imul op wasn't correctly supported in x86.nz so decided to update
and refactor it. It now supports all operand numbers and combinations as
per the docs.

* Remove dead code
2017-06-28 13:54:15 +02:00
pancake
78667c5b64 Better cmd.gprompt 2017-06-28 12:59:11 +02:00
pancake
dac86f039a Fix visual cursor, invert V|| offset and fix so-1 2017-06-28 02:21:16 +02:00
pancake
3e7c01e5e4 Implement asm.minvalsub variable 2017-06-28 01:29:04 +02:00
pancake
c016024995 Implement |T to pipe to the scr.tts engine 2017-06-28 01:16:13 +02:00
Ren Kimura
fd765893dc Removed end point trace session 2017-06-28 00:56:41 +02:00
Khairul Azhar Kasmiran
34dfc489c8 Use r_str_escape for io strings 2017-06-28 00:56:22 +02:00
pancake
bf883ee806 Reduce flashes in V|| aka cmd.cprompt 2017-06-28 00:35:58 +02:00
pancake
721304a3ed Implement visual entropy browser with V|| and then hl keys to move 2017-06-28 00:24:26 +02:00
pancake
716ade94bf Remove noisy warning 2017-06-27 23:44:38 +02:00