SlideShare a Scribd company logo
1 of 58
Download to read offline
2
2 2 2
2 2
,1 1 , ,1 18 - 1 11 C 1 1 18 8 1 1E1
8 0 F F 0 F C C21
8 8 ))) 1 1 ( 3 ( C ( C 38 F 1 3 3
( C (
• 28 8 8 B H 8 D 89B
• 1H 8BB D BE 9 8 H E E 8 ED E C8D H H
• 1M8C B
• .8
• 3E 8D ' 25 8 B H E ( 8 H 658D 8B 7
• .8 9B8
• ) 200 8 B H E ( 8 H 4E 8B ,'' 200H
BE EC ,
'13 0'3
while(!(ioread(STAUS_REGISTER) & 0x80000));
'1 40'
while(!(ioread(STAUS_REGISTER) & 0x80000));
2 51
' 0
' 0
' 0
while(!(ioread(STAUS_REGISTER) & 0x80000));
8 6
01 1203 01 '
01 1203 01 '
01 1203 01 '
01 1203 01 '
while(!(ioread(STAUS_REGISTER) & 0x80000));
'1 0'
while(!(ioread(STAUS_REGISTER) & 0x80000));
0 1
' '
' '
while(!(ioread(STAUS_REGISTER) & 0x80000));
2 1
' 0
' 0
' 0
while(!(ioread(STAUS_REGISTER) & 0x80000));
2 1 3
' 0
' 0
' 0
' 0
while(!(ioread(STAUS_REGISTER) & 0x80000));
2 1 3
' 0
' 0
' 0
' 0
' 0
while(!(ioread(STAUS_REGISTER) & 0x80000));
:
! 12 231 0 12 0 ' !
12 231 0 12 0 ' !
12 231 0 12 0 ' !
12 231 0 12 0 ' !
8 12 231 0 12 0 ' !
3
while(!(ioread(STAUS_REGISTER) & 0x80000));
while(!(ioread(STAUS_REGISTER) & 0x80000))
{
count++;
if(count > TIMEOUT_MAX){
goto err;
}
usleep(1);
}
…
err:
do_error_handling();
' '
'
4 1
' '
5 5
1 1 1
1 1 1
1 85
1 1 1 1 1 1
'
1 1 1
1 1 1
61 8
1 1 1 1 1 1
'
1 1 7 17
1 1 7 17
17 8 7
1 1 7 17 1 1 7 17
'
1
• ' 8 8 1 8 8 8 8
8 1
1
• -
void func(void) {
int x = inb(…); // x is symbolic
if (x < 10) return -EIO;
else return 0;
}
void func(void) {
int x = inb(…); // x is symbolic
if (x < 10) return -EIO;
else return 0;
}
void func(void) {
int x = inb(…); // x is symbolic
if (x < 10) return -EIO;
else return 0;
}
実行パスの分岐
シンボルxの制約条件
• - -
A 1 8
A' -1 -
A -1 8 1 - 8 1
9 - -
1
201 . .02,
0 D0
'0
C 2 C
'0 8 2
F 0 0
F- D 0
0 1 0 C
D
C
8
• 1 1 81 2 1 181 1 2 81
• D 1 1 1 1
• D 1 1 1 81
• 1
! 1 1 1 C
• 1 1 1 C 181
1 2 1 1 1 1
' 1
1
1
' 1
1 1
1
' 1
1
8 8
1 8
'
1 81 8
1 81 8
8 1 8
2 1
1 1
)
3
8 8
3 2 8
'
2 82 8
8 33 8
2 82 8
8 2 8
8 8
2
12 8
2 2 )
4
8 81
' 2 8
1
1 2 1 82 18
8 18
1 2 1 82 18 1
18 2 8
2 2
2 2 )
2
2
' /5
51 5
8
51 2 5
5
2
8 2
6
' 6
8 66
A
6 8
86A 2
8 1 1 6 8 8
• A A EF DFG F A EGCC DF F G F E D
• D D CCD CD F G F A I 8GF 7 F C D E D
G
G EF
1''
' 2 ' ' 1
• ) 2
• / ' 21 / ( )
• )
• ( 1 1 1
' ' 8
)ADI )D '
0
-I GH
0
E F GDF
0
IAH GDF
( GG HD FHI A
GH F ( GG
1 2 9
C H DC
18
FDDH D
18
CDC FDDH
1 8
)ADI )D '
0
-I GH 3
0
E F GDF
0
IAH GDF
( GG HD FHI A
GH F ( GG
1 2
C H DC
18
FDDH D
18
CDC FDDH
1 8
)ADI )D '
0
-I GH 3
0
E F GDF
0
IAH GDF
( GG HD FHI A
GH F ( GG
1 2
C H DC
18
FDDH D
18
CDC FDDH
1 8
)ADI )D '
0
-I GH 3
0
E F GDF
0
IAH GDF
( GG HD FHI A
GH F ( GG
1 2
C H DC
18
FDDH D
18
CDC FDDH
1 8
)ADI )D '
0
-I GH 3
0
E F GDF
0
IAH GDF
( GG HD FHI A
GH F ( GG
1 2
C H DC
18
FDDH D
18
CDC FDDH
1 8
• 0 '
'8 3'
4
4 A
1 8 0
0 '
0 ' 1 384
218 84 4 1 0 ' 34 4 43 A 18 C1
• 2 0 ' 5 8
( )
' 3' 8
A
1 0
0 '
0 ' 1 3
• 6 E CA 1 3 8 C 6
• A 6 1 6C A 36
' C6'
2,'
C A
EA 3 66 AA
C A
2 C3 66 AA
A
EA 3 366 AA
3
13
1
'
1
• 1 8 - 1 3 0 1 =1 7 7
• =7 8 1 133 ( =7 8 1 133
- -
) 3) '
7 8 1 133
7 8 1 133
8
)1 1
• ' 3 1 1 0 01 0 ' 88 0
' 1 8
) (
2 3
' 0 81 2 88
' 0 81 2 88
3 1 8 0 ' 8 8
• 1 1 01 1 9 3 8 23 1 2 8 8
0 1 1 8 93 01 1
) (
' 8 0'8
-3 00 1
-3 00 1
1 1 12 8
• 8 4 . 1 .8 8
• 1. . 8. 8 8. 8 .4 8 . 0 1 .8 8
. . 8 .8
) (
4
.8 8
' .
1.8
.8 8
' . ' .
1.8
.8 8
' .
• . HE
• 5068 -3 )
• 4 1 1 E ' 8HI H ) '
• -M C I 1 E
• E E8 H I CE IE CE
• 3I8 I 8 I I E 8 H 8 E E8 H
• 8 E H I I EEI I C8 8 E I IE I HI
, E ,EC (
N VH O (
5PUIN B)( LX FI 3F1 5
5PUIN ) (7 I 3FI 5
2VTL P L L 0SLWI 5 OIO S WTN 5I 0
7 5 8I E -50 7TLDOS' -50 G PUS NNIS
4 RISWLT S 8AESI 1 BL ) 861SPIN .VLNH )' )'
8 UKISF ESH - GM C 1XUSIOI(
5PUIN SI L K RISUKSIEHLP HLTEFNIH
-8 00 ( ''84Z 3. X
3VITU FVPUV ( 7LPVX MISPIN ( ) '
' '
'
' '
' '
' '
3 . 43
• C C
D D
• . 1 8
. 8 D
• . 1 8
• 1 8 D
• ) ) F C I 8 D
( E ( ' '
1E 28
( )
' '
( )
' '
• 1 - 1 A5 1A5 1 5A1 1 5 - 1 -
5 1 - 8 5 1 5 - 1 1 A5 -85E- 5
• 81 1 1 1 5-8 1 1 A5 -85E- 5 1 1 1 5
• 51A1 - 8 1 1-8 1C1 5 1 A5 1
• - 1 - 851 8 1 1 1A5 1 5A1
• C 1 5 1
• ' 11 5 1 - 81 5 5 -8 1 -58 1 5
• 8 1 A1 1- - 1 - 5 5 -8 1 1 A5 -85E- 5
8
• 2 2 ' 12
5
' 2
' 2 ' 2
5
8 2 2
' 28
• LF D G 0 L D 8D L E MK 3MR ?D ME 1
0DL D 5 CT D 3 H R D - 6222 1 :
• . 7 DHL / BIA D 5 C 1 HSD EM
G N , TTT A BIA D BMK A MF G C C HSD EM
• IDIM GH D D HLF 1DSHBD 1 HSD .F HL 5 CT D
3 H R D HL D 2LSH MLKDL .0 .0
0 MRC0MK '
' '
0G OA0 H -
L A H H ,, ' I 3 2 850 DOIABL GN
. GB 8 7B 1 IPHB 05B 1
0 7 L ( EI D 6 NB ' ,
3OBMN H 4ECD EBLL ( )
' '
' '
'

More Related Content

What's hot

Guia simplificacionprocedimientos
Guia simplificacionprocedimientosGuia simplificacionprocedimientos
Guia simplificacionprocedimientos
Raleons Mamani
 
Manual usuario-m vcenter
Manual usuario-m vcenterManual usuario-m vcenter
Manual usuario-m vcenter
Claudio Arkan
 
June2016-Precast-mk
June2016-Precast-mkJune2016-Precast-mk
June2016-Precast-mk
Mohan Kumar
 
Человек в умной экономике
Человек в умной экономикеЧеловек в умной экономике
Человек в умной экономике
RnD_SM
 
4 dsp b tamil sk tahun 3 13 mei
4 dsp b tamil sk tahun 3 13 mei4 dsp b tamil sk tahun 3 13 mei
4 dsp b tamil sk tahun 3 13 mei
Kartikaa Jeyanthan
 

What's hot (19)

Artigo em que sou citado
Artigo em que sou citadoArtigo em que sou citado
Artigo em que sou citado
 
Guia simplificacionprocedimientos
Guia simplificacionprocedimientosGuia simplificacionprocedimientos
Guia simplificacionprocedimientos
 
มอต้น
มอต้นมอต้น
มอต้น
 
Manual usuario-m vcenter
Manual usuario-m vcenterManual usuario-m vcenter
Manual usuario-m vcenter
 
June2016-Precast-mk
June2016-Precast-mkJune2016-Precast-mk
June2016-Precast-mk
 
Trade diplomacy
Trade diplomacy Trade diplomacy
Trade diplomacy
 
Comparison of capital city move between indonesia and other countries
Comparison of capital city move between indonesia and other countries Comparison of capital city move between indonesia and other countries
Comparison of capital city move between indonesia and other countries
 
Tìm hiểu kỹ thuật chuyển giao và điều khiển công suất trong hệ thống wcdma
Tìm hiểu kỹ thuật chuyển giao và điều khiển công suất trong hệ thống wcdmaTìm hiểu kỹ thuật chuyển giao và điều khiển công suất trong hệ thống wcdma
Tìm hiểu kỹ thuật chuyển giao và điều khiển công suất trong hệ thống wcdma
 
Portugal 3 anos
Portugal 3 anosPortugal 3 anos
Portugal 3 anos
 
29thchapter
29thchapter29thchapter
29thchapter
 
Teoma Plan de Compensacion 2016
Teoma Plan de Compensacion 2016Teoma Plan de Compensacion 2016
Teoma Plan de Compensacion 2016
 
Человек в умной экономике
Человек в умной экономикеЧеловек в умной экономике
Человек в умной экономике
 
مراجعة الصف الثالث الابتدائى سلسلة الليالى العشر2
مراجعة الصف الثالث الابتدائى سلسلة الليالى العشر2مراجعة الصف الثالث الابتدائى سلسلة الليالى العشر2
مراجعة الصف الثالث الابتدائى سلسلة الليالى العشر2
 
Wujud
WujudWujud
Wujud
 
Manual da Calçada Sustentável
Manual da Calçada SustentávelManual da Calçada Sustentável
Manual da Calçada Sustentável
 
Gestão por competências oliveira
Gestão por competências   oliveiraGestão por competências   oliveira
Gestão por competências oliveira
 
Modul Pendidikan Antikorupsi SD/MI Kelas 6
Modul Pendidikan Antikorupsi SD/MI Kelas 6Modul Pendidikan Antikorupsi SD/MI Kelas 6
Modul Pendidikan Antikorupsi SD/MI Kelas 6
 
4 dsp b tamil sk tahun 3 13 mei
4 dsp b tamil sk tahun 3 13 mei4 dsp b tamil sk tahun 3 13 mei
4 dsp b tamil sk tahun 3 13 mei
 
GENETIPAGEM E PATERNIDADE DE CURIÓ
GENETIPAGEM E PATERNIDADE DE CURIÓGENETIPAGEM E PATERNIDADE DE CURIÓ
GENETIPAGEM E PATERNIDADE DE CURIÓ
 

More from Shinagawa Laboratory, The University of Tokyo

More from Shinagawa Laboratory, The University of Tokyo (11)

Towards Isolated Execution at the Machine Level
Towards Isolated Execution at the Machine LevelTowards Isolated Execution at the Machine Level
Towards Isolated Execution at the Machine Level
 
DMAFV: Testing Device Drivers against DMA Faults
DMAFV: Testing Device Drivers against DMA FaultsDMAFV: Testing Device Drivers against DMA Faults
DMAFV: Testing Device Drivers against DMA Faults
 
Deriving Optimal Deep Learning Models for Image-based Malware Classification
Deriving Optimal Deep Learning Models for Image-based Malware ClassificationDeriving Optimal Deep Learning Models for Image-based Malware Classification
Deriving Optimal Deep Learning Models for Image-based Malware Classification
 
遅延レイヤ取得による高互換コンテナ起動高速化手法
遅延レイヤ取得による高互換コンテナ起動高速化手法遅延レイヤ取得による高互換コンテナ起動高速化手法
遅延レイヤ取得による高互換コンテナ起動高速化手法
 
ライブマイグレーションにおけるサブページ書き込み保護の評価
ライブマイグレーションにおけるサブページ書き込み保護の評価ライブマイグレーションにおけるサブページ書き込み保護の評価
ライブマイグレーションにおけるサブページ書き込み保護の評価
 
A Robust and Flexible Operating System Compatibility Architecture
A Robust and Flexible Operating System Compatibility ArchitectureA Robust and Flexible Operating System Compatibility Architecture
A Robust and Flexible Operating System Compatibility Architecture
 
Distributed Denial of Service Attack Prevention at Source Machines
Distributed Denial of Service Attack Prevention at Source MachinesDistributed Denial of Service Attack Prevention at Source Machines
Distributed Denial of Service Attack Prevention at Source Machines
 
The Quick Migration of File Servers
The Quick Migration of File ServersThe Quick Migration of File Servers
The Quick Migration of File Servers
 
Unified Hardware Abstraction Layer with Device Masquerade
Unified Hardware Abstraction Layer with Device MasqueradeUnified Hardware Abstraction Layer with Device Masquerade
Unified Hardware Abstraction Layer with Device Masquerade
 
BMCArmor: A Hardware Protection Scheme for Bare-metal Clouds
BMCArmor: A Hardware Protection Scheme for Bare-metal CloudsBMCArmor: A Hardware Protection Scheme for Bare-metal Clouds
BMCArmor: A Hardware Protection Scheme for Bare-metal Clouds
 
VM-aware Adaptive Storage Cache Prefetching
VM-aware Adaptive Storage Cache PrefetchingVM-aware Adaptive Storage Cache Prefetching
VM-aware Adaptive Storage Cache Prefetching
 

FaultVisor2: Testing Hypervisor Device Drivers against Real Hardware Failures

  • 1. 2 2 2 2 2 2 ,1 1 , ,1 18 - 1 11 C 1 1 18 8 1 1E1 8 0 F F 0 F C C21 8 8 ))) 1 1 ( 3 ( C ( C 38 F 1 3 3 ( C (
  • 2. • 28 8 8 B H 8 D 89B • 1H 8BB D BE 9 8 H E E 8 ED E C8D H H • 1M8C B • .8 • 3E 8D ' 25 8 B H E ( 8 H 658D 8B 7 • .8 9B8 • ) 200 8 B H E ( 8 H 4E 8B ,'' 200H BE EC ,
  • 5. 2 51 ' 0 ' 0 ' 0 while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 6. 8 6 01 1203 01 ' 01 1203 01 ' 01 1203 01 ' 01 1203 01 ' while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 8. 0 1 ' ' ' ' while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 9. 2 1 ' 0 ' 0 ' 0 while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 10. 2 1 3 ' 0 ' 0 ' 0 ' 0 while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 11. 2 1 3 ' 0 ' 0 ' 0 ' 0 ' 0 while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 12. : ! 12 231 0 12 0 ' ! 12 231 0 12 0 ' ! 12 231 0 12 0 ' ! 12 231 0 12 0 ' ! 8 12 231 0 12 0 ' ! 3 while(!(ioread(STAUS_REGISTER) & 0x80000));
  • 13. while(!(ioread(STAUS_REGISTER) & 0x80000)) { count++; if(count > TIMEOUT_MAX){ goto err; } usleep(1); } … err: do_error_handling(); ' '
  • 15. 5 5 1 1 1 1 1 1 1 85 1 1 1 1 1 1 '
  • 16. 1 1 1 1 1 1 61 8 1 1 1 1 1 1 '
  • 17. 1 1 7 17 1 1 7 17 17 8 7 1 1 7 17 1 1 7 17 '
  • 18. 1 • ' 8 8 1 8 8 8 8 8 1 1
  • 19. • - void func(void) { int x = inb(…); // x is symbolic if (x < 10) return -EIO; else return 0; } void func(void) { int x = inb(…); // x is symbolic if (x < 10) return -EIO; else return 0; } void func(void) { int x = inb(…); // x is symbolic if (x < 10) return -EIO; else return 0; } 実行パスの分岐 シンボルxの制約条件 • - - A 1 8 A' -1 - A -1 8 1 - 8 1 9 - - 1
  • 20. 201 . .02, 0 D0 '0 C 2 C '0 8 2 F 0 0 F- D 0 0 1 0 C D C
  • 21. 8 • 1 1 81 2 1 181 1 2 81 • D 1 1 1 1 • D 1 1 1 81 • 1 ! 1 1 1 C • 1 1 1 C 181 1 2 1 1 1 1 ' 1 1 1 ' 1 1 1 1 ' 1 1
  • 22. 8 8 1 8 ' 1 81 8 1 81 8 8 1 8 2 1 1 1
  • 23. ) 3 8 8 3 2 8 ' 2 82 8 8 33 8 2 82 8 8 2 8 8 8 2 12 8
  • 24. 2 2 ) 4 8 81 ' 2 8 1 1 2 1 82 18 8 18 1 2 1 82 18 1 18 2 8 2 2
  • 25. 2 2 ) 2 2 ' /5 51 5 8 51 2 5 5 2 8 2
  • 26. 6 ' 6 8 66 A 6 8 86A 2 8 1 1 6 8 8
  • 27. • A A EF DFG F A EGCC DF F G F E D • D D CCD CD F G F A I 8GF 7 F C D E D G G EF 1'' ' 2 ' ' 1
  • 28. • ) 2 • / ' 21 / ( ) • ) • ( 1 1 1 ' ' 8
  • 29. )ADI )D ' 0 -I GH 0 E F GDF 0 IAH GDF ( GG HD FHI A GH F ( GG 1 2 9 C H DC 18 FDDH D 18 CDC FDDH 1 8
  • 30. )ADI )D ' 0 -I GH 3 0 E F GDF 0 IAH GDF ( GG HD FHI A GH F ( GG 1 2 C H DC 18 FDDH D 18 CDC FDDH 1 8
  • 31. )ADI )D ' 0 -I GH 3 0 E F GDF 0 IAH GDF ( GG HD FHI A GH F ( GG 1 2 C H DC 18 FDDH D 18 CDC FDDH 1 8
  • 32. )ADI )D ' 0 -I GH 3 0 E F GDF 0 IAH GDF ( GG HD FHI A GH F ( GG 1 2 C H DC 18 FDDH D 18 CDC FDDH 1 8
  • 33. )ADI )D ' 0 -I GH 3 0 E F GDF 0 IAH GDF ( GG HD FHI A GH F ( GG 1 2 C H DC 18 FDDH D 18 CDC FDDH 1 8
  • 34. • 0 ' '8 3' 4 4 A 1 8 0 0 ' 0 ' 1 384 218 84 4 1 0 ' 34 4 43 A 18 C1
  • 35. • 2 0 ' 5 8 ( ) ' 3' 8 A 1 0 0 ' 0 ' 1 3
  • 36. • 6 E CA 1 3 8 C 6 • A 6 1 6C A 36 ' C6' 2,' C A EA 3 66 AA C A 2 C3 66 AA A EA 3 366 AA 3 13 1 ' 1
  • 37. • 1 8 - 1 3 0 1 =1 7 7 • =7 8 1 133 ( =7 8 1 133 - - ) 3) ' 7 8 1 133 7 8 1 133 8 )1 1
  • 38. • ' 3 1 1 0 01 0 ' 88 0 ' 1 8 ) ( 2 3 ' 0 81 2 88 ' 0 81 2 88 3 1 8 0 ' 8 8
  • 39. • 1 1 01 1 9 3 8 23 1 2 8 8 0 1 1 8 93 01 1 ) ( ' 8 0'8 -3 00 1 -3 00 1 1 1 12 8
  • 40. • 8 4 . 1 .8 8 • 1. . 8. 8 8. 8 .4 8 . 0 1 .8 8 . . 8 .8 ) ( 4 .8 8 ' . 1.8 .8 8 ' . ' . 1.8 .8 8 ' .
  • 41. • . HE • 5068 -3 ) • 4 1 1 E ' 8HI H ) ' • -M C I 1 E • E E8 H I CE IE CE • 3I8 I 8 I I E 8 H 8 E E8 H • 8 E H I I EEI I C8 8 E I IE I HI , E ,EC (
  • 42. N VH O ( 5PUIN B)( LX FI 3F1 5 5PUIN ) (7 I 3FI 5 2VTL P L L 0SLWI 5 OIO S WTN 5I 0 7 5 8I E -50 7TLDOS' -50 G PUS NNIS 4 RISWLT S 8AESI 1 BL ) 861SPIN .VLNH )' )' 8 UKISF ESH - GM C 1XUSIOI( 5PUIN SI L K RISUKSIEHLP HLTEFNIH -8 00 ( ''84Z 3. X 3VITU FVPUV ( 7LPVX MISPIN ( ) '
  • 43. ' '
  • 44. '
  • 45. ' '
  • 46. ' '
  • 47. ' '
  • 48. 3 . 43 • C C D D • . 1 8 . 8 D • . 1 8 • 1 8 D • ) ) F C I 8 D ( E ( ' ' 1E 28
  • 51. • 1 - 1 A5 1A5 1 5A1 1 5 - 1 - 5 1 - 8 5 1 5 - 1 1 A5 -85E- 5 • 81 1 1 1 5-8 1 1 A5 -85E- 5 1 1 1 5 • 51A1 - 8 1 1-8 1C1 5 1 A5 1 • - 1 - 851 8 1 1 1A5 1 5A1 • C 1 5 1 • ' 11 5 1 - 81 5 5 -8 1 -58 1 5 • 8 1 A1 1- - 1 - 5 5 -8 1 1 A5 -85E- 5 8
  • 52. • 2 2 ' 12 5 ' 2 ' 2 ' 2 5 8 2 2 ' 28
  • 53. • LF D G 0 L D 8D L E MK 3MR ?D ME 1 0DL D 5 CT D 3 H R D - 6222 1 : • . 7 DHL / BIA D 5 C 1 HSD EM G N , TTT A BIA D BMK A MF G C C HSD EM • IDIM GH D D HLF 1DSHBD 1 HSD .F HL 5 CT D 3 H R D HL D 2LSH MLKDL .0 .0 0 MRC0MK '
  • 54. ' '
  • 55. 0G OA0 H - L A H H ,, ' I 3 2 850 DOIABL GN . GB 8 7B 1 IPHB 05B 1 0 7 L ( EI D 6 NB ' , 3OBMN H 4ECD EBLL ( )
  • 56. ' '
  • 57. ' '
  • 58. '