Commit Graph

172 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
d9057505dc
Set RPATH/RUNPATH on r2 libs too if local (#17639) 2020-09-15 09:16:14 +02:00
Liumeo
694c3d5fa2
Fix some GCC 9.3.0 warnings (#16554) 2020-04-12 22:44:08 +02:00
Khairul Azhar Kasmiran
18ef593b2e Set rpath if non-Windows Meson shared ##build (#15051) 2019-09-22 10:49:54 +02:00
pancake
dce703d88b Fix static linking 2019-04-02 16:02:31 +02:00
radare
82416b0212
Create libr_main and make all binaries use it ##core
* Cleanup the use of getopt with our wrapper
2019-03-08 14:22:59 +01:00
Maijin
8f94d413cd Standardize version using blob_version ##refactor 2019-01-12 22:22:43 +01:00
dav1901
97b94b3f94 Fix more clang warnings (#12458) 2018-12-12 12:22:36 +01:00
pancake
64f2e25c3a Fix #12405 - Handle ^C in radiff2 -x 2018-12-05 12:41:44 +01:00
a1ext
4e8e7de7b4 Fix unicode path issues in Windows ##windows 2018-10-30 01:04:47 +01:00
pancake
bb6212da45 Fix 2 minor gcc8 warnings 2018-08-31 17:56:37 +02:00
Rafael Rivera
4634a817c4 Create cons context before col diffing (fixes #11059) (#11060) 2018-08-13 03:12:27 +02:00
pancake
2c85194e7a Fix some warnings 2018-07-14 10:45:55 +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
Khairul Kasmiran
d8048db0d9 Remove unneeded trailing spaces 2018-07-07 23:19:37 +08:00
ddast
7706f2d778 Fix hexdump output of radiff2 (#10111)
radiff2 showed wrong output when filesize was not a multiple of the
width.
2018-05-18 10:41:29 +02:00
radare
000e725b15
Use system diff in graphdiff nodes if possible and improve graphviz style (#9988)
$ radiff2 -g sym._call -A  b c | dot -Tpng > a.png

- we need disasmdiff native in r2, as well as more inter-core commands
2018-04-30 02:47:51 +02:00
pancake
a24eb639e0 Make Travis Green 2018-04-25 12:30:57 +02:00
pancake
f0f3b1a440 Fix #561 - See radiff2 -u and radiff2 -x (optionally add -q) 2018-04-09 01:26:45 +02:00
xarkes
2008686116 Fixed missing r_config_set_i for scr.color 2018-02-26 15:52:47 +01:00
xarkes
b2b647a5f7 Renamed COLOR_MODE constants 2018-02-24 12:04:48 +01:00
xarkes
5e097dbae1 Killed cons->truecolor in favor of cons->color 2018-02-24 11:47:38 +01:00
Paul I
bb4f61580e Cleanup meson files (#9424) 2018-02-20 09:33:19 +01:00
pancake
e5235f7d97 Fix last covs, radiff crash and tweak the z64 bin plugin 2018-01-10 19:18:36 +01:00
pancake
a706fecbd9 Fix radiff2 -B patch 2018-01-10 10:18:31 +01:00
Thomas Bailleux
8d68fa034b Support of binary diff format (GDIFF) - radiff2 (#9140)
* Support of GDIFF output format for radiff2

* Fix DATA for remain bytes (large files)
2018-01-06 14:24:25 +01:00
xarkes
c118091c42 Fix #8486 (meson missing bins) (#8519) 2017-09-15 10:17:50 +02:00
pancake
8315feb1d8 Bring back the levenstein and fix previous commit 2017-09-13 10:25:13 +02:00
Fangrui Song
8f1c3ec6ec Replace radiff2 -s with Eugene W. Myers' O(ND) diff algorithm (insertion/deletion cost=1, no substition)
-ss for Levenshtein edit distance (the current r_diff_buffers_distance_levenstein  is incorrect)
2017-09-13 10:14:12 +02:00
Giovanni
3851e7ea20 13 coverity bugs fixed. (#8303)
* 1372431 Unused value

* 1372425 Unused value

* 1372412 Dereference before null check

* 1372410/1372409 Resource leak

* 1372400 Dereference before null check

* 1372391/1372398 Resource leak

* 1372397 Dereference before null check

* 1372394 Resource leak

* 1372390 Dereference before null check

* 1372379 Dereference before null check

* 1372304 Resource leak

* 1372298: Out-of-bounds read & 1355090: Untrusted array index read

* 1372290 Dereference null return value

* 1372283 Missing break in switch

* fixed mistake.
2017-08-24 13:31:27 +02:00
condret
0161fa0ec2 make read_at bool again and implement RIOAccessLog for accurate error-handling
This reverts commit a9bf4aae2b.
2017-08-22 17:24:04 +00:00
Fangrui Song
a9bf4aae2b Misc fixes to siol (#8262)
* Fix onIterMap (divide-and-conquer like USACO Shaping Regions), check return values of every `op` call
* Change return types of r_io_read_at and friends back to `int`
* Fix some analysis tests and others
* Fix mem leaks
2017-08-22 10:46:48 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
pancake
29ca827cf2 Fix Android builds 2017-08-19 18:52:57 +02:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
pancake
1b6cfb68bd Fix some memleaks, warnings and null derefs pointed out by clang analyzer 2017-07-10 11:20:03 +02:00
pancake
857479285c Enhance radiff2 -D with context bytes in disasm and honor -q for colors 2017-06-01 23:49:26 +02:00
pancake
e847fa47a7 Implement radiff2 -G to run a custom command 2017-06-01 22:46:54 +02:00
pancake
81f2f82cd3 Fix write(0) in radiff2 -x 2017-05-10 22:28:11 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
4b77cb2c36 Fix undefined behaviour introduced after fix in regression 2017-04-18 17:22:32 +02:00
pancake
d2346ce414 Fix readstr regression 2017-04-18 15:59:55 +02:00
Álvaro Felipe Melchor
13c91127af Fix minor issues by clang-analyzer (#7303) 2017-04-18 14:03:42 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
2930a25663 Disable scr.interactive in radiff2 2017-04-10 14:24:53 +02:00
pancake
370eef15fc Missing rconsprintify in radiff2 -x 2017-04-10 14:19:01 +02:00
pancake
a0f10c1731 Honor -e settings with radiff2 -x too 2017-04-10 13:45:26 +02:00
pancake
c4a214e87b Implement radiff2 -e 2017-04-10 13:01:42 +02:00
pancake
c024275459 Fix last covs 2017-03-19 03:22:00 +01:00
pancake
f82930fd75 Fix latest covs 2017-03-15 12:12:55 +01:00
pancake
be78c631b0 Fix #6806 - invalid delta diff boundaries 2017-02-18 00:04:13 +01:00