کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
434162 1441682 2014 25 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Exception analysis in the Java Native Interface
ترجمه فارسی عنوان
تجزیه و تحلیل استثنا در رابط بومی جاوا
کلمات کلیدی
رابط عملکرد خارجی، رابط بومی جاوا، چک کردن استثنا، تجزیه و تحلیل استاتیک
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی


• Exception analysis and bug finding in the Java Native Interface (JNI).
• Extends Java's exception checking rules on native methods.
• A novel static analysis framework.
• Bug finding with high accuracy and low performance overhead.
• A user-friendly Eclipse plug-in tool to check JNI code.

A Foreign Function Interface (FFI) allows one host programming language to interoperate with another foreign language. It enables efficient software development by permitting developers to assemble components in different languages. One typical FFI is the Java Native Interface (JNI), through which Java programs can invoke native-code components developed in C, C++, or assembly code. Although FFIs bring convenience to software development, interface code developed in FFIs is often error prone because of the lack of safety and security enforcement. This paper introduces a static-analysis framework, TurboJet, which finds exception-related bugs in JNI applications. It finds bugs of inconsistent exception declarations and bugs of mishandling JNI exceptions. TurboJet is carefully engineered to achieve both high efficiency and accuracy. We have applied TurboJet on a set of benchmark programs and identified many errors. We have also implemented a practical Eclipse plug-in based on TurboJet that can be used by JNI programmers to find errors in their code.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 89, Part C, 1 September 2014, Pages 273–297
نویسندگان
, ,