• Title/Summary/Keyword: 네이티브 함수

Search Result 12, Processing Time 0.027 seconds

A Study on the Native Function Connection Technique for the Virtual Machines (가상기계를 위한 네이티브 함수 연결 기법에 관한 연구)

  • Man, Ko-Kwang
    • The KIPS Transactions:PartA
    • /
    • v.12A no.5 s.95
    • /
    • pp.333-340
    • /
    • 2005
  • This paper presents of the native function connection technique for the embedded virtual machines, base on the native function connection methods of the virtual machines such as W, WabaVM. For this goals, we designs the adapter model and then implements the new native function table for the native function connection. And we presents the variety experiment and analysis results using the implemented technique.

A Study on the Library Linking of a Virtual Machine for Embedded System (임 베디드 시스뎀을 위한 가상기계의 라이브러리 링킹에 관한 연구)

  • Ko, Kwang-Man
    • Journal of the Korea Computer Industry Society
    • /
    • v.5 no.9
    • /
    • pp.965-972
    • /
    • 2004
  • This Paper presents the experiences of the static and dynamic library function connection technique for the embedded virtual machines, base on the native function connection methods of the virtual machines such as KVM, Waba VM. For this goals, we implements the new native function table for the static and dynamic library function connection technique base on the native function connection methods of the virtual machines such as KVM, Waba VM. And we presents the variety experiment and analysis results using the implemented technique.

  • PDF

Java and C/C++ Mixed Programming (자바와 C/C++의 혼합 프로그래밍)

  • Kim, Sang-Hoon
    • Journal of Korea Multimedia Society
    • /
    • v.13 no.10
    • /
    • pp.1514-1524
    • /
    • 2010
  • The standard Java class library does not support the platform-dependent features needed by the application. Therefore, the Java application including the platform -dependent features must supplement the required features by invoking native functions using JNI. The native language programmer has to explicitly specify how to connect to various Java objects and later to disconnect from them. In this paper, I suggest a way to avoid these annoying works. The native method in the pure java class can not contain a native code block. By providing a native code block for the native method, it is possible for programmer to write a native code without being aware of JNI. To achieve this, I introduced the native class that is a java class on the native environment, and made it possible to interchange data by placing an arbitrator between the java class and the native class.

A Study on the Native Code Connection Technique (네이티브 코드 연결 기법에 관한 연구)

  • Yu, Jae-Min;Ko, Kwang-Man
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2005.07b
    • /
    • pp.898-900
    • /
    • 2005
  • 최근 다양한 모바일 기기가 등장하면서 플랫폼에 독립적인 응용 프로그래밍 실행 환경을 구축하기 위해 가상기계(Virtual Machine)와 가상기계 기반의 언어가 등장하고 있다. 가상기계 환경에서 수행되는 응용 프로그램의 원활한 수행물 위해서는 입출력, 시스템 함수 호출 등에 대해서는 플랫폼에 의존적인 네이티브 코드를 적절한 방식으로 연결해주어야 한다. 본 논문에서는 기존의 가상기계들이 특정 플랫폼에 탑재 되는 방식 및 네이티브 코드 연결 방식을 고찰한 후 본 연구팀에서 현재 개발중인 임베디드 시스템을 위한 가상기계(EVM)에 적용하여 보다 효과적인 연결 기법을 제시하고자 한다.

  • PDF

The Design and Implementation of GUI in KVM on Real-Time Operating System, $UbiFOS^{TM}$ (실시간 운영체제 $UbiFOS^{TM}$ 상에서 KVM GUI의 설계 및 구현)

  • Son Pil-Chang;Kang Hui-Sung;Jung Myoung-Jo;Lee Cheol-Hoon
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2006.06a
    • /
    • pp.358-360
    • /
    • 2006
  • 임베디드 장치나 모바일 같은 기기들은 자바 환경을 적용하기 위해 SUN사의 CLDC(Connected Limited Device Configuration)에서 정의하고 있는 KVM(K Virtual Machine)을 탑재하여 사용하게 된다. 자바의 GUI를 제공하기 위해서 CLDC는 MIDP(Mobile Information Device Profile)에서 명세하고 있는 GUI 표준 API를 사용하게 되는데, 이는 운영체제의 네이티브(Native) 함수와의 상호 연동에 의해 동작한다. 이에 본 논문에서는 실시간 운영체제인 $UbiFOS^{TM}$ 기반의 KVM GUI를 구현하는데 있어 그래픽 윈도우 시스템과 GUI API와의 상호 동작을 위한 네이티브 함수와 이벤트 처리에 대해 설계 및 구현한 내용을 기술한다.

  • PDF

