Skip to content

pdf command will skip intermediate instructions by default #24131

Open
@songtianlei

Description

@songtianlei

Environment

Ubuntu 22.04

Description

I want to obtain all the instructions. After trying to modify some analysis configuration parameters, I found that it didn’t work—I still got only partial instructions, and the addresses were discontinuous (often related to jmp). I compared it with objdump and found that many intermediate instructions were omitted. Is there any command or parameter that can achieve this?

Test

Image

Activity

changed the title [-]pdf command will skip intermediate instructions when encountering consecutive jmp instructions[/-] [+]pdf command will skip intermediate instructions by default[/+] on Apr 10, 2025
trufae

trufae commented on Apr 10, 2025

@trufae
Collaborator

pdf shows only the instructions covered by the analysis in a linear fashion. if you want it recursive use pdr, if you want everything, even whats not part of the function and its in between the basic blocks use pD $FS

trufae

trufae commented on Apr 11, 2025

@trufae
Collaborator

can you confirm?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @trufae@songtianlei

        Issue actions

          pdf command will skip intermediate instructions by default · Issue #24131 · radareorg/radare2