Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

A Problem about IsSimple be used in disassemble #303

@CcWeapon

Description

@CcWeapon

According to the definition of IsSimple, the function whose IsSimple is false is still disassembled in relocation mode.

  /// False if the function is too complex to reconstruct its control
  /// flow graph.
  /// In relocation mode we still disassemble and re-assemble such functions.
  bool IsSimple{true};

But as I read the code and tried it out, if a method is set to IsSimple=false in discoverFileObjects(), the method will be considered disassemble. The following code snippet ends at BinaryFunction::disassemable().

  if (!IsSimple) {
    clearList(Instructions);
    return false;
  }

Is this a bug, or am I misunderstood?

@maksfb

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

    Issue actions