-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Open
Copy link
Labels
Component: CoreIssue needs changes to the coreIssue needs changes to the coreCore: HLILIssue involves High Level ILIssue involves High Level ILEffort: LowIssues require < 1 week of workIssues require < 1 week of workIL OptimizationIssue involving optimization of representation (not correctness)Issue involving optimization of representation (not correctness)Impact: LowIssue is a papercut or has a good, supported workaroundIssue is a papercut or has a good, supported workaround
Description
Optimized modulus that uses arithmetic on mixed integer sizes can fail to simplify into a
modulus expression.

Binaries with examples:
i8_mod_4k_arm64.dll: See 3, 5, 9, 17, 33, 65
i16_mod_4k_arm64.dll: See 3, 5, 9, 17, 33, 65, and others
u8_mod_4k_arm64.dll: See 3, 5, 9, 17, 33, 65
u16_mod_4k_arm64.dll: See 3, 5, 9, 17, 33, 65, and others
u32_mod_4k_x64.dylib: See 7, 11, 13, 19, 21, and others
u32_mod_4k_x64.so: See 7, 11, 13, 19, 21, and others
i32_mod_4k_x64.so: See 7, 11, 13, 19, 21, and others
i8_mod_4k_x64.dll: See 10, 12, 18, 20, 24, and others
i16_mod_4k_x64.dll: See 10, 12, 18, 20, 24, and others
u8_mod_4k_x64.dll: See 10, 12, 18, 20, 24, and others
u16_mod_4k_x64.dll: See 10, 12, 18, 20, 24, and others
ExecuteProtect, ccarpenter04 and 0xdevalias
Metadata
Metadata
Assignees
Labels
Component: CoreIssue needs changes to the coreIssue needs changes to the coreCore: HLILIssue involves High Level ILIssue involves High Level ILEffort: LowIssues require < 1 week of workIssues require < 1 week of workIL OptimizationIssue involving optimization of representation (not correctness)Issue involving optimization of representation (not correctness)Impact: LowIssue is a papercut or has a good, supported workaroundIssue is a papercut or has a good, supported workaround