Skip to content

Debugging is broken on MacOS x86 and ARMv8, Linux ARMv8 #2696

Open
@XVilka

Description

Work environment

Questions Answers
OS/arch/bits (mandatory) MacOS x86, MacOS ARM64 (13.x), Linux ARMv8 (Alpine)
File format of the file you reverse (mandatory) Mach-O, ELF
Architecture/bits of the file (mandatory) x86_64, ARM64
rizin -v full output, not truncated (mandatory) rizin-0.4.0

Expected behavior

  • File loads properly in the debug mode
  • Registers aren't empty
  • Data/disassembly aren't empty
  • Stepping works
  • Breakpoint and continue work

Actual behavior

File doesn't load properly

Steps to reproduce the behavior

  1. Compile fresh Rizin (dev or stable)
  2. codesign the binary
  3. rizin -d $(which rz-ax)

Observe PC pointing to 0, 0xFFs everywhere, all registers are empty, stepping doesn't work.

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions