Submit Search
Upload
システムコールトレーサーの動作原理と実装 (Writing system call tracer for Linux/x86)
•
1 like
•
785 views
Masashi Shibata
Follow
ソースコード: https://github.com/c-bata/systracer
Read less
Read more
Internet
Report
Share
Report
Share
1 of 17
Download now
Download to read offline
Recommended
プログラム実行の話と OSとメモリの挙動の話
プログラム実行の話と OSとメモリの挙動の話
tatsunori ishikawa
Yg byev2e
Yg byev2e
longphi2812
Intro to Systems Orchestration with MCollective
Intro to Systems Orchestration with MCollective
Puppet
Chat code
Chat code
manish bhandare
ES6 - Level up your JavaScript Skills
ES6 - Level up your JavaScript Skills
Stefano Ceschi Berrini
Network
Network
puneethpun7
Haskell Packageのdeb化
Haskell Packageのdeb化
Kiwamu Okabe
rush, the Ruby shell and Unix integration library
rush, the Ruby shell and Unix integration library
Adam Wiggins
Recommended
プログラム実行の話と OSとメモリの挙動の話
プログラム実行の話と OSとメモリの挙動の話
tatsunori ishikawa
Yg byev2e
Yg byev2e
longphi2812
Intro to Systems Orchestration with MCollective
Intro to Systems Orchestration with MCollective
Puppet
Chat code
Chat code
manish bhandare
ES6 - Level up your JavaScript Skills
ES6 - Level up your JavaScript Skills
Stefano Ceschi Berrini
Network
Network
puneethpun7
Haskell Packageのdeb化
Haskell Packageのdeb化
Kiwamu Okabe
rush, the Ruby shell and Unix integration library
rush, the Ruby shell and Unix integration library
Adam Wiggins
Hacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from Perl
typester
clonehd01
clonehd01
Luiz Francisco Bozo
GLX, DRI, and i965
GLX, DRI, and i965
Chia-I Wu
ES6 generators
ES6 generators
Steven Foote
Javascript ES6 generators
Javascript ES6 generators
Ramesh Nair
ng-conf 2017: Angular Mischief Maker Slides
ng-conf 2017: Angular Mischief Maker Slides
Lukas Ruebbelke
20151224-games
20151224-games
Noritada Shimizu
R-House (LSRC)
R-House (LSRC)
Fernand Galiana
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Azure Durable Funkiness - .NET Oxford June 2018
Azure Durable Funkiness - .NET Oxford June 2018
Stuart Leeks
A Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet Modules
David Phillips
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Vi Grey
completion_proc and history
completion_proc and history
Nobuhiro IMAI
FLiSOL - Oficina Ruby on Rails
FLiSOL - Oficina Ruby on Rails
Ronaldo Fuzinato
Clojure入門
Clojure入門
Naoyuki Kakuda
Xstartup
Xstartup
Ahmed Abdelazim
Creating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lint
Spencer Owen
Mamamia
Mamamia
gotemnet
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Yasuharu Nakano
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
SmartTools
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Giovanni Bechis
Basicsof c make and git for a hello qt application
Basicsof c make and git for a hello qt application
Dinesh Manajipet
More Related Content
What's hot
Hacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from Perl
typester
clonehd01
clonehd01
Luiz Francisco Bozo
GLX, DRI, and i965
GLX, DRI, and i965
Chia-I Wu
ES6 generators
ES6 generators
Steven Foote
Javascript ES6 generators
Javascript ES6 generators
Ramesh Nair
ng-conf 2017: Angular Mischief Maker Slides
ng-conf 2017: Angular Mischief Maker Slides
Lukas Ruebbelke
20151224-games
20151224-games
Noritada Shimizu
R-House (LSRC)
R-House (LSRC)
Fernand Galiana
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Noritada Shimizu
Azure Durable Funkiness - .NET Oxford June 2018
Azure Durable Funkiness - .NET Oxford June 2018
Stuart Leeks
A Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet Modules
David Phillips
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Vi Grey
completion_proc and history
completion_proc and history
Nobuhiro IMAI
FLiSOL - Oficina Ruby on Rails
FLiSOL - Oficina Ruby on Rails
Ronaldo Fuzinato
Clojure入門
Clojure入門
Naoyuki Kakuda
Xstartup
Xstartup
Ahmed Abdelazim
Creating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lint
Spencer Owen
Mamamia
Mamamia
gotemnet
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Yasuharu Nakano
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
SmartTools
What's hot
(20)
Hacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from Perl
clonehd01
clonehd01
GLX, DRI, and i965
GLX, DRI, and i965
ES6 generators
ES6 generators
Javascript ES6 generators
Javascript ES6 generators
ng-conf 2017: Angular Mischief Maker Slides
ng-conf 2017: Angular Mischief Maker Slides
20151224-games
20151224-games
R-House (LSRC)
R-House (LSRC)
2016 gunma.web games-and-asm.js
2016 gunma.web games-and-asm.js
Azure Durable Funkiness - .NET Oxford June 2018
Azure Durable Funkiness - .NET Oxford June 2018
A Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet Modules
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...
completion_proc and history
completion_proc and history
FLiSOL - Oficina Ruby on Rails
FLiSOL - Oficina Ruby on Rails
Clojure入門
Clojure入門
Xstartup
Xstartup
Creating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lint
Mamamia
Mamamia
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
Стажировка 2016-07-27 02 Денис Нелюбин. PostgreSQL и jsonb
Similar to システムコールトレーサーの動作原理と実装 (Writing system call tracer for Linux/x86)
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Giovanni Bechis
Basicsof c make and git for a hello qt application
Basicsof c make and git for a hello qt application
Dinesh Manajipet
Assignment no39
Assignment no39
Jay Patel
Usp
Usp
preethamnaik92
C Under Linux
C Under Linux
mohan43u
Shrink to grow
Shrink to grow
Daniel Bovensiepen
start_printf: dev/ic/com.c comstart()
start_printf: dev/ic/com.c comstart()
Kiwamu Okabe
ZeroMQ: Messaging Made Simple
ZeroMQ: Messaging Made Simple
Ian Barber
printf("%s from %c to Z, in %d minutes!\n", "printf", 'A', 45);
printf("%s from %c to Z, in %d minutes!\n", "printf", 'A', 45);
Joel Porquet
Gaztea Tech Robotica 2016
Gaztea Tech Robotica 2016
Svet Ivantchev
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
Docker, Inc.
Naughty And Nice Bash Features
Naughty And Nice Bash Features
Nati Cohen
SICP勉強会について
SICP勉強会について
Yusuke Sasaki
ISCA Final Presentaiton - Compilations
ISCA Final Presentaiton - Compilations
HSA Foundation
Libtcc and gwan
Libtcc and gwan
DaeMyung Kang
Libtcc and gwan
Libtcc and gwan
DaeMyung Kang
Marat-Slides
Marat-Slides
Marat Vyshegorodtsev
3
3
Marat Vyshegorodtsev
망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15
종인 전
Shellcoding in linux
Shellcoding in linux
Ajin Abraham
Similar to システムコールトレーサーの動作原理と実装 (Writing system call tracer for Linux/x86)
(20)
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Basicsof c make and git for a hello qt application
Basicsof c make and git for a hello qt application
Assignment no39
Assignment no39
Usp
Usp
C Under Linux
C Under Linux
Shrink to grow
Shrink to grow
start_printf: dev/ic/com.c comstart()
start_printf: dev/ic/com.c comstart()
ZeroMQ: Messaging Made Simple
ZeroMQ: Messaging Made Simple
printf("%s from %c to Z, in %d minutes!\n", "printf", 'A', 45);
printf("%s from %c to Z, in %d minutes!\n", "printf", 'A', 45);
Gaztea Tech Robotica 2016
Gaztea Tech Robotica 2016
What Have Syscalls Done for you Lately?
What Have Syscalls Done for you Lately?
Naughty And Nice Bash Features
Naughty And Nice Bash Features
SICP勉強会について
SICP勉強会について
ISCA Final Presentaiton - Compilations
ISCA Final Presentaiton - Compilations
Libtcc and gwan
Libtcc and gwan
Libtcc and gwan
Libtcc and gwan
Marat-Slides
Marat-Slides
3
3
망고100 보드로 놀아보자 15
망고100 보드로 놀아보자 15
Shellcoding in linux
Shellcoding in linux
More from Masashi Shibata
MLOps Case Studies: Building fast, scalable, and high-accuracy ML systems at ...
MLOps Case Studies: Building fast, scalable, and high-accuracy ML systems at ...
Masashi Shibata
実践Djangoの読み方 - みんなのPython勉強会 #72
実践Djangoの読み方 - みんなのPython勉強会 #72
Masashi Shibata
CMA-ESサンプラーによるハイパーパラメータ最適化 at Optuna Meetup #1
CMA-ESサンプラーによるハイパーパラメータ最適化 at Optuna Meetup #1
Masashi Shibata
サイバーエージェントにおけるMLOpsに関する取り組み at PyDataTokyo 23
サイバーエージェントにおけるMLOpsに関する取り組み at PyDataTokyo 23
Masashi Shibata
Implementing sobol's quasirandom sequence generator
Implementing sobol's quasirandom sequence generator
Masashi Shibata
DARTS: Differentiable Architecture Search at 社内論文読み会
DARTS: Differentiable Architecture Search at 社内論文読み会
Masashi Shibata
Goptuna Distributed Bayesian Optimization Framework at Go Conference 2019 Autumn
Goptuna Distributed Bayesian Optimization Framework at Go Conference 2019 Autumn
Masashi Shibata
PythonとAutoML at PyConJP 2019
PythonとAutoML at PyConJP 2019
Masashi Shibata
Djangoアプリのデプロイに関するプラクティス / Deploy django application
Djangoアプリのデプロイに関するプラクティス / Deploy django application
Masashi Shibata
Django REST Framework における API 実装プラクティス | PyCon JP 2018
Django REST Framework における API 実装プラクティス | PyCon JP 2018
Masashi Shibata
Django の認証処理実装パターン / Django Authentication Patterns
Django の認証処理実装パターン / Django Authentication Patterns
Masashi Shibata
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP
Masashi Shibata
Golangにおける端末制御 リッチなターミナルUIの実現方法
Golangにおける端末制御 リッチなターミナルUIの実現方法
Masashi Shibata
How to develop a rich terminal UI application
How to develop a rich terminal UI application
Masashi Shibata
Introduction of Feedy
Introduction of Feedy
Masashi Shibata
Webフレームワークを作ってる話 #osakapy
Webフレームワークを作ってる話 #osakapy
Masashi Shibata
Pythonのすすめ
Pythonのすすめ
Masashi Shibata
pandasによるデータ加工時の注意点やライブラリの話
pandasによるデータ加工時の注意点やライブラリの話
Masashi Shibata
Pythonistaのためのデータ分析入門 - C4K Meetup #3
Pythonistaのためのデータ分析入門 - C4K Meetup #3
Masashi Shibata
テスト駆動開発入門 - C4K Meetup#2
テスト駆動開発入門 - C4K Meetup#2
Masashi Shibata
More from Masashi Shibata
(20)
MLOps Case Studies: Building fast, scalable, and high-accuracy ML systems at ...
MLOps Case Studies: Building fast, scalable, and high-accuracy ML systems at ...
実践Djangoの読み方 - みんなのPython勉強会 #72
実践Djangoの読み方 - みんなのPython勉強会 #72
CMA-ESサンプラーによるハイパーパラメータ最適化 at Optuna Meetup #1
CMA-ESサンプラーによるハイパーパラメータ最適化 at Optuna Meetup #1
サイバーエージェントにおけるMLOpsに関する取り組み at PyDataTokyo 23
サイバーエージェントにおけるMLOpsに関する取り組み at PyDataTokyo 23
Implementing sobol's quasirandom sequence generator
Implementing sobol's quasirandom sequence generator
DARTS: Differentiable Architecture Search at 社内論文読み会
DARTS: Differentiable Architecture Search at 社内論文読み会
Goptuna Distributed Bayesian Optimization Framework at Go Conference 2019 Autumn
Goptuna Distributed Bayesian Optimization Framework at Go Conference 2019 Autumn
PythonとAutoML at PyConJP 2019
PythonとAutoML at PyConJP 2019
Djangoアプリのデプロイに関するプラクティス / Deploy django application
Djangoアプリのデプロイに関するプラクティス / Deploy django application
Django REST Framework における API 実装プラクティス | PyCon JP 2018
Django REST Framework における API 実装プラクティス | PyCon JP 2018
Django の認証処理実装パターン / Django Authentication Patterns
Django の認証処理実装パターン / Django Authentication Patterns
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP
RTMPのはなし - RTMP1.0の仕様とコンセプト / Concepts and Specification of RTMP
Golangにおける端末制御 リッチなターミナルUIの実現方法
Golangにおける端末制御 リッチなターミナルUIの実現方法
How to develop a rich terminal UI application
How to develop a rich terminal UI application
Introduction of Feedy
Introduction of Feedy
Webフレームワークを作ってる話 #osakapy
Webフレームワークを作ってる話 #osakapy
Pythonのすすめ
Pythonのすすめ
pandasによるデータ加工時の注意点やライブラリの話
pandasによるデータ加工時の注意点やライブラリの話
Pythonistaのためのデータ分析入門 - C4K Meetup #3
Pythonistaのためのデータ分析入門 - C4K Meetup #3
テスト駆動開発入門 - C4K Meetup#2
テスト駆動開発入門 - C4K Meetup#2
Recently uploaded
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization Specialist
KHM Anwar
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
Neha Pandey
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
soniya singh
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
soniya singh
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
kumarajju5765
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
sexy call girls service in goa
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
aditipandeya
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
rahman018755
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
James Anderson
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Damian Radcliffe
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
Call Girls Mumbai
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
soniya singh
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
Thierry TROUIN ☁
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
ruhi
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
sonatiwari757
Recently uploaded
(20)
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization Specialist
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
システムコールトレーサーの動作原理と実装 (Writing system call tracer for Linux/x86)
1.
AbemaTV Linux / x86
Go
2.
AbemaTV Masashi SHIBATA c-bata c_bata_!
"
3.
#include <stdio.h> int main(int
argc, char *argv[]) { printf("Hello World! %d %sn", argc, argv[0]); return 0; } strace $ gcc hello.c -o hello -Wall -O0 $ strace ./hello hello.c
4.
$ strace ./hello execve("./hello",
["./hello"], [/* 25 vars */]) = 0 uname({sys="Linux", node="ip-10-0-2-15.ap- northeast-1.compute.internal", ...}) = 0 : fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=ma… mmap2(NULL, 4096, PROT_READ|PROT_WRITE, … write(1, "Hello World! 1 ./hellon", 23Hello World! 1 ./hello) = 23 exit_group(0) = ? strace
5.
$ strace ./hello execve("./hello",
["./hello"], [/* 25 vars */]) = 0 uname({sys="Linux", node="ip-10-0-2-15.ap- northeast-1.compute.internal", ...}) = 0 : fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=ma… mmap2(NULL, 4096, PROT_READ|PROT_WRITE, … write(1, "Hello World! 1 ./hellon", 23Hello World! 1 ./hello) = 23 exit_group(0) = ? fork execve
6.
$ strace ./hello execve("./hello",
["./hello"], [/* 25 vars */]) = 0 uname({sys="Linux", node="ip-10-0-2-15.ap- northeast-1.compute.internal", ...}) = 0 : fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=ma… mmap2(NULL, 4096, PROT_READ|PROT_WRITE, … write(1, "Hello World! 1 ./hellon", 23Hello World! 1 ./hello) = 23 exit_group(0) = ? write
7.
Topic 1 Linux /
X86 CPU Application Binary Interface System Call Numbers X86 Registers KEYWORDS
8.
ABI: Application Binary
Interface
9.
10.
11.
https://github.com/torvalds/linux/blob/v4.14/arch/x86/entry/syscalls/syscall_32.tbl 0 i386 restart_syscall
sys_restart_syscall 1 i386 exit sys_exit 2 i386 fork sys_fork sys_fork 3 i386 read sys_read 4 i386 write sys_write 5 i386 open sys_open compat_sys_open
12.
13.
Topic 2 ptrace ptrace system
call https://github.com/c-bata/systrace/ KEYWORDS
14.
ptrace ptrace system call
15.
https://github.com/c-bata/systracer Target(Traced) ProcessTracing Process ptrace(PTRACE_TRACEME,
…) waitpid(pid, &status, 0) if WIFEXITED(status) { break; } ptrace(PTRACE_GETREGS, …) ptrace(PTRACE_SYSCALL, …) execve(…) fork() while(1) SIGCONT ! ! ! ! !
16.
https://github.com/c-bata/systrace/
Download now