JP5689400B2 - アクセス要求に対する予期せぬ応答に関するコンピュータ・プログラムの検証 - Google Patents
アクセス要求に対する予期せぬ応答に関するコンピュータ・プログラムの検証 Download PDFInfo
- Publication number
- JP5689400B2 JP5689400B2 JP2011242360A JP2011242360A JP5689400B2 JP 5689400 B2 JP5689400 B2 JP 5689400B2 JP 2011242360 A JP2011242360 A JP 2011242360A JP 2011242360 A JP2011242360 A JP 2011242360A JP 5689400 B2 JP5689400 B2 JP 5689400B2
- Authority
- JP
- Japan
- Prior art keywords
- computer program
- time
- response
- resource
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
Description
time1=gettime();
time2=gettime();
timersub(time1, time2, &diff);
assert(diff.tv_sec >= 0);
time1=gettime()
ここでtimersubは、「time2」から「time1」を差し引くことによって「time1」と「time2」との間の時間差を求め、この時間差を「diff」に代入するように動作する関数である。このコード断片は、非クラウド・コンピューティング環境において検査される場合、「time1」が、設定「time2」に関連付けられたクロック読み取りの前に行われたクロック読み取りに基づいて設定されるので、安定である。しかしながら、クラウド・コンピューティング環境においては、「time1」は、「time2」の後の時間を含むことができるので、この仮定は誤りである場合がある。本発明を利用して、このコード断片を検査し、クラウド・コンピューティング環境におけるいくつかのシナリオにおいて、「time2」が「time1」の後で設定されたとしても、「time1」の前の時間であり得ることを判定する。
50:クラウド・コンピューティング環境
54A−N:コンピューティング機器
100:コンピュータ環境
105:クラウド
106:ホスト
140:ユーザ
145:マン−マシン・インタフェース
Claims (19)
- コンピュータ化された機器によってコンピュータ・プログラムを動作させることにより、前記コンピュータ・プログラムを検査するステップであって、前記コンピュータ化された機器が、前記コンピュータ・プログラムにリソースへのアクセスを提供するように動作する、ステップと、
前記コンピュータ・プログラムによる前記リソースへのアクセス要求を遮断するステップと
を含み、前記遮断するステップが、
前記コンピュータ・プログラムに提供される応答を決定するステップと、
前記要求に対する前記リソースからの応答の代わりに、前記決定された応答を前記コンピュータ・プログラムに提供するステップと
を含む、コンピュータにより実装される方法であって、
前記決定するステップが、
以前に提供された時間を取得することと、
以前に提供された時間の所定の範囲内で時間をランダム化することと
を含み、前記ランダム化された時間が、前記決定された応答である
コンピュータにより実装される方法。 - 前記リソースがクロックであり、前記応答がクロックの時間である、請求項1に記載の方法。
- ユーザから前記所定の範囲を受け取るステップをさらに含む、請求項2に記載の方法。
- 前記決定するステップが、
以前に提供された時間を取得することと、
前記時間を、前記以前に提供された時間よりも前になるように決定することと
を含んで動作する、請求項2に記載の方法。 - 前記決定するステップが、
前記クロックから現在時間を取得することと、
前記時間を、該時間が前記現在時間から少なくとも所定の持続時間だけ後になるように決定することと
を含む、請求項4に記載の方法。 - 前記遮断するステップが、前記リソースに対する複数のアクセス要求に関して、複数回実施される、請求項1に記載の方法。
- 前記検査するステップが、クラウド・コンピューティング環境における前記コンピュータ・プログラムの動作の妥当性を検査することを含む、請求項1に記載の方法
- 前記動作の妥当性を検査するステップの完了に応答して、前記コンピュータ・プログラムを前記クラウド・コンピューティング環境にロードするステップをさらに含む、請求項7に記載の方法。
- 前記コンピュータ・プログラムを前処理するステップと、前記リソースにアクセスするように動作する関数呼び出しを識別するステップとをさらに含む、請求項1に記載の方法。
- 前記コンピュータ・プログラムを、前記関数呼び出しを置き換えるように動作するコードで計装化するステップをさらに含み、前記遮断するステップが、前記コードを実行するステップを含む、請求項9に記載の方法。
- プロセッサを有する、コンピュータ化された装置であって、
コンピュータ・プログラムを動作させるように動作する検査モジュールであって、前記コンピュータ・プログラムにリソースへのアクセスを提供するように構成される、検査モジュールと、
前記コンピュータ・プログラムによる前記リソースへのアクセス要求を遮断するように動作する遮断器であって、前記コンピュータ・プログラムに提供される応答を決定するように動作する応答決定器を含み、さらに、前記要求に対する前記リソースからの応答の代わりに、前記決定された応答を前記コンピュータ・プログラムに提供するように動作する、遮断器と
を含む、装置であって、
前記応答決定器がさらに、以前に提供された時間を取得するように動作し、前記応答決定器が、以前に提供された時間の所定の範囲内で時間をランダム化するように動作するランダム化モジュールに動作可能に結合され、前記ランダム化された時間が、前記決定された応答である
装置。 - 前記リソースがクロックであり、
前記応答がクロックの時間である、
請求項11に記載の装置。 - ユーザから前記所定の範囲を受け取るように動作する入力モジュールをさらに含む、請求項11に記載の装置。
- 前記応答決定器がさらに、以前に提供された時間を取得するように動作し、前記決定された応答が、前記以前に提供された時間よりも前の時間である、請求項12に記載の装置。
- 前記応答決定器がさらに、前記クロックから現在時間を取得し、前記時間を、該時間が前記現在時間から少なくとも所定の持続時間だけ後になるように決定するように動作する、請求項12に記載の装置。
- 前記検査モジュールが、クラウド・コンピューティング環境における前記コンピュータ・プログラムの動作の妥当性を検査するように構成される、請求項11に記載の装置。
- 前記コンピュータ・プログラムを前処理し、前記リソースにアクセスするように動作する関数呼び出しを識別する、アクセス識別器をさらに含む、請求項11に記載の装置。
- 前記コンピュータ・プログラムを前処理することが、前記コンピュータ・プログラムを、前記関数呼び出しを置き換えるように動作するコードで計装化することを含む、請求項17に記載の装置。
- 請求項1−10のいずれか1項に記載の方法の各ステップをコンピュータに実行させるためのコンピュータ・プログラム。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/948,788 US9612942B2 (en) | 2010-11-18 | 2010-11-18 | Verification of a computer program in respect to an unexpected response to an access request |
US12/948788 | 2010-11-18 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012108904A JP2012108904A (ja) | 2012-06-07 |
JP5689400B2 true JP5689400B2 (ja) | 2015-03-25 |
Family
ID=46065143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011242360A Expired - Fee Related JP5689400B2 (ja) | 2010-11-18 | 2011-11-04 | アクセス要求に対する予期せぬ応答に関するコンピュータ・プログラムの検証 |
Country Status (3)
Country | Link |
---|---|
US (1) | US9612942B2 (ja) |
JP (1) | JP5689400B2 (ja) |
CN (1) | CN102591771A (ja) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9037564B2 (en) | 2011-04-29 | 2015-05-19 | Stephen Lesavich | Method and system for electronic content storage and retrieval with galois fields on cloud computing networks |
US9361479B2 (en) | 2011-04-29 | 2016-06-07 | Stephen Lesavich | Method and system for electronic content storage and retrieval using Galois fields and geometric shapes on cloud computing networks |
US9137250B2 (en) | 2011-04-29 | 2015-09-15 | Stephen Lesavich | Method and system for electronic content storage and retrieval using galois fields and information entropy on cloud computing networks |
US9569771B2 (en) | 2011-04-29 | 2017-02-14 | Stephen Lesavich | Method and system for storage and retrieval of blockchain blocks using galois fields |
CN102917077A (zh) * | 2012-11-20 | 2013-02-06 | 无锡城市云计算中心有限公司 | 云计算系统中的资源分配方法 |
AT513869B1 (de) * | 2013-02-01 | 2017-12-15 | Frequentis Ag | Verfahren zur Überprüfung eines Computernetzwerkes |
WO2014155684A1 (ja) * | 2013-03-29 | 2014-10-02 | 富士通株式会社 | プログラム、情報処理システム、およびプログラム移行方法 |
EP3014562A4 (en) * | 2013-06-28 | 2016-11-30 | Hewlett Packard Entpr Dev Lp | SIMULATION OF SENSORS |
US10049033B2 (en) * | 2014-06-03 | 2018-08-14 | Sap Se | Application gateway for cloud computing systems |
US10275341B2 (en) * | 2015-01-21 | 2019-04-30 | Somo Innovations Ltd | Mobile application usability testing |
EP3782082A1 (en) * | 2018-05-18 | 2021-02-24 | Google LLC | Systems and methods for debugging neural networks with coverage guided fuzzing |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5974569A (en) * | 1998-01-05 | 1999-10-26 | Nickles; Alfred E. | System and method for determining whether time-based operations of a computer system operate properly |
US6895578B1 (en) * | 1999-01-06 | 2005-05-17 | Parasoft Corporation | Modularizing a computer program for testing and debugging |
US7092866B2 (en) * | 2002-05-10 | 2006-08-15 | International Business Machines Corporation | System and method for time compression during software testing |
US7475002B1 (en) | 2004-02-18 | 2009-01-06 | Vmware, Inc. | Method and apparatus for emulating multiple virtual timers in a virtual computer system when the virtual timers fall behind the real time of a physical computer system |
US7502850B2 (en) * | 2005-01-06 | 2009-03-10 | International Business Machines Corporation | Verifying resource functionality before use by a grid job submitted to a grid environment |
US7720654B2 (en) * | 2005-10-15 | 2010-05-18 | Micron Technology, Inc. | Generation and manipulation of realistic signals for circuit and system verification |
US20080270819A1 (en) * | 2007-04-27 | 2008-10-30 | Bruce Hamilton | Uncorrelated actions using a distributed system |
US8370822B2 (en) * | 2008-11-20 | 2013-02-05 | Apple Inc. | Compiling techniques for providing limited accuracy and enhanced performance granularity |
US8352922B2 (en) * | 2009-03-31 | 2013-01-08 | International Business Machines Corporation | Date and time simulation for time-sensitive applications |
US8924791B2 (en) * | 2010-08-30 | 2014-12-30 | Hewlett-Packard Development Company, L.P. | System including a vendor computer system for testing software products in a cloud network |
-
2010
- 2010-11-18 US US12/948,788 patent/US9612942B2/en not_active Expired - Fee Related
-
2011
- 2011-11-04 JP JP2011242360A patent/JP5689400B2/ja not_active Expired - Fee Related
- 2011-11-15 CN CN2011103600102A patent/CN102591771A/zh active Pending
Also Published As
Publication number | Publication date |
---|---|
CN102591771A (zh) | 2012-07-18 |
US20120130702A1 (en) | 2012-05-24 |
US9612942B2 (en) | 2017-04-04 |
JP2012108904A (ja) | 2012-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5689400B2 (ja) | アクセス要求に対する予期せぬ応答に関するコンピュータ・プログラムの検証 | |
US10642725B2 (en) | Automated test generation for multi-interface enterprise virtualization management environment | |
US10223106B1 (en) | Customized static source code analysis | |
US10176022B2 (en) | Dynamically adapting a test workload to accelerate the identification of performance issues | |
US11093289B2 (en) | Provisioning disaster recovery resources across multiple different environments based on class of service | |
US9003239B2 (en) | Monitoring and resolving deadlocks, contention, runaway CPU and other virtual machine production issues | |
US11294803B2 (en) | Identifying incorrect variable values in software testing and development environments | |
US10552306B2 (en) | Automated test generation for multi-interface and multi-platform enterprise virtualization management environment | |
US10671506B2 (en) | Evaluating fairness in devices under test | |
EP4264433A1 (en) | System testing infrastructure with hidden variable, hidden attribute, and hidden value detection | |
Keng et al. | Graph-aided directed testing of android applications for checking runtime privacy behaviours | |
US9513948B2 (en) | Automated virtual machine provisioning based on defect state | |
US10200271B2 (en) | Building and testing composite virtual services using debug automation | |
US10248554B2 (en) | Embedding profile tests into profile driven feedback generated binaries | |
Lochmann et al. | Reproducible load tests for android systems with trace-based benchmarks | |
US20170123959A1 (en) | Optimized instrumentation based on functional coverage | |
Kalra et al. | Multi-tenant quality attributes to manage tenants in SaaS applications | |
US11656974B2 (en) | Enhanced performance diagnosis in a network computing environment | |
US11360939B2 (en) | Testing of file system events triggered by file access | |
Imran et al. | Provenance Framework for the Cloud Infrastructure: Why and How? | |
US10379998B2 (en) | Expiring hooks for computer application discovery | |
Lozupone | A study of open source web servers in virtual computing technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140528 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140917 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140924 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141218 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150128 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5689400 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |