Commit Graph

1301 Commits

Author SHA1 Message Date
pancake
9e757e4226 Fix uaf in io.cache 2018-07-17 20:26:29 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
radare
3bd0368a43
Fix #10444 - aav, /v enforces the map information, considering null:// (#10508)
* Improve isValidAddress validation for aav (slower checks, faster when unallocated on fuzzed bins)
2018-07-09 16:32:34 +02:00
pancake
95d346b611 Fix #10674 - pzq and gcc build 2018-07-09 01:13:29 +02:00
pancake
da4a1bbc46 Implement ompd to depriorize a map 2018-07-08 02:57:39 +02:00
pancake
ef5551638b Make REUSE_NULL_MAPS a compile time option 2018-07-08 02:11:01 +02:00
pancake
57c2bb3a4b Create map when reusing descriptors 2018-07-08 02:11:01 +02:00
pancake
89a19973f0 Reuse null:// memmaps from rio.section from rcorebin for 'op' 2018-07-08 02:11:01 +02:00
Vanellope
bb5cfbcea4 Fixed some covs (#10621) 2018-07-05 11:48:56 +02:00
pancake
0c52d943e5 Fix visual hang in winedbg:// and implement dr* 2018-06-25 11:49:18 +02:00
pancake
2803fe80e8 Fix crashes in io.winedbg 2018-06-25 11:19:46 +02:00
XYlearn
94922ad4d6 fix winedbg buffer-aligned limitation. (#10413) 2018-06-25 15:04:35 +08:00
pancake
f5f090b709 Implement named breakpoints with support for expressions 2018-06-19 12:27:57 +02:00
pancake
7c5745b092 Kill the R_ITV defines (-8LOC) 2018-06-15 01:20:39 +02:00
pancake
a3456e6e3b Fix windbg io perms 2018-06-15 00:37:59 +02:00
radare
f6a04b34c8
Optimize ls_empty() and r_list_empty() (#10244) 2018-06-03 02:20:28 +02:00
Vanellope
33beea1575 fixed a problem concerned with dbg.trace and ood and dcu (#10234) 2018-06-01 09:35:48 +02:00
condret
cf0615738a implement pure io-plugin rw in R_API 2018-05-31 23:53:54 +00:00
pancake
b14d37b319 Fix build 2018-05-31 10:46:49 +02:00
Anton Kochkov
b6503504ab Fix build 2018-05-31 16:29:02 +08:00
pancake
711b5ca9b6 Fix last cov 2018-05-31 09:26:35 +02:00
Vanellope
4b89bec614 fixed the problem which was about ood having caused heap-buffer-overflow in asan (#10220) 2018-05-29 16:44:20 +08:00
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