1 / 18

Software Testing & Verification Group

Software Testing & Verification Group. Moonzoo Kim http://swtv.kaist.ac.kr. Main Research Theme. To Improve SW reliability through automated testing Quality attribute for minimizing malfunctions of systems to reduces damage to human life or valuable properties (i.e., to fight software bug)

rvandermark
Télécharger la présentation

Software Testing & Verification Group

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software Testing& Verification Group Moonzoo Kim http://swtv.kaist.ac.kr

  2. Main Research Theme • To Improve SW reliability through automated testing • Quality attribute for minimizing malfunctions of systems to reduces damage to human life or valuable properties (i.e., to fight software bug) • Highly reliable SW technology is a key to the success of industrial products • The portion of SW in embedded devices increases continuously Home Service Robots Intelligent Medical Devices Home Network Intelligent Mobile Systems Highly Reliable Software-intensive Systems

  3. How to Assure Quality of SW?

  4. Keynote by Bill Gates @ OOPSLA, 2002 • “… When you look at a big commercial software company like Microsoft, … We have as many testers as we have developers. Testers basically test all the time, and developers basically are involved in the testing process about half the time…” • “… We're not in the software industry; we're in the testing industry, and writing the software is the thing that keeps us busy doing all that testing.” • “…The test cases are unbelievably expensive; in fact, there's more lines of code in the test harness than there is in the program itself. Often that's a ratio of about three to one.”

  5. Significanceof Automated SW Analysis • Software has become more ubiquitous and more complex at the same time • Human resources are becoming less reliable and more expensive for highly complex software systems • Computing resources are becoming ubiquitous and free • Tencent @ China provides 10TB storage free • Amazon EC2 price: you can use thousands of CPUs @ 0.057$/hr for 3.2Ghz Quad-core CPU • Remaining task? • To develop automated and scientific software analysis tools to utilize computing resource effectively and efficiently

  6. Research Methodology Engineering Science SW TV group • Discrete math • Algorithm • PL • System programming • SW Engineering • Security Software Engineering Embedded Systems Programming Languages Algorithms OK System modeling System spec. or AutomatedTesting Requirement properties Req. spec. assert(φ) Counter example(s)

  7. Ex. Testing a Triangle Decision Program Input : Read three integer values from the command line. The three values represent the length of the sides of a triangle. Output : Tell whether the triangle is • 부등변삼각형, 이등변삼각형, 정삼각형 Create a Set of Test Cases for this program: (3,4,5), (2,2,1), (1,1,1) ? • Condition 1: a > 0, b > 0, c > 0 • Condition 2: a < b + c • Ex. (4, 2, 1) is an invalid triangle • Permutation of the above condition :a < b +c, b < a + c, c < a + b • What if b + c exceeds 232 (i.e. overflow)? • long v.s. int v.s. short v.s. char • Developers often fail to consider implicit preconditions • Cause of many hard-to-find bugs

  8. “Software Testing a craftsman’s approach” 2nd ed by P.C.Jorgensen (no check for positive inputs) • # of test cases required? • 4 • 10 • 50 • 100 • # of feasible unique execution paths? • 11 paths • guess what test cases needed

  9. Research Trends toward Quality Systems • Academic research on embedded systems has reached stable stage • just adding new functionalities to a target system is not considered as an academic contribution anymore • Research focus has moved to the quality of the systems from the mere functionalities of the systems • Energy efficient design, ez-maintenance, dynamic re-configuration, etc • Software reliability is one of the highly pursued qualities • ASPLOS 2011 Best paper • “S2E: a platform for in-vivo multi-path analysis for software systems” @ EPFL • OSDI 2008 Best paper • “Klee: Unassisted and Automatic Generation of High-Coverage Tests for Complex Systems Programs” @ Stanford • NSDI 2007 Best paper • “Life, Death, and the Critical Transition: Finding Liveness Bugs in Systems Code” @ U.C. San Diego

  10. Collaborators of Our Group

  11. Research Directions @ SWTV Sequential program testing Concurrent program testing Thread sched. scenarios Test cases SWTV group Automated SW Quality Assurence Fault localization Suspicious stmts. SWTV group

  12. 산학 과제 수행 연도 Concolic 테스팅 과제의 산업적 성취 2013년-2014년 2011년-2012년 Phase2(2011-2012) Concolic testing 도구개발 Phase1(2010) Concolic testing 타당성 조사 Phase3(2013-2014) Concolic testing 도구 속도 향상 및 오탐 감소 2010년 • S사 개발 코드를 테스트하기 위한 자동화된 concolic unit testing 도구 CONBOL 개발 • 4MLOC 규모의 삼성 내장형 프로그램에 적용하여 결함 발견 및 개발자 보고 후 수정 • 기존 concolic testing 도구를 확장하여 bit 수준 정확도, BOF 오류 감지, 실행 속도 개선 수행 • Pilot 과제 적용을 통한 concolic testing 타당성 조사 • 오픈소스 소프트웨어(busybox) 및 S사 소프트웨어(SLP(Tizen 전신) file manager, Samsung security library) 에적용하여 새로운 버그 발견 • CONBOL 오탐 감소를 위한 unit-testing 전략, pre-condition 생성 기술 개발 • CONBOL 실행 속도 및 사용성 개선: 64bit 지원, 최신 SMT solver 지원 등 • 주 단위 적용을 통해 삼성 내장형 프로그램및 open source project의 실제 결함 검출

  13. 산학 과제 수행 연도 Concolic 테스팅 과제의 학문적 성취 2011년 2012년 2013년 2014년 2010년 • FSE 2011 held in Szeged, Hungary 논문 발표 • FSE: SE 분야 TOP 2 학회 • ICSE 2012 held in Zurich, Switzerland, ICST 2012 held in Montreal Canada 논문 2건 발표 • ICSE: SE 분야 TOP 1 학회 • ASE 2013 held in Palo Alto, CA, USA 논문 발표 • 삼성 논문상 동상 수상 • ASE: SE 분야 TOP 3 학회

  14. Recognition of Success of CONBOL at Samsung Electronics • Bronze Award at Samsung Best Paper Award • Oct’s Best Practice Award • Teamleader Dr. Yoonkyu Jang received Samsung Award of Honor

  15. Ph.D Students • Topic : Automated testing • 2 top intl. journals such as IEEE TSE and FACJ • 16 top intl. conf. Including ICSE/FSE/ASE • Software system: • Scalable COncolic testing for Relibaility (SCORE) • Topic: Concurrency testing • J. of Systems and SW, JSTVR, ISSTA’12, ICST’13, ICST’14, etc. • Samsung Humantech Bronze award • Qualcomm fellowship award • Software system: • COncurrent Bug dETection framework (COBET)

  16. MS Students • Topic : concurrent program testing and symbolic execution • Best MS thesis award • ICSE 2015 SEIP (topS rank), ICST ‘14 • Best paper award at KCSE 2014 • Bestpaper award at KIISE paper competition • Qualcomm fellowship award Recent Alumni • Topic : automated faultlocalization • Attended ICSE 2014 @ India • Preparing OOPSLA 2015 • Topic : concolic testing

  17. Questions? Comments?

More Related