1379 Commits

Author SHA1 Message Date
David CARLIER
fc40910ebf Freebsd build fix (#10213) 2018-05-28 18:47:49 +02:00
pancake
7965a77373 Add task_struct info in \p* for r2k.linux 2018-05-25 16:50:17 +02:00
pancake
3e619bff12 Add task_struct address in linux r2k procinfo 2018-05-25 14:31:16 +02:00
pancake
9cb30f102a Use cb_printf in io.r2k 2018-05-25 13:43:49 +02:00
pancake
6c3f61b627 Inline time.h timer api if not available :? 2018-05-21 02:22:17 +02:00
Paul I
7e9f982849 Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
pancake
e216f08826 Lowercase some help messages 2018-05-07 12:26:01 +02:00
Paul I
cc90ec6be5 [WIP] Move hardcoded paths to r_userconf.h (#9959)
* Move hardcoded paths to r_userconf.h

* Add R2_HOME_* macros

* Some cleanup
2018-04-28 10:02:55 +02:00
pancake
cf7dcf07dc Fix return value for RBuffer.sparse when reading beyond the end 2018-04-24 13:15:25 +02:00
Fangrui Song
ba024c938c Fix -Wexpansion-to-defined and -Wunused-variable (#9906) 2018-04-17 15:58:12 +02:00
Sebastien Marie
d707fb0f9b OpenBSD doesn't have stropts.h (#9864) 2018-04-11 16:58:25 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
Paul I
40b4a5b557 Meson: disable libversion info for Windows (#9858) 2018-04-10 22:44:54 +02:00
pancake
4ed0638dd4 Fix mem+fd leaks in io.gprobe reported by COV 2018-04-09 10:57:58 +02:00
fcasal
1941b0c430 invalidate most recent changes first 2018-04-08 18:20:57 +02:00
Khairul Kasmiran
335a5539ec Fix #9816: Linux doesn't support STREAMS either 2018-04-07 22:01:43 +08:00
pancake
0e2f6c0858 Fix build on macOS 2018-04-06 15:25:16 +02:00
Dirk Eibach
7049eb98aa io: Add changes from review
- Use r_sys_usleep instead of nanosleep
- Make a single if statement for input check in gprobe_get_reply_i2c()
- Add braces around single line if statements
- Add checks for r_buf_new
- use r_print_hexdump with NULL for RPrint

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-04-06 12:46:52 +02:00
Dirk Eibach
fc4e3e00be io: Add DDC2Bi3 protocol wrapper to gprobe plugin
The DDC2Bi3 wrapper is used for both DDC2Bi3 and I2C
communication channels, for example HDMI DDC or
I2C Host Interface.

Using this wrapper you can communicate with displays
that are based on Genesis chipsets like the Dell U2410.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-04-06 12:46:52 +02:00
pancake
250a4c89ed Fix previous covs from 2 days ago 2018-04-05 11:22:02 +02:00
radare
dfcf6f745d
Initial transition to use RBuffer in RBin (#9787)
* Initial transition to use RBuffer.io in RBin

- Fixes loading Core files from Virtualbox (> 2GB ELF64)
2018-04-03 20:23:26 +02:00
pancake
94af669a8f Implement r2k.wp and fix r2k.io 2018-04-03 14:44:23 +02:00
pancake
5247515d2c Bring back the old help message in r2k 2018-04-03 02:11:27 +02:00
pancake
f33bf51bef Improve r2k-linux \? commands and revert io.undo patch 2018-04-03 02:02:48 +02:00
pancake
5a5ab2693b Fix seek undo and make s.. push in the undo history 2018-04-02 22:41:12 +02:00
pancake
089a201ebc Hex numbers start in 0x (in r2k too) 2018-04-02 20:00:39 +02:00
Paul I
ca3652da4b Meson: Add version info for shared libs (#9763) 2018-03-24 18:18:32 +01:00
Paul I
4e73ad7d19 Meson: some cleanup (#9753) 2018-03-23 07:47:46 +01:00
Dirk Eibach
fe3c10fc22 io: Add gprobe plugin (#9735)
GProbe is a protocol to communicate with various parts from
Genesis/STMicro/MegaChips that are mostly used in video chipsets.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
2018-03-21 10:07:55 +01:00
condret
f1e744440a fix pcache ptr-fuckup 2018-03-14 23:54:41 +01:00
Adrian Studer
3983af51c5 Few improvements to 8051 memory mapping (#9686)
* update memory map when idata/sfr/xdata regs change
* set address space name on map
* fix regression, remove debug output
* fix regression, enable map name
2018-03-14 13:07:22 +01:00
fcasal
2f88594ea8 Fix JSON output of wcj (#9643) 2018-03-10 14:15:29 +01:00
Abdel-Rahman A
10c5d39b8d Add missing commas in oLj output (#9634) 2018-03-09 02:41:21 +01:00
Florian Märkl
5e1f811ec0 Fix meson indentation (#9567) 2018-03-03 22:08:37 +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
Duncan Ogilvie
e8621872b8 fix r_io_reopen when reopening with write access on windows (#9539)
workaround for #8840
2018-03-01 11:49:40 +01:00
Fangrui Song
0ac144d06a Clean up io and add some comments
* Add prefix mode r_io_nread_at
* Add r_io_read_at_mapped
2018-02-27 18:41:52 +01:00
Giuseppe
7a140d71e6 Use different color when pxw unmapped data (#9404) 2018-02-20 23:55:11 +01:00
Giovanni
0c776c0e71 warnings from lib (#9445) 2018-02-20 23:19:35 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
pancake
f1be2a2af3 Fix more crashes related to reopen gdb:// 2018-02-18 03:18:30 +01:00
pancake
eef94066a0 Fix some crashes for 9410 2018-02-18 03:08:17 +01:00
Fangrui Song
ac4db23570 Report error if write fails. (#9416) 2018-02-17 19:05:04 -06:00
pancake
f5aa5906d4 Fix last covs (null derefs and leaks) 2018-02-12 14:27:38 -06:00
Oscar Salvador
dd4ad11379 fix ood whitespace (#9302) (#9353) 2018-02-09 21:37:47 +01:00
Adrian Studer
207e8596cd refactor for riobind 2018-02-03 19:22:56 +01:00
Marc
9d359653dd Fix Segmentation fault in io_zip for IPA files (#9262) 2018-01-29 23:46:26 +01:00
pancake
43420e4671 Add Vb[is] for imports/symbols 2018-01-24 10:47:33 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
pancake
da8badf3cc Where in time is r_io_open_buffer? 2018-01-11 01:03:45 +01:00