X-Refs window is broken
Environment information
- Operating System: Arch Linux
- Cutter version: db0d4d85a600eddec46f1ac3d9b98f133e187ee4 with latest dev rizin (d1c8bac7380cd065275a6a6ff92902ab69c1c3fb)
- Obtained from:
- [x] Built from source
- [ ] Downloaded release from Cutter website or GitHub
- [ ] Distribution repository
- File format: ELF
Describe the bug
Disassembly preview in XRefs window show nonense, probably due to change in rizin command interface.
To Reproduce
- open executable in Cutter
- click on some function which is referenced by something
- open X-refs window
Expected behavior
Disassembly is visible
Screenshots

Additional context
Couldn't compile the Cutter with the version if rizin currently referenced by submodule (implicit strcmp usage in libzip or something like that). That seems to be fixed in latest rizin dev version.
I guess there was some command called there and probably it broke as we moved it to RzShell. We should use the API anyway, so the fix is probably to use the right API.
Yes, see https://github.com/rizinorg/cutter/issues/2666 and https://github.com/rizinorg/cutter/pull/2996
@imbillow assigning it to you since it fits the task of converting from commands to the API use, OK?
Already solved by #2996