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
100
会社員しながら本を書いてきた知見の共有
sat
PRO
3
770
デバイスにアクセスするデバイスファイル
sat
PRO
1
34
ファイルシステムのデータを ブロックデバイスへの操作で変更
sat
PRO
1
29
デバイスドライバ
sat
PRO
0
45
マルチスレッドの実現方法 ~カーネルスレッドとユーザスレッド~
sat
PRO
2
120
共有メモリ
sat
PRO
3
67
マルチスレッドプログラム
sat
PRO
3
56
Linuxのブートプロセス initramfs編
sat
PRO
2
81
Other Decks in Technology
See All in Technology
AWS テクニカルサポートとエンドカスタマーの中間地点から見えるより良いサポートの活用方法
kazzpapa3
2
580
2025-06-26_Lightning_Talk_for_Lightning_Talks
_hashimo2
2
110
OpenHands🤲にContributeしてみた
kotauchisunsun
1
500
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
440
asken AI勉強会(Android)
tadashi_sato
0
140
Liquid Glass革新とSwiftUI/UIKit進化
fumiyasac0921
0
300
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
150
あなたの声を届けよう! 女性エンジニア登壇の意義とアウトプット実践ガイド #wttjp / Call for Your Voice
kondoyuko
4
500
Lambda Web Adapterについて自分なりに理解してみた
smt7174
5
140
250627 関西Ruby会議08 前夜祭 RejectKaigi「DJ on Ruby Ver.0.1」
msykd
PRO
2
370
生まれ変わった AWS Security Hub (Preview) を紹介 #reInforce_osaka / reInforce New Security Hub
masahirokawahara
0
360
WordPressから ヘッドレスCMSへ! Storyblokへの移行プロセス
nyata
0
330
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Scaling GitHub
holman
459
140k
Docker and Python
trallard
44
3.5k
A better future with KSS
kneath
239
17k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
Rails Girls Zürich Keynote
gr2m
94
14k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Fireside Chat
paigeccino
37
3.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
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