Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Take a peep at .app
Search
griffin-stewie
December 08, 2017
Technology
0
420
Take a peep at .app
How to dig into Apple's app.
griffin-stewie
December 08, 2017
Tweet
Share
More Decks by griffin-stewie
See All by griffin-stewie
How I develop a Sketch Native Plugin
griffin_stewie
0
640
Boost your App Dev using Sketch
griffin_stewie
0
290
Lightweight Markup Language to PDF
griffin_stewie
1
530
ドキュメント作成どうしてる?
griffin_stewie
0
560
Pitfalls of PhotoKit
griffin_stewie
0
240
Talk about "clg" color list generator.
griffin_stewie
1
420
Tips for Apple Watch.
griffin_stewie
0
770
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
570
Other Decks in Technology
See All in Technology
不動産tech Product Night#2_AIことはじめ_GA橋本
takehikohashimoto
0
180
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
380
AIで変わるテスト自動化:最新ツールの多様なアプローチ/ 20240910 Takahiro Kaneyama
shift_evolve
0
210
CRTO/CRTL/OSEPの比較・勉強法とAV/EDRの検知実験
chayakonanaika
1
1.1k
フロントエンド・オブザーバビリティを支える要素技術を学ぼう
sadnessojisan
2
180
LLVM/ASMを使った有限体の高速実装
herumi
0
120
ネットワークだけ隔離されたコンテナ作成デモ / Kichijoji.pm36
tenforward
1
210
グイグイ系QAマネージャーの仕事
sadonosake
0
290
疎通2024
sadnessojisan
5
1k
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
230
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
140
eBPFのこれまでとこれから
yutarohayakawa
9
3.1k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
5
480
Thoughts on Productivity
jonyablonski
66
4.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Invisible Customer
myddelton
119
13k
The Cost Of JavaScript in 2023
addyosmani
42
5.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
610
Music & Morning Musume
bryan
46
6k
Done Done
chrislema
180
16k
Web development in the modern age
philhawksworth
204
10k
Making Projects Easy
brettharned
113
5.8k
Transcript
Take a peep at .app @griffin-stewie
Fenrir Inc. @griffin-stewie
Motive
• ۀͰʮApple ͷ˓˓ΞϓϦ෩ͳײ͡ʯ • ࣮ࡍʹͲ͏ͬͯΔͷ͔ؾʹͳΔ
We can do it!
iOS Simulator ͰͳΒ • Xcode ͷ Attach To Process •
ϓϩηε໊͕͔Ε͍͚Δ • ViewDebugging Ͱߏ͕͔Δ • LLDB Ͱ෦࣮͕͔Δ
1. Xcode ͰదͳϓϩδΣΫτΛ։͘ 2. γϛϡϨʔλͰ Debug Run 3. ରΞϓϦΛγϛϡϨʔλͰىಈͤ͞Δ 4.
Attach To Process 5. ViewDebugging ։࢝ खॱ
How to find?
ද໊ࣔ ϓϩηε໊ ΧϨϯμʔBQQ .PCJMF$BM ࣸਅBQQ .PCJMF4MJEF4IPX ਤBQQ .BQT /FXTBQQ /FXT
ϦϚΠϯμʔBQQ 3FNJOEFST ϔϧεέΞBQQ )FBMUI 8BMMFUBQQ 1BTTCPPL ઃఆBQQ 1SFGFSFODFT J.FTTBHFTBQQ .PCJMF4.4 4BGBSJBQQ .PCJMF4BGBSJ ࿈བྷઌBQQ $POUBDUT ϗʔϜը໘ 4QSJOH#PBSE
Demo
None
Tips
LLDBͰΰχϣΰχϣ • View Λબ • ӈϖΠϯ OnjectInspector ʹΞυϨε͕͋Δ • Console
ʹίϐϖͯ͠ϝιουݺͼग़͠
Swift ͰΖ͏ͱ͢Δͱ • Framework ͷΠϯϙʔτ͕ඞཁ • Ωϟετ͕ඞཁ • ͦͦະͷΞϓϦͩͱʹͳΒͳ͍
͜͜Ͱ Objective-C
Objective-C ͳΒ • Framework ͷΠϯϙʔτ͕ෆཁ • (ิ͕͍Βͳ͍ͳΒ)Ωϟετ͕ෆཁ • ະͰؔͳ͍
Wrap up
ಘΒΕͨݟ • Apple Container ViewController Λଟ༻͍ͯ͠ Δ • UIWindow.rootViewController
͕ΧελϜ ViewController • Ϋϥε໊ͷ໋໊ͷࢀߟ
͓·͚ • Ϋϥεͷ෦࣮·ͰݟΔͷςΫ͕͍Δ • LLDB Plugin (Chisel) ศར • ࣮ػͰσόοάγϯϘϧ͕͋Εʁ͕ࣗϏϧ
υͯ͠ͳ͍ΞϓϦͰ Attach ͯ͠ͷ͚ͧΔ