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
140
実行ファイル
以下動画のテキストです
https://youtu.be/qljdf0-Aegs
Satoru Takeuchi
PRO
January 08, 2022
Tweet
Share
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
俺とキャンプ2
sat
PRO
0
37
俺とキャンプ3
sat
PRO
0
29
データ冗長化のしくみRAID 基礎概念とRAID1編
sat
PRO
2
20
RAIDの実現方法
sat
PRO
2
50
Linux環境のCPU上で10ミリ秒間に起こること
sat
PRO
3
100
HDDへのアクセス速度は位置によって変わる!??
sat
PRO
4
53
ボリュームマネージャLVM
sat
PRO
2
86
Best Practices of Production-Grade Rook/Ceph Cluster
sat
PRO
1
1.9k
OSSへの貢献をはじめたきっかけ、貢献で得たもの、やりたい人へのアドバイス(改)
sat
PRO
4
120
Other Decks in Technology
See All in Technology
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
4
190
20240416_devopsdaystokyo
kzkmaeda
1
190
インシデントレスポンスのライフサイクルを廻すポイントってなに / Pinpoints of Incidentresponse Lifecycle for Operation
sakaitakeshi
1
300
日本におけるデータエンジニアリングのこれまでとこれから
foursue
14
2.6k
VS CodeでAWSを操作しよう
smt7174
2
170
TransitGatewayの基礎
toru_kubota
0
230
0→1開発における技術選定において一番大切なこと
bicstone
1
330
〜小さく始めて大きく育てる〜データ分析基盤の開発から活用まで
kniino
0
2k
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
140
クラウドサインにおけるプロダクトマネージャーの役割と開発プロセス / 20240410_cloudsign-PdM
bengo4com
1
680
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
110
最近たまに見かけるTiDBってなんだ? - Findy
pingcap0315
2
620
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Agile that works and the tools we love
rasmusluckow
324
20k
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Docker and Python
trallard
33
2.7k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Designing Experiences People Love
moore
136
23k
The Mythical Team-Month
searls
215
42k
Happy Clients
brianwarren
91
6.4k
Unsuck your backbone
ammeep
662
57k
Music & Morning Musume
bryan
41
5.6k
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