pancake
b98cc92046
Use RFile.new instead of R_JOIN in the fortunes code
2024-05-12 02:14:58 +02:00
Luc Tielen
86b7f47db9
Remove several R2_590 ifdefs ##abi
2023-06-13 13:38:23 +02:00
pancake
25de52db5f
Initial implementation of the 'cgfa' command ##diff
...
* List all similar functions
2023-04-05 14:30:39 +02:00
pancake
f9f9e367de
Use rlog instead of eprintf in 300 more places
2022-08-22 14:35:04 +02:00
pancake
278b6b51b7
Fix memleak on -Cj failure
2022-08-12 17:24:09 +02:00
erfur
0133e92709
Emit json when radiff2 is run with -Cj ##diff
2022-08-07 00:20:57 +02:00
pancake
091b7c96c2
Fix last covs and support mount
in ms
##fs
2022-07-08 09:51:21 +02:00
Lazula
2255bf8b5d
Many indentation style fixes
...
* Change several 8-space indents to tabs
* Apply tab indent style when breaking long lines
* Move operators from EOL to start of next line
* Fix ternary formatting
2021-11-18 10:43:52 +01:00
pancake
3ab33d119e
Code cleanup and other minor refactoring changes
2021-01-09 17:38:54 +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
radare
97db085479
Fix #13541 - Automatic radiff2 -p when no bininfo is found ##diff
2019-03-29 13:03:17 +01:00
Khairul Azhar Kasmiran
ba700dacc3
Pass RAnal instead of rbtree to fcn rbtree api ##refactor
2019-03-03 12:28:36 +01:00
cyanpencil
2348fdaf69
Added import graph; updated ag? help
...
Removed agg? help
Removed unused variable warning
2018-05-21 01:55:43 +02:00
cyanpencil
9a510f23dc
Better error handling in r_anal_diff_fcn
...
Always fingerprint before calling r_anal_diff_fcn
2018-05-18 10:42:06 +02:00
radare
000e725b15
Use system diff in graphdiff nodes if possible and improve graphviz style ( #9988 )
...
$ radiff2 -g sym._call -A b c | dot -Tpng > a.png
- we need disasmdiff native in r2, as well as more inter-core commands
2018-04-30 02:47:51 +02:00
Florian Märkl
d6e3036322
Propagate changes of fcn->_size in anal->fcn_tree
2018-03-18 15:11:29 +01:00
pancake
d6e0b606c7
Fix #9042 - Remove spaces from delta flags in ax
2017-12-22 15:56:34 +01:00
Fangrui Song
97d53814f9
Add fcn_tree to RAnal (interval tree based on augmented red-black tree) and optimize r_anal_get_fcn_in (O(n) -> O(log n)) ( #9034 )
...
The long term plan is to phase out RAnal::fcns and migrate to RAnal::fcn_tree.
2017-12-17 22:55:32 +01:00
pancake
a75b4b56c6
Fix the radiff2 -C MATCH issue, still not perfect but getting in shape
2016-09-22 23:57:16 +02:00
pancake
d1088fa95d
Add radiff2 -S to specify which column to sort for code diffing
2016-09-22 20:33:26 +02:00
Jayakrishna Menon
6c71de7b11
implementing sorting of code diff
2016-09-22 19:30:15 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +02:00
Riccardo Schirone
8727840e90
anal/fcn: use getter/setter to access the size of a RAnalFunction
...
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
NaveenBoggarapu
fabf7020fb
Fix #4523 - Fix asm.emu + pd leaks
2016-04-07 11:11:46 +02:00
NaveenBoggarapu
f5650005bf
corrected minor spelling and grammar mistakes
2016-04-01 19:25:32 +02:00
pancake
f4618c0bbd
Remove radiff2 -CC because we already have -A, -AA, -AAA ...
2016-03-22 13:00:02 +01:00
pancake
895a966884
Do not diff function strings, increase memlimit
2016-03-22 01:31:10 +01:00
shengdi
49bf08cba0
Added size to radiff -C output
2015-10-29 23:44:19 +01:00
pancake
67daa4c07a
Drop comments from dot graphs
2015-09-28 16:09:24 +02:00
pancake
b515a34676
More stdboolification
2015-09-14 12:35:38 +02:00
pancake
061a2af999
Add radiff2 -CC for deeper bindiffing
2015-04-07 04:12:18 +02:00
Andrew McDonnell
841a00e0d1
Add option to radiff to suppress names
2014-12-26 19:26:06 +01:00
pancake
b15e1b9606
Add experimental agf to compare two functions from the same file #1894
2014-12-22 11:04:12 +01:00
pancake
44e390e130
Check for null parameters in RCore.GraphDiff
2014-11-24 05:53:14 +01:00
jvoisin
9f18c219a6
Optimize radiff2 -g off1,off2
...
- Less than one sec now versus more than 15 before
- Code is cleaner (no more "r_core_cmdf")
- Colours are now correct
- Fix `radiff2 -C`
2014-08-20 03:51:10 +02:00
Fedor Sakharov
318a2c17d3
Fix formatting of long function names in radiff2
2013-11-18 13:27:06 +01:00
Anton Kochkov
e43a1f921d
Deep integration of complex types - build fixed
2012-07-22 12:41:53 +04:00
pancake
253047bb1c
r2 -q flag now quits after processing -c or -i
...
Allow to load multiple files with -i
Create file if not exist when -w is used
Warn when finding 'q'
2012-07-13 01:23:05 +02:00
pancake
7a4a3dbbfd
Fix string parsing in rabin2 -z and more random fixes
...
- Random changes in libr/db/pair.. still buggy
- remove debug printfs from calc.c
- ?k command is now more usable. supports ``..` strings
- fix segfault in r_cons (nullptr)
- Add support for !! command to use r_cons
> pd|!grep eax~ebx # now this command works
2012-07-02 00:38:02 +02:00
pancake
be6c39c54f
* Use r_list_foreach[_safe] where appropriate.
2012-02-14 18:19:16 +01:00
pancake
04cbf68819
* Fix segfault in elf (thanks @earada!)
...
* Make cg and cgo work
* Added r_anal_diff_setup_i()
- Fixed bindings
2011-10-16 13:59:05 +02:00
pancake
3d142e8ec1
* Initial import of the hashtable implementation of WayLand
...
- Kinda smart (150LOC)
- Fork it for 64bit hash keys (make ht64 in libr/util)
* Make RConfig use the RHashTable to resolve by name
- Code cleanup resulting in -30LOC
- O(1) access to config variables (speedup!)
- Make r_list_free and r_list_destroy take sense
2011-03-17 19:05:39 +01:00
Nibble
864fd7aa7e
* Move gdiff stuff to r_anal_diff
...
* Make r_anal_diff customizable by plugins
* Refactor r_anal and redesign API
* Add dummy methods for security patches evaluation in r_anal_diff
* Add functions:
- r_anal_diff_fingerprint_bb
- r_anal_diff_fingerprint_fcn
- r_anal_diff_bb
- r_anal_diff_fcn
- r_anal_diff_eval
2011-03-06 15:21:13 +01:00
Nibble
332524e120
* Rename r_anal_aop_* to r_anal_op_*
...
--HG--
rename : libr/anal/aop.c => libr/anal/op.c
2011-02-24 14:06:49 +01:00
Nibble
ead4e9502f
* Simplify type assignment in r_anal
...
* Include fcn type in 'rabin2 -r' output
2011-02-08 00:15:12 +01:00
Nibble
cc9cefa74e
* Some refactoring of r_anal
...
- Add fcn types for syms and imports
- Filter bindiff matches by type (speed up analysis)
- Assign the right fcn type in bin_load
* Fix segfault in r_anal
- Solve bug with unknown opcodes + graph splitting
* Update more vapi's
2011-02-07 17:43:50 +01:00
Nibble
1d83a7ba25
* Some optimizations in r_anal
...
- bb's are included in fcn struct
- analyze bb's and fcn's all together
* Update some vapis
* Fix build
2011-02-04 14:03:59 +01:00
Nibble
5b9fd63c1f
* More work on gdiff
...
- Follow basic blocks instead of diffing fcn->addr+fcn->size
vs fcn2->addr+fcn2->size
* Remove unused r_core_anal_graph_fcn
* Fix build
2010-12-24 16:58:27 +01:00
Nibble
058631a555
* Only compare fcns by name if it begins with "imp.", "sym.", "fcn.imp." or "fcn.sym."
...
- Avoid problems with functions named fcn_offset
2010-12-09 16:04:55 +01:00
Nibble
c2da7cf5a2
* Compare fcns with the same name first in gdiff
2010-12-07 16:52:33 +01:00