60 Commits

Author SHA1 Message Date
pancake
01937296e0 Unify RArchOp into RAnalOp using common include files ##arch 2022-10-16 22:25:24 +02:00
pancake
09fd66facc Improve aab results by using section size ##anal
* Dont use cfg.debug in anal/blaze, rlog is enough
2022-08-19 11:10:32 +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
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
Lazula
69490072c0 Remove incorrect nonnull requirement in createFunction() 2022-07-20 00:19:25 +02:00
pancake
091b7c96c2
Fix last covs and support mount in ms ##fs 2022-07-08 09:51:21 +02:00
pancake
332574aeb5
More eprintf -> RLOG here and there ##refactor 2022-07-05 13:34:13 +02:00
pancake
3db3750eb0
Lint for x"" ##cleanup 2022-06-28 12:07:58 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_ 2022-06-28 02:49:42 +02:00
pancake
5b7c970f2b eprintf requires newline
* git grep eprintf | grep -v '\\n'| grep '('
2022-05-05 13:11:52 +02:00
pancake
560f7fb424 Introduce r_arch.h. Use RArchConfig in RAnal and improve RRef api ##api
* Fix unaligned issue in hex asan test
2022-04-24 23:11:26 +02:00
Lazula
d507bda91c Remove R_EMPTY and R_EMPTY2 2022-03-13 11:26:10 +01:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util 2022-01-18 18:35:31 +01:00
pancake
fb0ec6ed00
Use stdint like if there was no yesterday ##refactor
* stdint is needed to build r2, so there's no need to keep using
  those weak basic types anymore, and we can just alias them
2022-01-09 19:48:16 +01:00
Lazula
ad749a0b1a Fix static/R_API function definition formatting
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
aviciano
5a0bc927e7
Fix #16178 - Rename the r_anal_fcn* apis to r_anal_function* 2021-11-21 20:18:46 +01:00
pancake
e7c29ed232
Boolify cfg.debug (#18452) 2021-03-14 22:22:04 +01:00
Florian Märkl
edf1be10d1
Refactor Meta out of SDB (#16716) 2020-05-09 20:49:28 +02:00
Liumeo
9222e458e2
Fix LGTM alert - save cur to base (#16614) 2020-04-17 08:50:38 +08:00
liumeo
2bcb6cdbdb minor optimization 2020-04-14 04:16:11 +02:00
Florian Märkl
cf09972367
Remove more members from RAnalBlock ##anal (#15975)
* Remove RAnalBlock.type
* Remove RAnalBlock.cases
* Remove RAnalBlock.label
* Reorder RAnalBlock members to free 16 more bytes
2020-02-14 17:50:10 +01:00
Florian Märkl
14215350af Refactor RAnal Basic Blocks and Functions (#15169) ##anal
Basic Blocks are now global instead of owned by a single function.
2020-01-15 15:23:34 +01:00
Florian Märkl
80c74d7aa7 Replace r_str_const* with RStrConstPool (#15300)
* Add RStrConstPool

* Replace RAnal.consts with RStrConstPool

* Remove useless r_str_const() calls

* Kill more r_str_const()

* Remove r_str_const() from Java

* Remove r_str_const() from Canvas

* Remove r_str_const() from mach0

* Remove r_str_const() from PE

* Kill r_str_const* completely
2019-10-20 12:31:45 +02:00
Florian Märkl
da18e5aadc Make RAnalFunction.cc come from RAnal String Pool ##anal (#15281) 2019-10-15 15:53:05 +02:00
karliss
5379c70e89 Fix memory leaks and other problems found by ASAN. (#14980) 2019-09-08 01:24:14 +08:00
radare
4263df98a0
Improve the aab (blaze) analysis by honoring data meta ##anal (#14953) 2019-09-03 00:00:06 +02:00
Anton Kochkov
20e19d6023 More spelling fixes in the code 2019-06-20 13:36:02 +08:00
Rene Laemmert
89064a7c8a Fixing aab (#13741)
* Fixing aab

* Update blaze.c
2019-04-14 17:33:49 +02:00
radare
9ed8d8b8c0
Add R_ANAL_OP_MASK_DISASM for r_core_anal_op() for now ##anal 2019-03-27 10:19:18 +01:00
sivaramaaa
c858dae72c Honor op mask in r_core_anal_op 2018-06-10 03:17:33 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
Florian Märkl
d6e3036322 Propagate changes of fcn->_size in anal->fcn_tree 2018-03-18 15:11:29 +01:00
pancake
054c40fe02 Fix memory leak in blaze anal and silent a warning 2018-03-15 00:46:12 +01:00
radare
31aace6748
Handle anal.nopskip in aab (#9619) 2018-03-07 11:03:17 +01:00
Ayowel
acc12c9137 Removed c99 declaration in for loop (#9284) 2018-02-01 16:35:08 +01:00
SkUaTeR
f95083d5a6 Add abr command 2018-01-31 17:59:05 +01:00
pancake
db76ab25af Fix wao nocj and so? and rename swap-jcmp to recj 2018-01-26 17:34:15 +01:00
pancake
d26a27dfd2 Fix crash in aab because of rbtree 2018-01-03 02:28:15 +01:00
pancake
fbd2e7039c Fix format string 2017-11-23 22:37:44 +01:00
Rene Laemmert
0dfc77917b Added some output to aab and improved the false positives a bit (#8873)
* Added some output to aab and improved the false positives a bit

* added cfg.debug befroe all those noisy eprintfs
2017-11-23 21:47:45 +01:00
condret
b0c612bf0f kill is_valid_section_offset (#8288) 2017-08-24 00:19:57 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
Fangrui Song
92de0ceaf6 Fix out of band read in argument check for af+ 2017-08-18 15:05:47 +02:00
pancake
389a8283e3 Handle ^C in aab and abb 2017-07-10 22:45:24 +02:00
Rene Laemmert
3b051758eb aab now executes direclty also added aab* (#7688) 2017-06-06 18:28:43 +02:00
Rene Laemmert
c5c2168c32 honor noreturn in aab and removed non exact cases from aab (#7575) 2017-05-23 10:13:51 +02:00
Rene Laemmert
667d079b6a Improvements in aab
- Add 'valid end' as function detection metric
- Fix memory leak and some cosmetics
2017-04-15 16:45:16 +02:00
pancake
0440e69ba9 Fix crash in aab and regression in MZ entry 2017-04-12 00:05:29 +02:00