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

JSdec config errors #3405

Open
1 of 3 tasks
karliss opened this issue Jan 17, 2025 · 4 comments
Open
1 of 3 tasks

JSdec config errors #3405

karliss opened this issue Jan 17, 2025 · 4 comments
Labels
Decompiler Issues and feature requests related to the decompiler in Cutter JSDec PRs related to JSDec

Comments

@karliss
Copy link
Member

karliss commented Jan 17, 2025

Environment information

  • Operating System: Linux
  • Cutter version: d5088a5
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: ELF

Describe the bug

Having decompiler set to jsdec spits out a bunch of errors.

ERROR: core: Invalid config key 'jsdec.casts'
ERROR: core: Invalid config key 'jsdec.asm'
ERROR: core: Invalid config key 'jsdec.blocks'
ERROR: core: Invalid config key 'jsdec.xrefs'
ERROR: core: Invalid config key 'jsdec.paddr'
ERROR: core: Invalid config key 'jsdec.debug'
ERROR: core: Invalid config key 'jsdec.highlight'
ERROR: core: Invalid config key 'jsdec.slow'
ERROR: core: Invalid config key 'jsdec.slow'

To Reproduce

  • Open latest cutter build from CI
  • set decompiler to jsdec
  • observe a bunch of errors in console

Expected behavior

Screenshots

Additional context

@karliss karliss added Decompiler Issues and feature requests related to the decompiler in Cutter JSDec PRs related to JSDec labels Jan 17, 2025
@wargio
Copy link
Member

wargio commented Jan 17, 2025

sounds like the dll/so is not loaded.

@karliss
Copy link
Member Author

karliss commented Jan 17, 2025

Forgot to mention but the decompiler itself seems to be working. And the errors get printed each time the decompiler is activated that is when navigating to a different function.

@wargio
Copy link
Member

wargio commented Jan 17, 2025

How can I reproduce this? Which branch should I build?

@karliss
Copy link
Member Author

karliss commented Jan 17, 2025

Latest cutter dev should work. I was able to repeat it using CI builds from here https://github.com/rizinorg/cutter/actions/runs/12787453625

Rest of reproduction steps are in issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Decompiler Issues and feature requests related to the decompiler in Cutter JSDec PRs related to JSDec
Projects
None yet
Development

No branches or pull requests

2 participants