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

Use RetDec's JSON output for syntax highlighting #48

Closed
PeterMatula opened this issue Sep 16, 2019 · 3 comments
Closed

Use RetDec's JSON output for syntax highlighting #48

PeterMatula opened this issue Sep 16, 2019 · 3 comments
Assignees

Comments

@PeterMatula
Copy link
Collaborator

Right now, IDA plugin runs RetDec with --color-for-ida option to get a highlighted C output that it displays to users.

This option will be dropped in the next RetDec release. Instead, RetDec will be able to generate a JSON C output, which should be used instead.

@PeterMatula PeterMatula added this to the RetDec IDA plugin v1.0 milestone Sep 16, 2019
@PeterMatula PeterMatula self-assigned this Sep 16, 2019
@op0x59
Copy link

op0x59 commented Oct 4, 2019

i dont even get syntax highlighting https://i.imgur.com/0zq2Rwk.png

@s3rvac
Copy link
Member

s3rvac commented Oct 4, 2019

@op0x59 Ensure that you have pygments installed in your system, as described in the user guide:

ida-plugin-docs-pygments

This library is used for syntax highlighting. You can install it via

pip install pygments

(Ensure that pip runs pip for Python 2. If not, use pip3.)

@PeterMatula
Copy link
Collaborator Author

Fixed in 3503eb6. Release v1.0 will come shortly.

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