Design and Implementation of K Virtual Machine Sound API for Embedded Systems (임베디드 시스템을 위한 K 가상 머신 사운드 API 설계 및 구현)

  • Jeon, Shang-Ho;Lee, Cheol-Hoon
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2006.10a
    • /
    • pp.404-408
    • /
    • 2006
  • 최근 임베디드 디바이스에 여러 가지 장점을 제공하는 자바기술은 필수적인 요소가 되었다. 임베디드 디바이스에 적용되는 자바기술은 J2ME 플랫폼이며, 이는 K 가상 머신(K Virtual Machine)의 핵심인 CLDC(Connected Limited Device Configuration)와 그래픽 유저 인터페이스, 네트워크 API, 사운드 API 등을 명세하고 있는 MIDP(Mobile Information Device Profile)로 구성되어 있다. 이 중 그래픽 유저 인터페이스와 네트워크, 사운드 부분은 구현 시 시스템에 의존적인 부분을 따로 구현해야 하는데, 이는 네이티브(native)함수로 구현할 수 있다. 본 논문에서는 J2ME 플랫폼에서 정의된 사운드 API 의 기능들을 분석하여 임베디드 시스템에 적합한 사운드 API 의 네이티브 함수를 구현하였다.

  • PDF

Android Application Call Relationship Analysis Based on DEX and ELF Binary Reverse Engineering (DEX와 ELF 바이너리 역공학 기반 안드로이드 어플리케이션 호출 관계 분석에 대한 연구)

  • Ahn, Jinung;Park, Jungsoo;Nguyen-Vu, Long;Jung, Souhwan
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.29 no.1
    • /
    • pp.45-55
    • /
    • 2019
  • DEX file and share objects (also known as the SO file) are important components that define the behaviors of an Android application. DEX file is implemented in Java code, whereas SO file under ELF file format is implemented in native code(C/C++). The two layers - Java and native can communicate with each other at runtime. Malicious applications have become more and more prevalent in mobile world, they are equipped with different evasion techniques to avoid being detected by anti-malware product. To avoid static analysis, some applications may perform malicious behavior in native code that is difficult to analyze. Existing researches fail to extract the call relationship which includes both Java code and native code, or can not analyze multi-DEX application. In this study, we design and implement a system that effectively extracts the call relationship between Java code and native code by analyzing DEX file and SO file of Android application.

Design and Implementation of GUI in CVM on Real-Time Operating System, iRTOS (실시간 운영체제에서 iRTOS에서의 CVM GUI 설계 및 구현)

  • Choi, chan-woo;Lee, cheol-hoon
    • Proceedings of the Korea Contents Association Conference
    • /
    • 2008.05a
    • /
    • pp.551-554
    • /
    • 2008
  • JVM(Java Virtual Machine) has GUI(Graphical User Interface) facility and Platform Independance and is used on the embedded device such as set-top box and smart phone. This needs JVM to execute Java application in the embedded device. CVM(Classic Virtual Machine) which is the kind of JVM is designed for embedded device to have limited resources. To support GUI facility of JAVA uses PBP(Personal Basis Profile) which is included on CVM. The PBP defines the GUI Stardard API to support GUI facility. When the GUI Stardard API is implemented, JNI(Java Native Interface) is used to connect between Java Native Method and Native function in Operating System. In this pater, PBP which is defined by CVM has designed and implemented on the Real-Time Operating System, iRTOS.

  • PDF

Integrated Development Environment for Java Native Methods (자바 네이티브 메소드를 위한 통합 개발 환경)

  • Kim, Sang-Hoon
    • The Journal of the Korea Contents Association
    • /
    • v.10 no.7
    • /
    • pp.122-132
    • /
    • 2010
  • As a result of a growing demand for various mobile devices, the demand for application programs on the devices is on the rise. The Java language that is platform-independent rapidly rose as the best programming language for mobile devices. However, the Java has a problem that does not support platform-dependent features needed by the application. To solve this problem, the JNI technology was introduced by Sun Microsystems. Programmers using the JNI to write native methods need to have a lot of knowledge about the JNI and the internal structure of the JVM. Also, the increased load by using a number of JNI functions may decrease software productivity and quality. Demands for tools writing native method without understanding of JNI are progressively increasing. To develop these tools, it is necessary to translate automatically the differences between Java and C/C++. In this study, I suggested a way to overcome differences between both languages and developed JNI editor that is an integrated develope environment on the basis of this.

Call Optimization on Just-in-Time Compiler of V8 JavaScript Engine (V8 자바스크립트 엔진 적시 컴파일러의 함수 호출 코드 생성 최적화)

  • Jung, Won-Ki;Moon, Soo-Mook
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2011.06a
    • /
    • pp.135-138
    • /
    • 2011
  • 자바스크립트 언어는 클라이언트 사이드 웹 언어로서 지금까지 널리 사용되어 왔다. 그러나 최근에서야 내장형 시스템에서의 웹 브라우징이 보급되면서 그 성능이 이슈가 되고 있는데, 이를 위해 여러 오픈 소스 진영에서 적시 컴파일러를 탑재한 고성능의 자바스크립트 엔진이개발되고 있다. 그 중 V8 자바스크립트 엔진이 현재는 성능이 가장 좋은 것으로 알려져 있으나, 자바스크립트 언어의 극도로 동적인 특성으로 인하여 아직 성능의 최적화 여지가 많이 남아 있다. 본 논문에서는 V8 자바스크립트 엔진의 적시 컴파일러에서 함수 호출 코드 생성에 관한 최적화를 적용 하였다. 두 개의 명령어와 하나의 상수 풀을 사용하던 기존의 함수 호출 코드에서 하나의 명령어만으로 함수 호출을 하도록 구현함으로써 성능이 1.5% 개선되었고, 네이티브 캐시 사용량이 7.7% 감소하였다.