Commit Graph

25792 Commits

Author SHA1 Message Date
Tomasz Gorochowik
c6743de865 Fix json output for regexp in rafind2 ##search 2021-04-16 22:23:14 +02:00
pancake
5f98cb2ff8
Add new theme named 'bluy' (#18588) ##cons
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-16 19:29:22 +02:00
pancake
71dc8b715c
Move shlr/ptrace-wrap into libr/io, simplify build (#18587) 2021-04-16 19:19:56 +02:00
Tomasz Gorochowik
3688bdbe8a
Fix regexp search in rafind2 ##search (#18586) 2021-04-16 19:08:29 +02:00
pancake
4905e3af91
Fix #18260 - Sort bbs before comparing them for diffing code ##diff (#18584)
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-16 17:57:13 +02:00
pancake
23b838a0a9
Remove all the travis and codecov reminiscenses (#18585)
* Codecov and Travis scripts were disabled on January
2021-04-16 17:56:50 +02:00
RHL120
280a4cddba
Fixed confusion between *input and *arg in cmd_ls() (#18583) 2021-04-16 17:13:47 +02:00
pancake
3fcba682b6 Fix drx issue and step failing on linux-arm64 ##debug 2021-04-16 00:52:28 +02:00
pancake
25ba55f4db Fix iCj output 2021-04-15 15:20:32 -07:00
pancake
29abfafbb3
Fix #18576 - empty R2_GITTAP (#18581) 2021-04-15 21:16:33 +02:00
Rin
caf09b9264
Improve MIPS support(mips.gnu) by migrating new codes from binutils (#18579) ##disasm
* Refresh old files with current binutils (copyright notes are not updated for now)
* Add remain components from binutils-gdb
* Update original copyright messages
* Modify MIPS disassembler to match output style
* Try to fix wrong jalx argument decoding
* Fix a gs264e disassembling bug caused by wrong definition
* Fix MSVC compiling problem, and add original binutils commit info
* Add disasm_obj.arch assignment back
* Add missing space character in comment
2021-04-15 18:24:41 +02:00
pancake
ed5d73d3a7 Fix other empty i*j ##json 2021-04-15 01:54:24 +02:00
pancake
ec2d5c1258 Fix empty JSON issue in iMj command 2021-04-15 01:51:33 +02:00
pancake
7b49d06713 Remove unexistant r_flag_color() and mention iaito instead of r2cutter in pdcj 2021-04-15 01:15:09 +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
4f1f0775cd
Clang format script fixes (#18580) ##dev
* Fix off-by-one error in clang-format-diff detector
* Improve debug messages in clang-format-diff (Thanks to this change the detected ranges will be actually wrapped in the start/end debug messages.)
* Make clang-format-diff detect changes in each chunk separately
2021-04-14 19:03:55 +02:00
pancake
62c5707303 Use dbg.map in {search,anal}.in when cfg.debug is set ##debug
* Improves `aaa` in debugger
2021-04-14 11:47:57 +02:00
pancake
374a9fbd85 Avoid scanning for preludes on large regions ##debug 2021-04-14 11:40:31 +02:00
murphy
702e1c1ada Fix CI 2021-04-13 20:09:33 +02:00
murphy
5febb2dbc6 Fix error in file.c 2021-04-13 20:09:33 +02:00
murphy
2d1733c3dc Fix 1445553 Uninitialized scalar variable 2021-04-13 20:09:33 +02:00
murphy
d95406b82e Fix 1445924 Resource leak 2021-04-13 20:09:33 +02:00
murphy
d0f60a1dd1 Fix 1446205 Resource leak 2021-04-13 20:09:33 +02:00
murphy
0fc8f7ad0c Fix 1446541 Resource leak 2021-04-13 20:09:33 +02:00
murphy
f7ff702e58 Fix 1446543 Resource leak 2021-04-13 20:09:33 +02:00
murphy
60290f8629 Fix 1446544 Argument cannot be negative 2021-04-13 20:09:33 +02:00
murphy
4bef13edc3 Fix 1446545 Resource leak 2021-04-13 20:09:33 +02:00
murphy
ec15814134 Fix 1446672 Resource leak 2021-04-13 20:09:33 +02:00
murphy
985abf8c10 Fix 1447033 Resource leak 2021-04-13 20:09:33 +02:00
murphy
bbc2fbbbb0 Fix 1450830 Resource leak 2021-04-13 20:09:33 +02:00
murphy
1d8a93a4e5 Fix 1451978 Use after free 2021-04-13 20:09:33 +02:00
murphy
413d1ef726 Fix 1451561 Resource leak 2021-04-13 20:09:33 +02:00
murphy
2d21622433 Resolving conflict in file.c 2021-04-13 20:09:33 +02:00
pancake
e5e46be67e Add a couple of missing casts for tcc that may affect 32bit systems 2021-04-13 17:58:17 +02:00
Sergei Trofimovich
e5e7469b64 state.c: fix --with-openssl build
Build failure happens at:

```
$ ./configure --with-openssl && make
....
state.c: In function 'r_hash_do_hmac_sha256':
state.c:155:19: error: 'r_SHA256_BLOCK_LENGTH' undeclared (first use in this function); did you mean 'SHA256_BLOCK_LENGTH'?
  155 |         ut8 bskey[r_SHA256_BLOCK_LENGTH]; // block-sized key
      |                   ^~~~~~~~~~~~~~~~~~~~~
      |                   SHA256_BLOCK_LENGTH
```

The change defines r2_.* aliases for openssl implementation.
2021-04-13 11:29:26 +02:00
Tomasz Gorochowik
a4ca170abd Fix clang-format-diff.py complaints 2021-04-12 19:29:04 +02:00
Tomasz Gorochowik
a60aa5c266 Add rafind2 tests for multiple files usage 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
cf3db94508 Release 5.2.0 - codename: "morens" 2021-04-11 18:09:56 +02:00
RHL120
4c2a518b75
Tried to fix certain problems in r_file_dir_recursive and added it to a cmd.c (#18552)
* Fixed some of the glaring issues found in r_file_dir_recursive()
* Added a command to access r_file_dir_recursive()
* Made dir constant to hopefuly fix tests
* Split r_file_dir_recursive into 2 functions to make it return RList *
* Adjusted the lsrf function to work with the new split
* Moved the lr command logic to the cmd_lsrf function
* Applied requested changes
* Fixed the CI issues
* Changed !arg to !input
* Changed !input to R_STR_ISEMPTY (input)
2021-04-11 17:00:11 +02:00
pancake
7f5cab66d6
Import @siguza's arm64 xref finder ##search (#18572)
* Support finding all xrefs
* For now it's just a core plugin named `sixref` (as in siguza's xref)
* Yes. it's a very bad name, but it works, and its damn fast.
* sixref is arm64-specific
* Benchmarks show 0.004s (sixref) vs 0.8s (capstone)

Co-authored-by: pancake <pancake@nopcode.org>
2021-04-11 13:35:38 +02:00
pancake
17a160cc77 Parse the symbols from the ELF .gnu_debugdata section ##bin 2021-04-11 05:32:41 +02:00
pancake
33075505d0 Improve acll test 2021-04-11 04:17:34 +02:00
pancake
b52bf757a8
iVj must print valid json, not empty output (#18571) ##json
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-11 04:09:39 +02:00
meme
0745702234
Support x86_64 and macOS dyld caches (#18570) ##bin
Co-authored-by: meme <meme@users.noreply.github.com>
2021-04-11 04:09:20 +02:00
pancake
764c128293
Remove duplicate definitions of esilprintf (#18567) 2021-04-11 03:30:47 +02:00
pancake
afb59d6f6c
Use =RS 8 for avr ##anal (#18568) 2021-04-11 03:30:40 +02:00
pancake
d6e91498f2
Fix wrong demangling of tiff swab16 bit data ##bin (#18566) 2021-04-11 03:30:18 +02:00
pancake
da3db59a22
Remove some exit() calls in libr ##api (#18565)
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2021-04-11 02:34:23 +02:00