-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve deobfuscateAppleGPU #78
Conversation
7da7d92
to
1695891
Compare
- include missing chipsets that support ios >= 13 - when magic pixel value is missing in our lookup, default to both newer and older models
- with multiple results of the same resolution, pick the one with the lowest fps - when apple's fixing of deobfuscation is detected, eliminate all devices that do not support ios 14.x - export ipad benchmark data seperately allows client code simplifications - extract apple deobfuscation pixel logic - refactor all outer anonymous arrow function to named functions - throw when benchmark data is out of date - bump major version
164c3c9
to
00b4c61
Compare
@@ -1,4 +1,4 @@ | |||
export const getGPUVersion = (model: string) => { | |||
export function getGPUVersion(model: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the const
to function
changes stylistic or do they serve a purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The primary difference between function declarations and function expressions is that declarations are hoisted to the top of the scope in which they are defined, which allows you to write code that uses the function before its declaration.
(I can revert if wanted)
Sorry for bothering you guys, but is there any chance to get this PR merged? |
…-gpu into chore/improve-ios-deobfuscation # Conflicts: # benchmarks.tar.gz # benchmarks/d-adreno.json # benchmarks/d-amd.json # benchmarks/d-apple.json # benchmarks/d-geforce.json # benchmarks/d-intel.json # benchmarks/d-nvidia.json # benchmarks/d-radeon.json # benchmarks/m-adreno.json # benchmarks/m-apple.json # benchmarks/m-intel.json # benchmarks/m-mali-t.json # benchmarks/m-mali.json # benchmarks/m-nvidia.json # benchmarks/m-powervr.json # package.json
see #77