-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
Arch: PowerPCIssues with the PowerPC architecture pluginIssues with the PowerPC architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginIssue needs changes to an architecture pluginComponent: CoreIssue needs changes to the coreIssue needs changes to the coreEffort: MediumIssue should take < 1 monthIssue should take < 1 monthImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround
Description
I'm looking at some PPC code that has a curious location-agnostic switch case style using the link register that seems to prevent correct detection and identification of the switch
bl <next instruction>
slwi r11, r26, 2
mflr r12
addi r11, r11, 0x18
add r11, r11, r12
mtctr r11
bctr
<table of branch instructions>
Metadata
Metadata
Assignees
Labels
Arch: PowerPCIssues with the PowerPC architecture pluginIssues with the PowerPC architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginIssue needs changes to an architecture pluginComponent: CoreIssue needs changes to the coreIssue needs changes to the coreEffort: MediumIssue should take < 1 monthIssue should take < 1 monthImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround