-
Notifications
You must be signed in to change notification settings - Fork 283
"Create Function Here" has weird ARM vs Thumb behavior #1177
Copy link
Copy link
Closed
Labels
Component: UIIssue needs changes to the user interfaceIssue needs changes to the user interfaceEffort: TrivialIssues require < 1 day of workIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaroundUI: GraphIssues with the FlowGraph class or Graph viewIssues with the FlowGraph class or Graph viewUI: LinearIssues with the Linear viewIssues with the Linear view
Milestone
Metadata
Metadata
Assignees
Labels
Component: UIIssue needs changes to the user interfaceIssue needs changes to the user interfaceEffort: TrivialIssues require < 1 day of workIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaroundUI: GraphIssues with the FlowGraph class or Graph viewIssues with the FlowGraph class or Graph viewUI: LinearIssues with the Linear viewIssues with the Linear view
Setup:
Behavior:
In the Linear Disassembly view, pressing "P" to mark new functions (on data that hasn't been identified as code) creates non-thumb ARM functions. In the right-click context menu, the "Create Function Here P" option does not have a submenu that would allow creating a thumb function.
In the Hex Editor view, things are different. The default "P" action does create thumb functions, and the right-click context menu has a submenu that would allow me to pick ARM, Thumb, or whatever else I wanted.
Issue:
The default behavior of the "P" hotkey in Linear Disassembly view isn't what I wanted here. I'm not sure if it's incorrectly using ARM when it should be using thumb, or some heuristics about when to switch between ARM/thumb are just off in this case. Either way, I should have the option to override the default.
Hex Editor view behaves as desired (but obviously, is not convenient to access).