KSCrash Source Code Analysis
0x01 installation process
1.1 Bricks and Jades
KSCrashInstallationStandard* installation = [KSCrashInstallationStandard sharedInstance];
installation.url = [NSURL URLWithString:@"http://put.your.url.here"];
[installation install];
The above code is the installation code of KSCrash, [KSCrash Installation Standard init] the underlying layer assig ...
Posted by fatal on Wed, 20 Mar 2019 20:39:27 -0700
java.lang.NoClassDefFoundError: xxx.xxx.xxx
11-04 14:40:45.384 9940-9940/? W/Zygote: MzIsRooted false
11-04 14:40:45.387 9940-9940/? I/art: Late-enabling -Xcheck:jni
11-04 14:40:45.410 9940-9940/? D/ActivityThread: hoder:android.app.IActivityManager$ContentProviderHolder@23dfe031,provider,holder.
Provider:android.content.ContentProviderProxy@13879316
11-04 14:40:45.438 9940-9940/com.hna. ...
Posted by stockdalep on Thu, 07 Feb 2019 06:57:16 -0800
C++ Grammar Tips
Preface
Written in disorder, all kinds of content. Just to record it.
And the content is extremely imprecise (yes, only practice, no theory)! Please drive carefully!
Compulsory inline
#define Inline __inline__ __attribute__((always_inline))
Local test results:
It's no use adding or not adding inline and inline after O 2 is turned on.
Inline ma ...
Posted by Moocat on Sun, 03 Feb 2019 01:03:15 -0800
android bionic linker debug enable
Loader ld in Linker-android
In order to debug this kind of base library, it is useless to use printf, which is a general term.
android debugging is basically output through logcat, of course, you can open a file to write, but that will cause a variety of privilege problems, prevent you from crashing!
Linker's debug relies mainly on printf
...
Posted by vandalite on Fri, 14 Dec 2018 21:57:04 -0800