1928 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
6eaf7bafa9 Escape \v and \a in disasm (#9645) 2018-03-11 14:32:28 +01:00
Vanellope
3ef95a0856 Fix V! stack pane stuck (#9596)
* Got the fix i added back to ansi crop so that the api works like the way it should
* Fixed all the glitches at once!
2018-03-08 01:01:09 +01:00
Vasco Franco
a4de64b169 Fixed null pointer deref in p_format.c (#9623)
Fixed null pointer deref in the command 'pf E' when it didn't receive an argument.
2018-03-07 21:59:20 +01:00
pancake
30e98b24be Fix: ed works when no r2rc exists, add RFile.touch() and fix .dump() 2018-03-07 01:20:06 +01:00
pancake
92fc73f7d9 Partially enable utf8 in visual panels and honor color theme 2018-03-05 23:32:27 +01:00
Ayman Khamouma (ak42)
a95f9429d0 fix #9545: allow subsequently loaded cpython modules to access libpython symbols (#9570) 2018-03-05 18:16:34 +08:00
Jack Baker
5e93912b24 Fix colorizing real-mode addresses twice (#9573) 2018-03-04 22:29:40 +01:00
Florian Märkl
95a1b75784 Install Headers and .pc Files with Meson (#9548)
Use meson pkgconfig for .pc files

meson 0.44

Install same headers as acr
2018-03-03 20:00:18 +08:00
pancake
8d675ab95a Fix glitch in graph cropping introduced in 173c7ee49fd4d2c70ae6d4aa9a99602b41f50cea 2018-03-01 12:01:29 +01:00
michaelbr92
e71d6c01b7 Add escape encoding for json in print format ascii string (#9497)
* add escape encoding for json in print format ascii string

* fix review notes

* remove unneeded parentheses in loop condition

* print the whole encoded_char string instead of iterating in an inner loop

* replace all the loops over list in the pfj to use r_str_escape_utf8
2018-02-28 20:58:16 +08:00
Giuseppe
d77ad33b69 Fix mkdir -p for r2 shell (#9532)
Also make r_syscmd_mkdirp return a
string, instead of printing output on
stderr via `eprintf`. This will help
testing.
2018-02-28 01:24:46 +01:00
Farid AYOUJIL
c52849b03b Adding 'F' format for double 'f' is float (issue #7318) 2018-02-26 17:11:11 +01:00
Khairul Azhar Kasmiran
acea95544d asm.asciidot -> scr.strconv=asciidot (#9485) 2018-02-24 12:01:21 +01:00
Riccardo Schirone
729a42c731 Do not overwrite row_offsets while printing disassembly (#9476) 2018-02-23 10:46:39 +01:00
pancake
f9db7d3bdb Implement cp. and fix r_sys_copy on mac/ios 2018-02-21 02:59:46 +01:00
Giuseppe
7a140d71e6 Use different color when pxw unmapped data (#9404) 2018-02-20 23:55:11 +01:00
pancake
c49fe88eea Fix crash in r_th_free (NULL); 2018-02-20 22:24:29 +01:00
pancake
792956c67d Add a loading animation in a thread when using r2 -t 2018-02-20 22:21:38 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
Fangrui Song
e3b9ae9113 Reduce references of core->block (#9425) 2018-02-19 13:30:32 +01:00
Vanellope
173c7ee49f Fixed the bug where the stack pane in V! mode gets stuck when it scrolls down 2018-02-17 17:56:44 -06:00
SkUaTeR
f8cf84e065 Fix some bugs (#9403)
* fixed some bugs
* format bug fix
* added MSVC version _time_stamp_to_str
* struct format
* adjusting output same as linux
2018-02-17 15:14:34 +08:00
Riccardo Schirone
818d9db3c1 util: when writing to a format value, overwrite all bytes (#9392)
Before this patch, when you did:

pf.test xww v1 v2 v3
pf.test.v2=0x1

only the first byte was overwritten, leaving whatever was in the high
byte of v2 there.
2018-02-14 15:06:52 -06:00
pancake
1414625ae0 Fix use of r_list_uniq in disasm, needs more review 2018-02-12 16:00:14 -06:00
pancake
bc84cd06d0 Implement r_list_uniq and fix the multiple main issue 2018-02-12 14:53:35 -06:00
pancake
636d95449f Fix regression in RBuffer.fcpy 2018-02-12 14:17:03 -06:00
pancake
d67742eb60 Support RIOBind on RBuffer for fcpy_at 2018-02-12 10:28:00 -06:00
pancake
d6a174019d Initial support for RIOBind on RBuffer 2018-02-12 09:08:41 -06:00
Rafael Rivera
3031324be3 Initial e dbg.symstore support (#9338) 2018-02-09 11:34:09 +01:00
pancake
5d4439d246 Greenify Travis 2018-01-23 11:21:04 +01:00
pancake
b57fe402c7 Remove noisy printfs and use more calloc 2018-01-22 17:44:33 +01:00
pancake
31d550a54b Introduce r_sys_prefix 2018-01-16 11:58:47 +01:00
pancake
303820dbac Initial purge of R2_PREFIX towards dir.prefix 2018-01-16 11:13:21 +01:00
pancake
e416a79097 Implement minigraph disasm scroll with JK keys 2018-01-14 17:49:36 +01:00
Khairul Kasmiran
2ca2f9c5d2 Fixed r_str_split comment 2018-01-13 13:14:06 +08:00
whitequark
0f97fdd228 Fix numerous issues with pkgconfig files.
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that
    would be overwritten by `make pkgcfg` have been moved to
    Makefiles proper.
  * Missing .pc.acr files for libraries r_egg and r_crypto were
    added to the tree as well as the configure script.
  * Instead of explicitly listing every -lr_* library in every
    .pc file in the Libs: section, r_* libraries are now listed
    in the Requires: section, which ensures that flags get
    transitively propagated. This gets rid of the MAGICSED hack.
2018-01-11 23:09:22 +01:00
pancake
52d93207af Initial de-rcorefile-fication 2018-01-10 13:45:37 +01:00
Paul I
e2bb54b41d Update meson.build (#9163) 2018-01-09 18:50:40 +01:00
pancake
0036b2cae8 Rename r_str_clean -> r_str_trim_nc // TODO: Find better name 2018-01-08 10:23:57 +01:00
pancake
0cb277c2a6 r_str_ansi_chop -> r_str_ansi_trim, r_str_chop_path -> r_str_trim_path 2018-01-08 03:33:01 +01:00
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
pancake
48896bdfb7 Initial implementation of the dyldcache symbols parsing
- Inspired by dsc_syms.c
2018-01-08 03:05:43 +01:00
pancake
7f40f36c3a Initial draft implementation of the loader plugins for RBin 2018-01-07 21:54:41 +01:00
Khairul Kasmiran
1e5ddf63ba Removed spaces from func defs in str.c 2018-01-07 14:54:56 +08:00
Khairul Kasmiran
3458ef6195 Renamed R_BIT_SWAP to R_BIT_TOGGLE 2018-01-07 14:46:35 +08:00
pancake
8f4fe068ba Fix another overflow in rbtree 2018-01-03 11:27:08 +01:00
pancake
d26a27dfd2 Fix crash in aab because of rbtree 2018-01-03 02:28:15 +01:00
pancake
87e29dc171 Enhance the iteration of bbs in pdc, needs proper rewrite 2017-12-27 23:39:01 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00