Commit Graph

215 Commits

Author SHA1 Message Date
pancake
cb8fe1f388
Fix #18724 - Use RCharset in rabin2 -z ##bin (#18743)
* Dont show the offset as its misleading
2021-05-24 18:53:36 +02:00
pancake
1198b77cb3
Fix rasm2 -w in termux (honor R_SYS_ARCH) ##asm (#18722) 2021-05-20 11:50:33 +02:00
pancake
d2de68f68a
Fix warning 2021-05-20 04:10:34 +02:00
pancake
784f90e8bf Fix windows build 2021-05-20 03:53:56 +02:00
pancake
14e5afe6cf
Add initial rvc2 command ##shell (#18716) 2021-05-20 03:34:23 +02:00
pancake
405b620e99 Fix cov in ragg2 (minor fd+memleak) 2021-05-20 02:16:36 +02:00
pancake
0047d8ade8 Refix #18699 - Swap rafind2 -c behaviour, fix delta and block hexdump issues 2021-05-17 21:19:42 +02:00
pancake
4c061bc051 Make rafind2 colorblind by default, add further tests and improve help message ##search 2021-05-16 20:23:57 +02:00
pancake
9242bc2328 Fix #18699 - fix search hit dumps outside the current block in rafind2 2021-05-16 20:23:57 +02:00
pancake
c008a835b1 Fix rafind2 issue with small or negative blocksize ##search
* rafind2 -x 84000000b9........BA........ -b -2 test.bin
2021-05-08 19:11:21 +02:00
pancake
51e890ca3e Add ragg2 -e to pass egg programs as argument, and improve code quality
* Use more bool and r_return asserts
* Update manpage and help message
* Spotted some issues in the x86 assembler
2021-05-04 13:16:55 +02:00
pancake
4ae7cef832 Add dxe? help, improve parsing and few egg boolification 2021-05-04 12:51:09 +02:00
pancake
d09709a061 Avoid this to happen on arm64 just in case 2021-04-26 11:08:40 +02:00
pancake
766d10e582 Only try thumb on arm targets 2021-04-26 11:07:31 +02:00
Tomasz Gorochowik
b328971f5e Fix regexp keywords 2021-04-16 22:23:14 +02:00
Tomasz Gorochowik
c6743de865 Fix json output for regexp in rafind2 ##search 2021-04-16 22:23:14 +02:00
Tomasz Gorochowik
3688bdbe8a
Fix regexp search in rafind2 ##search (#18586) 2021-04-16 19:08:29 +02:00
Tomasz Gorochowik
f235a59d9d
Filename printing improvements in rafind2 ##search
* Show filename only when match is found
* Refactor rafind2 json output to use pj
2021-04-14 19:05:16 +02:00
Tomasz Gorochowik
a4ca170abd Fix clang-format-diff.py complaints 2021-04-12 19:29:04 +02:00
Tomasz Gorochowik
871a92f173 Make sure each file gets clean context in rafind2 2021-04-12 19:29:04 +02:00
Tomasz Gorochowik
a0c9f23b72 Fix segfault in rafind2 when using multiple files 2021-04-12 19:29:04 +02:00
pancake
a7c08c15ce Don't scream out WARNINGs, capitalizing it is enough 2021-03-19 11:02:54 +01:00
pancake
dac5c3850e
Implement ssdeep fuzzy hashing algorithm ##hash (#18490)
* Based on https://github.com/glaslos/ssdeep
2021-03-18 00:35:03 +01:00
pancake
e80a66aeb7 Add json version output to r2 -vj ##json 2021-03-17 11:47:05 +01:00
pancake
15d47f9841 rasm2 -L now shows an array of objects ##json 2021-03-17 11:26:47 +01:00
pancake
d3f5bc2767 rasm2 -Lj works the same way as -jL ##shell 2021-03-17 11:19:31 +01:00
condret
827a8ac783 Enable io-plugins to set bin.baddr on launch ##io 2021-03-15 21:08:33 +01:00
pancake
7ff2673dd9
Random uninitialized variable uses fixups (#18453) 2021-03-15 02:23:39 +01:00
pancake
3694865726
r2 -b acts like -e asm.bits, which resulted in anal plug issue (#18438) 2021-03-11 20:07:16 +01:00
pancake
cacc508fba
Fix #18412 - Add R2_IGNVER variable to load plugins ignoring the version ##core (#18413) 2021-03-03 18:03:58 +01:00
pancake
8413fd630a Improve .fill and rasm2 -hh with documented directives ##asm 2021-02-04 01:03:58 +01:00
pancake
545f9197f1
Fix the archos regression in the CI (#18327) 2021-02-03 12:07:14 +01:00
ChD1
580bdf2c52
Fix some bugs in dex.c, marshal.c, panels.c and other code optimization and fixel (#18297) 2021-01-27 10:53:50 +01:00
Kamil Rytarowski
9d761f6a88
Avoid array subscript type issues (#18295)
Cast char to unsigned char for standard reasons and security purposes.

Fixes build issues on NetBSD.
2021-01-26 13:08:58 +01:00
Qijia Liu
b8afdf8d7d Fix memleak in db/formats/mangling/mangling 2021-01-25 02:37:21 +01:00
Fangrui Song
0d4d8c083f
radiff2: drop MODE_DIST (#16986)
MODE_DIST (-s) is the same as MODE_DIST_LENVENSTEIN (-ss) but much slower.
Drop it. Make MODE_DIST_MYERS (-sss, faster than MODE_DIST_LENVENSTEIN) take its place (-s).

The original comment was incorrect (-s is not Eugene W. Myer's algorithm). It is correct now.

* drop buggy Levenshtein and rename the original
* fix tests

Co-authored-by: eagleoflqj and Maskray
2021-01-24 22:17:25 +01:00
pancake
2e1d0579d7
Fix 18264 - honor graph.font in more places (#18276) 2021-01-24 21:52:23 +01:00
Liumeo
14fee1797b
Fix memleak in test_r2pipe & test_esil_dfg_filter (#18271) 2021-01-24 00:17:02 +01:00
Allen McIntosh
5a207ff69c change usage message so it at least mentions all options. Still need to clean up options with arguments 2021-01-19 04:34:28 +01:00
Allen McIntosh
33421f00c6 If radiff2 can't open first file, don't claim that second file can't be opened 2021-01-19 04:34:28 +01:00
eagleoflqj
4c58f45500 Use pj in rahash2 ##refactor 2021-01-15 09:37:56 +01:00
pancake
829862006f Initial deprecation of RCoreFile ##refactor 2021-01-08 02:09:57 +01:00
Liumeo
a74ca8f07b
Remove core.file ##refactor (#18178) 2021-01-06 23:44:18 +01:00
pancake
d7a4aedf5a Fix projects by removing code and honoring prj.name ##projects 2021-01-03 10:54:00 +01:00
pancake
8d4709bc0b Reworked P command with RProject and prj.name integration ##projects 2021-01-03 10:54:00 +01:00
pancake
898173aa38 Add RFile.new and RFile.move APIs ##util 2021-01-03 10:54:00 +01:00
pancake
cf91324937 Remove file.path and file.lastpath and add RProject ##projects 2021-01-03 10:54:00 +01:00
Qijia Liu
9e63a44c5c Fix memleak in r2 and test_big 2021-01-03 10:10:32 +01:00
eagleoflqj
2879c582af Use pj in cmd_info.c ##refactor 2021-01-03 01:24:58 +01:00
Liumeo
a637aa281d
Fix s390x rax2 -I & memleak (#18151) 2021-01-01 22:48:28 +01:00