Commit Graph

13397 Commits

Author SHA1 Message Date
alvarofe
4701a89b63 Bring -w- to malloc temporary 2017-08-25 15:24:38 +02:00
Giovanni
c4b3b06883 fixed dereferences after null check (#8298)
* fixed dereferences after null check
* Fixed flavour and changed 0xffffffff to UT32_MAX
* removed old code
2017-08-25 12:17:28 +08:00
alvarofe
366cbc4caa Minor fix when opening two files 2017-08-25 01:02:26 +02:00
alvarofe
68c4dbae7e Bring back bin_id to sections 2017-08-25 00:23:47 +02:00
condret
6998fa28b0 add another squasher for analysis 2017-08-25 00:04:08 +00:00
alvarofe
387922146e Avoid to call r_bin_set_env more what it should 2017-08-24 23:25:49 +02:00
condret
08421b288d more RIOAccessLog for analysis 2017-08-24 21:15:38 +00:00
condret
17ef439948 reimplement RIOAccessLog, better and much more elegant than the last time 2017-08-24 18:13:12 +00:00
Giovanni
7b40f7aed1 16 more bugs fixed. most are mem leaks. (#8307)
* 1379261/1379262 Resource leak

* 1379258/1379249 Resource leak

* 1379020 Resource leak

* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result

* 1379017 Resource leak

* 1379016 Resource leak

* 1379015 Resource leak

* 1377414 Resource leak

* 1376336 Resource leak

* 1375800 Resource leak

* 1373505/1373509/1373504 Resource leak

* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
condret
bb0f541402 don't access desc in va, when there is no map 2017-08-24 14:25:19 +00:00
condret
43295b5e7c fix section order 2017-08-24 14:15:54 +00:00
condret
b95b67ef20 fix for #8285 2017-08-24 14:13:43 +00:00
Giovanni
7c24a96aa9 fixed memory leak on p_cache (#8296) 2017-08-24 13:36:19 +02:00
Giovanni
885ea3ca60 fixed null deref on function pointer (#8297) 2017-08-24 13:35:57 +02:00
Giovanni
2bcc05fa23 fixed missing break on switch (#8299)
* fixed missing break on switch

* Fixed missing `;`
2017-08-24 13:32:23 +02:00
Giovanni
3851e7ea20 13 coverity bugs fixed. (#8303)
* 1372431 Unused value

* 1372425 Unused value

* 1372412 Dereference before null check

* 1372410/1372409 Resource leak

* 1372400 Dereference before null check

* 1372391/1372398 Resource leak

* 1372397 Dereference before null check

* 1372394 Resource leak

* 1372390 Dereference before null check

* 1372379 Dereference before null check

* 1372304 Resource leak

* 1372298: Out-of-bounds read & 1355090: Untrusted array index read

* 1372290 Dereference null return value

* 1372283 Missing break in switch

* fixed mistake.
2017-08-24 13:31:27 +02:00
SkUaTeR
c5975e5554 R2wars fixes (#8295)
* aer can handle reg alias

* add size to aea*

* fix comments
2017-08-24 13:23:54 +02:00
pancake
e873c44f78 Fix infinite loop in a2f 2017-08-24 11:54:54 +02:00
Giovanni
6a7e9609ca removed double var evaluation (#8294) 2017-08-24 11:46:19 +02:00
Giovanni
b7c004f8a7 Fix some coverity bugs 2017-08-24 11:43:16 +02:00
Anton Kochkov
660963593b Fix MSVC build 2017-08-24 13:39:12 +08:00
alvarofe
3f33465e3f Nothing to see here:e 2017-08-24 02:10:20 +02:00
alvarofe
38f60907ed Fix check in must_eob 2017-08-24 02:00:33 +02:00
alvarofe
eabe143850 Fix omf command 2017-08-24 01:33:57 +02:00
alvarofe
6cb10fa635 Change && for || and s/size/vsize in must_eob fcn_recurse 2017-08-24 01:23:04 +02:00
condret
5a6f80d819 fix order of map-output 2017-08-24 01:19:11 +00:00
alvarofe
fda243a996 Fix r_io_read_i and add new helper function
This should fix cmd_av test
2017-08-24 01:00:07 +02:00
pancake
6628d5a1e6 Add omf and omfg commands, and rename ombp, omsp, omfp, as omp[bsf] 2017-08-24 00:57:33 +02:00
condret
0b8723299a implement r2 -x 2017-08-24 00:50:44 +00:00
condret
b0c612bf0f kill is_valid_section_offset (#8288) 2017-08-24 00:19:57 +02:00
alvarofe
61537ba5ab Fix NULL dereference 2017-08-23 23:30:57 +02:00
alvarofe
6561932f99 Fix a little bit analysis 2017-08-23 22:37:29 +02:00
alvarofe
ad601da9d5 Avoid to read from io->desc when map is not found 2017-08-23 21:58:36 +02:00
alvarofe
5f75dc6b53 Fix NULL dereference 2017-08-23 21:38:25 +02:00
pancake
4dd45b73e9 Fix some last covs 2017-08-23 16:45:05 +02:00
condret
056e527f9e cleanup again 2017-08-23 14:58:00 +00:00
condret
132bee52ee copypasta woodhammer to fix onIterMap 2017-08-23 13:49:06 +00:00
pancake
0b88ef654f More fixes in the output of 'o'
* Do not inverse the list
* Do not show maps in o output
* Fix om output
* Fix ar warnings
2017-08-23 12:55:10 +02:00
pancake
0c33e07c6a Use io.pcache. as prefix and avoid using RConfig.eval 2017-08-23 12:46:07 +02:00
pancake
b9faa2abdd Fix more io.va=false to only honor the on in core.config 2017-08-23 12:39:10 +02:00
alvarofe
87dac97a3a Roll back change in section order causing crashes 2017-08-23 12:28:55 +02:00
pancake
ad0aba8ca7 Invert output of S= 2017-08-23 12:20:33 +02:00
pancake
d71f2a5843 Implement omj and om [fd] 2017-08-23 12:18:29 +02:00
Sven Steinbauer
941c48a477 Assemble group1 ops with large offset for 64bits correctly (#8281)
FIX #8276
2017-08-23 11:32:31 +02:00
condret
b13226c7d2 invert seciion order, might fix something 2017-08-23 10:36:32 +00:00
condret
5b397c4bd1 fix remapping. pls don't break it anymore 2017-08-23 04:28:02 +00:00
condret
0d0e94aa3b more pcache config 2017-08-23 02:36:21 +00:00
pancake
254ad5d156 Fix #8261 - Restore comments in hexdump in pxc 2017-08-23 01:56:54 +02:00
pancake
0ceac506d7 Fix oj~{} 2017-08-23 01:45:33 +02:00
pancake
3acd49f893 Fix ?p and ?P in io.va=0 2017-08-23 01:41:46 +02:00