Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libr/core/disasm.c - r_core_print_disasm() #29

Closed
XVilka opened this issue Nov 17, 2012 · 4 comments
Closed

libr/core/disasm.c - r_core_print_disasm() #29

XVilka opened this issue Nov 17, 2012 · 4 comments

Comments

@XVilka
Copy link
Contributor

XVilka commented Nov 17, 2012

r_core_print_disasm() is a 499 line long function with >50 local variables. I am sure this can be refactored and cleaned.

Reply 1: This is in TODO since radare1 0.1.. we always made fun about how dirty this code is, but we never did nothing as long as it's not a priority and it will take lot of time to refactorize it in an extensible way. We are open to patches and proposals ;)

@jvoisin
Copy link
Contributor

jvoisin commented Feb 11, 2014

Partially fixed by b3badc7

@jvoisin
Copy link
Contributor

jvoisin commented Jan 16, 2015

It's now 250 lines long, but has several TODO and way too much #ifdef, but it shouldn't be hard to refactor/split.

@radare
Copy link
Collaborator

radare commented Jan 16, 2015

That refactor is totally low prio for me. It would be nice, but all TODO, XXX in comments should be fixed or discussed

On 16 Jan 2015, at 06:21, jvoisin [email protected] wrote:

It's now 250 lines long, but has several TODO and way too much #ifdef, but it shouldn't be hard to refactor/split.


Reply to this email directly or view it on GitHub.

@radare
Copy link
Collaborator

radare commented Nov 3, 2016

we have already refactored a lot of things in disasm.c and ew will refactor even more in the future ,there's no need to keep an issue for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants