Commit Graph

25984 Commits

Author SHA1 Message Date
pancake
04747c7fde Fix #16674 - Kill ' and \ commands, use ':' for the only alias of =! ##shell
* .:9090 is now '=t 9090' (listen for commands via tcp)
* '=:9090' (listen for commands via rap) is now '=r 9090'
* The backslash and single quote aliases were confusing and break commands consistency
2021-05-20 02:59:22 +02:00
pancake
3fd5ef358c
Add scr.optimize with experimental optimization ansi routine ##visual 2021-05-20 02:47:34 +02:00
pancake
70a42d04d2
Fix infinite loop in r2 -c 'ood;ood' - ##debug (#18714) 2021-05-20 02:43:24 +02:00
pancake
f10d767282 Fix assert in 'r2 -qc 'omp rwx' - 2021-05-20 02:25:23 +02:00
pancake
405b620e99 Fix cov in ragg2 (minor fd+memleak) 2021-05-20 02:16:36 +02:00
pancake
84bca9148b Fix warning message in Vi write is not possible 2021-05-20 02:12:06 +02:00
pancake
d03d4263c3 Better v!!!!!!! behaviour ##visual 2021-05-20 00:57:20 +02:00
pancake
65f1b62af4
Always load bin types as pf. format strings ##bin (#18675) 2021-05-20 00:48:24 +02:00
Giovanni Di Santi
8ee7b62943
Fix dmha output after ood (#18710) ##debug 2021-05-20 00:45:41 +02:00
pancake
0e3380797f Fix warnings in regerror.c 2021-05-20 00:22:50 +02:00
pancake
c3953d64d6
Use gperf on anal/d and improve build and checks ##anal
* Add --without-gperf configure flag
* Update sdb to support gperf.foreach and faster ls.sort()
* Support cc and types sdb gperfs
* add r_str_newvf
* Honor HAVE_GPERF in more places
* Add CI job to build and test cmds with gperf
2021-05-20 00:22:20 +02:00
pancake
1bf73baae7
Optimize r_list_sort() (#18713) 2021-05-19 23:48:40 +02:00
pancake
6f55c6c49a
Update capstone-v4 (#18712) 2021-05-19 23:05:41 +02:00
Murphy
7f64b235be
Fix/minor fixes to wad plugin (#18709)
* Remove Debug Message
* Fix wad_header_load to parse header info
* Fix lumplumps type in wad_header_fields parsing
* Verify r_buf_fread_at return value at wad_header_load
2021-05-19 17:43:34 +02:00
meme
9cbd267a00
Remove assertion in pFA ##print (#18707) 2021-05-19 16:15:55 +02:00
pancake
df3f035079 Fix last covs 2021-05-18 20:10:34 +02:00
pancake
374037a4d2 Fix warnings 2021-05-18 19:34:23 +02:00
Murphy
fb141bdb0d
Add WAD file parsing (#18659) ##bin 2021-05-18 18:06:40 +02:00
pancake
eaf303d49e
Add ===errmsg to support the new r2pipe side ##r2pipe (#18705)
* == honors scr.interactive
* Improved help in ==? and =+?
2021-05-18 09:08:27 +02:00
Dennis Goodlett
88edfb775b Create function when z/ finds byte ##signatures 2021-05-18 06:28:35 +02:00
Dennis Goodlett
0657c1f100
Add R_SIGN_BYTES to metric search (#18703) ##signatures 2021-05-18 00:07:15 +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
f7d3ec4fc4 Fix dsui help message 2021-05-16 18:46:29 +02:00
Dennis Goodlett
67271981c4 Make collision ##signatures more efferent 2021-05-16 09:28:48 +02:00
Dennis Goodlett
64c171f176 Sort collisions list in ##signatures 2021-05-16 09:28:48 +02:00
pancake
486d3194de
Minor project api cleanup (#18698) 2021-05-15 01:04:10 +02:00
Dennis Goodlett
2942cf1433
Add zac command and collisions type to ##signatures (#18692)
This commit ads the R_SIGN_COLLISIONS ('C') signature type, which will later be
used to resolve what a function should be named when multiple signatures match.
2021-05-15 00:49:53 +02:00
Dennis Goodlett
d1c31c00dd
Fix bugs in mergeItem ##signatures (#18694)
MergeItem is used to overbite a signature with new information. Previously this
function was leaking and excluded xrefs.
2021-05-14 22:34:52 +02:00
pancake
e92d170a3b
Add support for acr/musl-gcc static builds ##build 2021-05-14 21:34:21 +02:00
pancake
a91776482a
Remove unused vars in .mk (#18695) 2021-05-14 21:33:45 +02:00
Dennis Goodlett
053fca8585
Fix memleaks and doublefree in zignatures (#18688)
* Fix memleak in ##signatures
* Fix double free from wrong foreach
* Fix a couple other minor leaks
2021-05-13 10:29:03 +02:00
Dennis Goodlett
8a3e4d726f
Faster signature tests (#18689) 2021-05-13 10:27:39 +02:00
pancake
82b4e82b0d
Update capstone v4/v4 - fix meson patch list (#18686) 2021-05-13 03:01:28 +02:00
pancake
bc70f322f7
Make r2r pull/clone test/bins if not found instead of the Makefile (#18685)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-13 02:30:01 +02:00
pancake
ee08bc7600 Implement aeis to initialize argc, argv and envp for emulation ##emu
* Only for 64bit systems for now, it's easy to switch to 32bit
2021-05-13 00:37:42 +02:00
Michal Ambroz
bc3fe4a302
Improve the xxhash system library detection ##build
The pkgconfig module is named libxxhash on Debian/Fedora/RedHat/SuSE/Arch so I added libxxhash on first place.
Keeping the xxhash checked second.
2021-05-12 23:07:34 +02:00
Michal Ambroz
385925a37e
Make meson compatible with older versions (RHEL8 meson 0.49) (#18684) ##build
This patch makes it possible to build with older version of meson.
It is needed to build radare2 on RedHat Enterprise Linux 8 where the meson version 0.49 is older than on RHEL7+EPEL7 or Fedora.

Issues fixed:
- set minimum meson version down to 0.49 (version available in RHEL8)
- meson 0.49 has bug which prevents processing of '\' split-lines => build r2_version_number on single line
- on meson 0.49 the ternary operator is not possible to use with some constructs (subdir in add_install_scripts) => replace one ternary operator with if-else construct
2021-05-11 23:56:23 +02:00
pancake
049de62730 Fix #18679 - UAF when parsing corrupted pyc files ##bin 2021-05-11 23:54:01 +02:00
pancake
a8b13483af Fix another bound for dex 2021-05-11 23:41:47 +02:00
Sylvain Pelissier
9ad922df06
Add test for /d command (#18682) 2021-05-11 22:52:07 +02:00
RHL120
fc6e6b1718
Fixed the vc check (#18640) 2021-05-11 22:51:38 +02:00
pancake
03285b4978
Dont check further colon separated directories after the file is loaded (#18680)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-11 19:39:56 +02:00
pancake
f47f58d8f4
Fix last covs (#18674) 2021-05-11 14:49:48 +02:00
pancake
6fbfa4be41
Fix #16687 - Handle multiple colon separated paths in dir.types ##types (#18678)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-11 14:49:32 +02:00
pancake
91e69838bc
Fix #17105 - Add r2r -s flag to skip given test by cathegory (#18676) 2021-05-11 13:56:05 +02:00
pancake
df95c1e6c8 Rename defragger test to bobcrawl 2021-05-11 13:22:29 +02:00
pancake
1fbbbe6f27 Add more fatmacho string tests 2021-05-11 13:21:44 +02:00
pancake
3a94db030e Fix #4903 - Handle 'w' in x/ ##print 2021-05-11 13:01:33 +02:00