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
実行ファイル
Search
Satoru Takeuchi
PRO
January 08, 2022
Technology
0
160
実行ファイル
以下動画のテキストです
https://youtu.be/qljdf0-Aegs
Satoru Takeuchi
PRO
January 08, 2022
Tweet
Share
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
Rook: Intro and Deep Dive With Ceph
sat
PRO
1
89
会社員しながら本を書いてきた知見の共有
sat
PRO
3
770
デバイスにアクセスするデバイスファイル
sat
PRO
1
32
ファイルシステムのデータを ブロックデバイスへの操作で変更
sat
PRO
1
28
デバイスドライバ
sat
PRO
0
45
マルチスレッドの実現方法 ~カーネルスレッドとユーザスレッド~
sat
PRO
2
110
共有メモリ
sat
PRO
3
67
マルチスレッドプログラム
sat
PRO
3
56
Linuxのブートプロセス initramfs編
sat
PRO
2
76
Other Decks in Technology
See All in Technology
250627 関西Ruby会議08 前夜祭 RejectKaigi「DJ on Ruby Ver.0.1」
msykd
PRO
1
130
解析の定理証明実践@Lean 4
dec9ue
0
160
Microsoft Build 2025 技術/製品動向 for Microsoft Startup Tech Community
torumakabe
2
250
OAuth/OpenID Connectで実現するMCPのセキュアなアクセス管理
kuralab
5
970
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
150
TechLION vol.41~MySQLユーザ会のほうから来ました / techlion41_mysql
sakaik
0
160
Welcome to the LLM Club
koic
0
160
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
120
AWS Summit Japan 2025 Community Stage - App workflow automation by AWS Step Functions
matsuihidetoshi
1
200
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
9
1k
GitHub Copilot の概要
tomokusaba
1
130
ObsidianをMCP連携させてみる
ttnyt8701
2
150
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
What's in a price? How to price your products and services
michaelherold
246
12k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Building Applications with DynamoDB
mza
95
6.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Speed Design
sergeychernyshev
31
1k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Site-Speed That Sticks
csswizardry
10
650
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Transcript
実行ファイル Jan. 8th, 2022 Satoru Takeuchi twitter: satoru_takeuchi, EnSatoru 1
Linuxの実行ファイル • Executable and Linking Formatというフォーマット • 実行ファイルのコードやデータはメモリ上にマップされる 2 test(実行ファイル)
メモリ コード データ コード データ マップ
演習 • サンプルプログラム (test.go)の実行ファイルの内容を確認 ◦ readelf -h: ヘッダの情報 ◦ readelf
-S: セクション(コード領域とかデータ領域とか …)の情報 • サンプルプログラム testをバックグラウンドで実行 ◦ ./test & • プログラムのメモリマップを見る ◦ cat /proc/<サンプルプログラムの pid>/maps • 実行ファイルの中身とメモリマップとの対応を見る 3
次回(たぶん)のあらすじ • 今回説明したことが全然当てはまらないことが多々ある • 次回、Address Space Layout Randomization(ASLR)を乞うご期待! ◦ めんどくさくなったら別の動画になるかも
4