skip to main content
10.1145/2632362.2632363acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Automatic handling of native methods in Java PathFinder

Published:21 July 2014Publication History

ABSTRACT

Java PathFinder (JPF) is a model checker for Java applications. Despite its maturity, JPF cannot be used to verify any realistic Java application without a nontrivial amount of work done by its user. One of the main limiting factors towards model checking such applications is handling native calls. JPF provides ways for users to handle such calls. However, those require modeling the behaviour of the native methods in Java which is labour intensive and hinders the uptake of JPF by developers. This paper presents our tool that extends JPF to address this problem. Our work alleviates this burden for users by automatically handling native calls. Our approach is based on delegating the execution of native calls from JPF to their original execution environment. We showcase our extension by applying it to a variety of simple yet realistic Java applications that JPF, without our extension, cannot handle.

References

  1. C. Artho, W. Leungwattanakit, M. Hagiya, and Y. Tanabe. Efficient model checking of networked applications. In TOOLS, 2008.Google ScholarGoogle ScholarCross RefCross Ref
  2. E. D. Barlas and T. Bultan. NetStub: a framework for verification of distributed Java applications. In ASE, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. T. Brown and J. Helga. Non-blocking k-ary search trees. In OPODIS, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. C. Cadar, D. Dunbar, and D. Engler. KLEE: unassisted and automatic generation of high-coverage tests for complex systems programs. In OSDI, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. d. Halleux and N. Tillmann. Moles: tool-assisted environment isolation with closures. In TOOLS, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. d’Amorim, A. Sobeih, and D. Marinov. Optimized execution of deterministic blocks in Java PathFinder. In ICFEM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. P. Godefroid, J. D. Herbsleb, L. J. Jagadeesan, and D. Li. Ensuring privacy in presence awareness systems: an automated verification approach. In CSCW, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Liang. The Java native interface: programmer’s guide and specification. 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. N. Shafiei and F. v. Breugel. Towards model checking of computer games with Java PathFinder. In GAS, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  10. M. Ujma and N. Shafiei. jpf-concurrent: an extension of Java PathFinder for java.util.concurrent. In JPF Workshop, 2011.Google ScholarGoogle Scholar

Index Terms

  1. Automatic handling of native methods in Java PathFinder

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SPIN 2014: Proceedings of the 2014 International SPIN Symposium on Model Checking of Software
      July 2014
      136 pages
      ISBN:9781450324526
      DOI:10.1145/2632362

      Copyright © 2014 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 21 July 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader