3946 Commits

Author SHA1 Message Date
pancake
7ad8353838 Use R_LOG in libr.main and fix RLogLevelMatch ##tools 2022-08-19 15:31:46 +02:00
Richard Patel
5c4618fe65 Add support for REL file format plugin ##bin
* Used by the Nintendo Wii
2022-08-19 13:38:29 +02:00
pancake
632439cb1a Fix symbol visibility for dmp64 2022-08-18 20:53:07 +02:00
pancake
71911c1aa7 Reduce symbol visibility in the LE plugin 2022-08-18 20:36:19 +02:00
pancake
c6924f26ba Remove the use of eprintf in r_bin 2022-08-18 19:32:27 +02:00
pancake
785a469a6d else block linting 2022-08-18 18:35:22 +02:00
pancake
22a1266331 Implement y- command and some other indentation fixes ##shell 2022-08-18 17:14:19 +02:00
pancake
7a35f03471 More source spacing linting 2022-08-18 14:37:29 +02:00
pancake
a538b2b700 Add =0 and =1 lintings 2022-08-18 13:58:40 +02:00
pancake
b9161f5b3c Fix bflt symbol visibility 2022-08-18 13:24:15 +02:00
pancake
52a22ab995 Add lint for \tfree( 2022-08-18 10:27:06 +02:00
pancake
41cf0bcf39 Add the 'i<' lint 2022-08-18 10:27:00 +02:00
pancake
660478b3cc sys/lint for '0 ;' 2022-08-18 10:26:56 +02:00
pancake
e4e4ecc605 Add lint for ';;$' and remove strncmp from io plugins 2022-08-18 00:11:36 +02:00
pancake
a665f7fef3 Fix oob write in dyldcache ##crash
* When n_slide_infos is too high, the sum would overflow and few entries will be allocated
* Inpired in 556ca2f9ee
2022-08-17 22:40:28 +02:00
pancake
43442e8e1d Support powerpc coffs ##bin 2022-08-17 21:49:34 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
cb3ccdd9ab
Handle RABIN2_MACHO_SKIPFIXUPS env var in the macho parser ##bin 2022-08-11 02:20:20 +02:00
Dennis Goodlett
6bc75331da
Add wasm globals to symbols ##bin 2022-08-09 09:32:39 +02:00
pancake
474c258c29 Fix unnecessary large allocation on fuzzed machos 2022-08-07 15:50:57 +02:00
Paul B Mahol
802eb32aa2 Fix leaks of allocated memory for duplicate plugins ##tools 2022-08-05 14:26:05 +02:00
Paul B Mahol
ab4efd117c Check return value of r_list_new() ##tools 2022-08-05 14:26:05 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
pancake
0fded98afa Fix another uaf in the macho swizzling 2022-08-01 05:31:55 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
Paul B Mahol
4de824fb89 Fix returning imports table ##bin 2022-07-30 07:20:34 -04:00
Richard Patel
85b69d1e0e Fix string literal free in bin.dol 2022-07-29 10:28:56 -04:00
mrmacete
bdd76a11dd Fix oobread in iOS arm64 kernel parsing ##crash 2022-07-28 00:25:27 -04:00
pancake
d6d14b2a71 Add spacing linting checks for public function signatures 2022-07-27 10:34:24 -04:00
pancake
03f70c6ec8
Fix use-after-free in the macho swizzler ##bin 2022-07-27 10:22:12 -04:00
Paul B Mahol
7ff05dab3f Check for forgotten allocation errors in ELF format 2022-07-26 16:23:39 -04:00
Paul B Mahol
301935dcad Check malloc return value in parse_symbol_table() for PE 2022-07-26 16:23:39 -04:00
Paul B Mahol
a01e2b4d7c Check range of number of names in PE export 2022-07-24 15:24:32 -04:00
Lazula
06552b6bec Remove unfreed r_str_ndup and make the source usable as a string directly 2022-07-20 00:19:25 +02:00
Lazula
2ebd3a21d8 Fix potential null dereference and use-after-free in bin_wasm entries() 2022-07-20 00:19:25 +02:00
pancake
7447468cb5 Fix heap oobread in the macho parser ##crash 2022-07-18 01:13:06 +02:00
pancake
367f888818
Update the embedded libzip under shlr/zip ##io
* Fix problems with some ZIP files considered corrupted
2022-07-15 12:27:20 +02:00
pancake
02672a2c46 Add RABIN2_MACHO_NOFUNCSTARTS option for testing purposes ##bin 2022-07-13 16:54:03 +02:00
pancake
371a0e131f Expose dbgInfo.LineNum on macho files ##bin 2022-07-13 12:16:46 +02:00
pancake
5116fd257c Fix macho swizzle bug by cloning the plugin struct ##bin 2022-07-12 02:42:00 +02:00
pancake
091b7c96c2
Fix last covs and support mount in ms ##fs 2022-07-08 09:51:21 +02:00
pancake
ad1add71cb
Fix a new linting to remove the double error message in RLOG calls ##lint 2022-07-07 20:25:26 +02:00
Dennis Goodlett
d77eb85476
Refactor wasm custom name parsing ##bin 2022-07-07 03:40:57 +02:00
pancake
04ec65efb5
Fix o-- issue on macho-arm64 ##bin 2022-07-06 11:07:59 +02:00
Sergi Àlvarez i Capilla
5df05f446f Fix few type cast issues spotted by msvc 2022-07-04 18:46:54 +02:00
pancake
e2bbe2b14e
Add a linting to avoid R_LOG calls ending with a dot ##lint 2022-07-04 17:42:25 +02:00
pancake
47b7e8ae2b Add and fix two more for loop linter rules 2022-07-02 22:40:28 +02:00
pancake
4d3887fb1d
Don't hash files when loading, that's too heavy! 1.2s -> 0.8s ##bin 2022-07-02 21:30:17 +02:00
pancake
1ac4e2df45 Honor pe.verbose to fix a fuzztest 2022-07-01 10:59:16 +02:00
pancake
425f5b248b Fix two memleaks in the vala plugin 2022-07-01 00:13:19 +02:00