Skip to content

fC not working properly #5316

@PremadeS

Description

@PremadeS

Work environment

Questions Answers
OS/arch/bits (mandatory) Kali x86_64
File format of the file you reverse (mandatory) NONE
Architecture/bits of the file (mandatory) NONE
rizin -v full output, not truncated (mandatory) rizin 0.9.0 @ linux-x86-64 commit: 17d10b9

fC shows the comment for the wrong flag if two flags are defined by the user on the same offset

Expected behavior

fC should show the comment of first flag

Actual behavior

fC shows the comment of second flag

Steps to reproduce the behavior

  • f one 0x10 first (f+ also leads to the same result)
  • f+ two 0x10 second
  • fC one

running fC one will show the comment of the second flag, i.e: second, instead of first

Additional Logs, screenshots, source code, configuration dump, ...

Drag and drop zip archives containing the Additional info here, don't use external services or link.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions