python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why does macOS kill static executables created by clang?
I have a minimal c program for the m1 arm cpu that returns 42:
void _start() {
asm("mov x0, #42;");
asm("mov x16, #1;");
asm("svc 0x80;");
}
This code compil...
tommy__123__
Votes: 0
Answers: 1
Why did apple use (mach_header 's pointer subtract `__TEXT` 's vmaddr) to calculate slide value of ASLR
It is really confused me a lot! When I read apple open source code of getsecbyname.c. Some code In it:
uint8_t *
getsectiondata(
const struct mach_header *mhp,
const char *segname,
const char *sectna...
Bernard
Votes: 0
Answers: 1
How to estimate the minimum memory usage of a process from the section information of a mach-o file?
App Size for iOS (& tvOS) only
Your app’s total uncompressed size must be less than 4GB. Each Mach-O
executable file (for example, app_name.app/app_name) must not exceed
these limits:
For apps wh...
boo
Votes: 0
Answers: 1
Xcode 13.3/XCFramework compile error: section __DATA/__bss has type zero-fill but non-zero file offset for architecture arm64
One of my XCFrameworks throws the following error when building with Xcode 13.3 on running on the M1 chip.
section __DATA/__bss has type zero-fill but non-zero file offset for architecture arm64
The...
jshapy8
Votes: 0
Answers: 1