Commit Graph

25972 Commits

Author SHA1 Message Date
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
pancake 64bf791bfc
Update mpc from git and add the `mpc-sync` target (#18673)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-11 11:46:45 +02:00
pancake 08a8ab6eee
Use gperf in util/charset (#18672)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-11 11:21:02 +02:00
pancake 708e5c986c Fix gas regression 2021-05-10 23:51:38 +02:00
pancake 37fa26d4da Implement afxm command to show an call refs map ##anal 2021-05-10 22:08:47 +02:00
pancake 57a9926b1f
Remove globals in cons/grep and random cleanup (#18671) 2021-05-10 11:56:08 +02:00
pancake 9bec0ef77f Add noflush guards to fix visual debugger mode ##visual 2021-05-10 11:12:45 +02:00
gogo2464 aee94edf49
Fix cast issue in ptrace call, waitpid fix ##debug 2021-05-10 10:50:12 +02:00
Dennis Goodlett 9617cdc0f2
Refactor serialization of ##signatures (#18670) 2021-05-10 10:46:16 +02:00
pancake efeba1d15b
Fix --with-rpath and add CI tests (#18668) ##build 2021-05-09 19:57:11 +02:00
pancake b8f1edfa37 Fix null deref in arm64 esil 2021-05-09 01:09:39 +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 5e16e2d1c9 Fix #18666 - uaf in python bin parser 2021-05-07 21:09:59 +02:00