emonti / gcore-arm Goto Github PK
View Code? Open in Web Editor NEWA fork of the 'gcore' utility from Amit Singh's OSX Internals Book with ARM support added
Home Page: http://www.osxbook.com/book/bonus/chapter8/core/
License: Other
A fork of the 'gcore' utility from Amit Singh's OSX Internals Book with ARM support added
Home Page: http://www.osxbook.com/book/bonus/chapter8/core/
License: Other
Not expecting a fix, just documenting this doesn't seem to work.
Using the precompiled gcore_armv7 binary and codesigning it:
$ codesign -s "iPhone Developer" --entitlements gdb.xcent --force gcore_armv7
gcore_armv7: replacing existing signature
I get the following errors attempting to run on an iPhone 4 on iOS 5.1.1:
Darwin iPhone4 11.0.0 Darwin Kernel Version 11.0.0: Wed May 23 10:05:36 PDT 2012; root:xnu-1878.11.10~2/RELEASE_ARM_S5L8930X iPhone3,1 arm N90AP Darwin
usage: gcore [-c ]
failed to read target's memory
failed to dump core for process 3225 (4)
Xcode 4.5.1 on Mountain Lion.
$ make gcore_arm
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin//llvm-gcc-4.2 -Os -Wimplicit -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -arch armv7 -o gcore_arm gcore.c
In file included from gcore.c:43:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/mach/mach_vm.h:1:2: error: #error mach_vm.h unsupported.
gcore.c: In function ‘X_coredump’:
gcore.c:527: warning: implicit declaration of function ‘mach_vm_region_recurse’
gcore.c:582: warning: implicit declaration of function ‘mach_vm_protect’
gcore.c:601: warning: implicit declaration of function ‘mach_vm_read’
gcore.c:623: warning: implicit declaration of function ‘mach_vm_deallocate’
make: *** [gcore_arm] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.