Closed m4b closed 7 years ago
NOTE: we should switch eventually to either term
or termcolor
to be more friendly (e.g., not print garbage) to window machines, as well as when piping to a file
Wow, fancy! 😍
(e.g., not print garbage) to window machines, as well as when piping to a file
We can always fix things Later™️
It's not like people use windows that much anyway ;)
I actually already find syntax highlighting for asm output indispensable. Helped find and fix call function bug, as well as highlighting the semantic differences, e.g. je
in x86 as well as how leaq is treated
👍 Amazing work as usual
@m4b does the highlighting work under Windows as well?
No :/ need to add term or termcolor crate for better cross platform printing. shouldn't be too hard
WIP
Adds color :heart_eyes_cat: to asm in CLI
Moves the CLI display logic to CLI module
Fixes longstanding bug incorrectly resolving
call
to internal, resolved functions, and now correctly displays name, e.g.:Correctly resolves multiple function aliases, e.g.,
printf
,_IO_printf
in libcAdds a new 2x faster pipeline which updates the
program
object automatically, and uses rayon for parallelism when no UI thread will be present (so CLI uses it)Adds a function iterator to program for ergonomics
some touchup and love to the program object
Add
region()
method to project, so clients don't need to import graph-algos to use project