xcode - Running mach_inject with Qt in OSX Mountain Lion -


on osx mountain lion i'm able compile mach_inject , included test project. works expected injection functioning perfectly.

i'm trying use same mach_inject framework qt project, compiled qtcreator. i've tried both clang , gcc compilers.

everything compiles , application runs, when calling mach_inject, error:

mach_inject failing.. (os/kern) invalid address 

tracing mach_inject, failure occurs @ last step, when calls thread_create_running.

does know problem here? i'm assuming it's compiler options provided qt against used xcode, totally wrong!

thanks.

the problem turned out 32 / 64 bit incompatibility - (naturally) can't inject 64bit bundle 32 bit app!

if else has similar problems, debugging mach_inject_bundle_stub can of use, same error kernel can presented due other issues.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -