MAC OS에서 kext 모듈을 개발 하고 있습니다.
모듈에서 파일을 읽어와서 해야 할 작업이 있는데
찾아보니 커널 프로젝트에서는 표준 c 라이브러리를 사용 할 수 없다고 하더라구요.
그러면 fopen 같은 파일을 읽어오는 작업은 할 수 없는건가요?
- fopen() 을 대신하는 함수가 있을겁니다.
- XCode 책을 보시는편이 나을것 같습니다. ㅇ_ㅇ;;
XCode - 네이버 북https://book.naver.com/search/search.nhn?sm=sta_hty.book&sug=&where=nexearch&query=XCode
매킨토시 프로그래밍https://book.naver.com/search/search.nhn?sm=sta_hty.book&sug=&where=nexearch&query=매킨토시+프로그래밍
Overriding library functions in Mac OS X, the easy way: DYLD_INSERT_LIBRARIEShttp://tlrobinson.net/blog/2007/12/overriding-library-functions-in-mac-os-x-the-easy-way-dyld_insert_libraries/
mac fopen
Kernel Extensionshttps://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/KernelExtensions/KernelExtensions.html
Mac kernel programming generic kernel extension prinf() not workinghttps://stackoverflow.com/questions/43338237/mac-kernel-programming-generic-kernel-extension-prinf-not-working
Kernel Extension development for macOShttps://www.apriorit.com/dev-blog/430-macos-kext-development
Resolved C: Can't open file using fopenhttps://forums.macrumors.com/threads/c-cant-open-file-using-fopen.1238552/
Apple Intel AMD/ATI Framebuffershttps://www.tonymacx86.com/threads/apple-intel-amd-ati-framebuffers.112299/ droe/example.kext
https://github.com/droe/example.kext
Packaging Your KEXT for Distribution and Installationhttp://mirror.informatimago.com/next/developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptPackaging/packaging_kext.html
|=----------------=[ Developing Mac OSX kernel rootkits ]=--------------=|http://phrack.org/issues/66/16.html
애플 맥 사용자 목표로 한 첫 랜섬웨어 등장... 맥용 토렌트 클라이언트 '트랜스미션(Transmission)' 통해 유포http://macnews.tistory.com/m/4244
http://mirror.informatimago.com/next/developer.apple.com/opensource/cflite.html
http://www.cocoadev.co.kr/category/기타?page=3
A Survey on Function and System Call Hooking Approacheshttps://link.springer.com/article/10.1007/s41635-017-0013-2
Xcode Kernel Extension fopen
---------------------------------------------------------------------------- 젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다. 정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
참고해보세요.
- fopen() 을 대신하는 함수가 있을겁니다.
- XCode 책을 보시는편이 나을것 같습니다. ㅇ_ㅇ;;
XCode - 네이버 북
https://book.naver.com/search/search.nhn?sm=sta_hty.book&sug=&where=nexearch&query=XCode
매킨토시 프로그래밍
https://book.naver.com/search/search.nhn?sm=sta_hty.book&sug=&where=nexearch&query=매킨토시+프로그래밍
Overriding library functions in Mac OS X, the easy way: DYLD_INSERT_LIBRARIES
http://tlrobinson.net/blog/2007/12/overriding-library-functions-in-mac-os-x-the-easy-way-dyld_insert_libraries/
mac fopen
Kernel Extensions
https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/KernelExtensions/KernelExtensions.html
Mac kernel programming generic kernel extension prinf() not working
https://stackoverflow.com/questions/43338237/mac-kernel-programming-generic-kernel-extension-prinf-not-working
Kernel Extension development for macOS
https://www.apriorit.com/dev-blog/430-macos-kext-development
Resolved C: Can't open file using fopen
https://forums.macrumors.com/threads/c-cant-open-file-using-fopen.1238552/
Apple Intel AMD/ATI Framebuffers
https://www.tonymacx86.com/threads/apple-intel-amd-ati-framebuffers.112299/
droe/example.kext
https://github.com/droe/example.kext
Packaging Your KEXT for Distribution and Installation
http://mirror.informatimago.com/next/developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptPackaging/packaging_kext.html
|=----------------=[ Developing Mac OSX kernel rootkits ]=--------------=|
http://phrack.org/issues/66/16.html
애플 맥 사용자 목표로 한 첫 랜섬웨어 등장... 맥용 토렌트 클라이언트 '트랜스미션(Transmission)' 통해 유포
http://macnews.tistory.com/m/4244
http://mirror.informatimago.com/next/developer.apple.com/opensource/cflite.html
http://www.cocoadev.co.kr/category/기타?page=3
A Survey on Function and System Call Hooking Approaches
https://link.springer.com/article/10.1007/s41635-017-0013-2
Xcode Kernel Extension fopen
----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
댓글 달기