• 제목/요약/키워드: Code Analysis

검색결과 6,491건 처리시간 0.032초

Domain Analysis of Device Drivers Using Code Clone Detection Method

  • Ma, Yu-Seung;Woo, Duk-Kyun
    • ETRI Journal
    • /
    • 제30권3호
    • /
    • pp.394-402
    • /
    • 2008
  • Domain analysis is the process of analyzing related software systems in a domain to find their common and variable parts. In the case of device drivers, they are highly suitable for domain analysis because device drivers of the same domain are implemented similarly for each device and each system that they support. Considering this characteristic, this paper introduces a new approach to the domain analysis of device drivers. Our method uses a code clone detection technique to extract similarity among device drivers of the same domain. To examine the applicability of our method, we investigated whole device drivers of a Linux source. Results showed that many reusable similar codes can be discerned by the code clone detection method. We also investigated if our method is applicable to other kernel sources. However, the results show that the code clone detection method is not useful for the domain analysis of all kernel sources. That is, the applicability of the code clone detection method to domain analysis is a peculiar feature of device drivers.

  • PDF

현행 도로교시방서의 지반계수에 대한 공학적 영향평가 (Engineering Impact Assessment of the Site Coefficients In the Current Highway Bridge Code of Korea)

  • 조양희
    • 한국지진공학회:학술대회논문집
    • /
    • 한국지진공학회 1998년도 춘계 학술발표회 논문집 Proceedings of EESK Conference-Spring 1998
    • /
    • pp.89-97
    • /
    • 1998
  • This study is intended to investigate the seismic responses of bridge structures considering site effects. The site effects in the seismic analysis of bridge structures were classified into two parts. At first, the seismic responses of the structures on each "soil profile types" of the code were evaluated in accordance with code-specified method and compared with results of time-history analysis method. And next, as a second stage of the study, the responses of the two different soil with considerably different soil properties, even though they are classified to the same "soil profile types" of the code, were evaluated and compared each other. The first part of study is purposed to evaluate the applicability of code-specified method, while the other part is purposed to find the variance of the seismic responses from the different soil sites in the same soil profile types of the code. For the analysis, two major methods of the code, single-mode spectral anaysis and multi-mode spectral analysis, were used and the time-history analysis method which is expected to give more accurate responses was also used for the comparison purposes. For the time-history analysis, time-domain analysis technique of the lumped-mass model with frequency-independent soil springs and dampers was adopted and artificially generated spectra of the code was used as input motion. As the results of the study, the code specified methods for the seismic responses considering the site effects were verified to give the results in conservative side for the most of the cases. However, for the structures on the site with considerable flexibility, the responses of the bridge girders or deckplates by the code methods both in section forces and horizontal movement responses, may have much smaller values than the actual responses. Therefore, more detailed analysis considering the flexibility of the base soil may be required to have more reasonable results in girder responses.in girder responses.

  • PDF

바이트코드 프레임워크 설계 (Design of Bytecode Framework)

  • 김영국;김기태;조선문;이갑래;유원희
    • 한국콘텐츠학회:학술대회논문집
    • /
    • 한국콘텐츠학회 2004년도 춘계 종합학술대회 논문집
    • /
    • pp.330-334
    • /
    • 2004
  • 자바 바이트코드는 스택기반 코드이다. 스택기반 코드는 스택 접근 명령어를 사용하기 때문에 분석과 최적화를 어렵게 한다. 따라서 스택기반 코드 최적화에서 생기는 문제점인 코드의 단편화, 타입정보의 상실, 불필요한 적재와 저장이 나타날 수 있다. 바이트코드의 최적화와 분석의 어려운 문제점의 해결 방안으로 바이트코드 프레임워크를 설계한다. 본 논문은 바이트코드의 최적화와 분석의 문제점을 지적하고, 기존의 바이트코드 최적화 기술에 대한 연구 내용을 서술한다. 바이트코드의 분석과 최적화를 단순화하기 위한 대안으로 바이트코드 프레임워크를 제안한다.

  • PDF

DEVELOPMENT AND VALIDATION OF A NUCLEAR FUEL CYCLE ANALYSIS TOOL: A FUTURE CODE

  • Kim, S.K.;Ko, W.I.;Lee, Yoon Hee
    • Nuclear Engineering and Technology
    • /
    • 제45권5호
    • /
    • pp.665-674
    • /
    • 2013
  • This paper presents the development and validation methods of the FUTURE (FUel cycle analysis Tool for nUcleaR Energy) code, which was developed for a dynamic material flow evaluation and economic analysis of the nuclear fuel cycle. This code enables an evaluation of a nuclear material flow and its economy for diverse nuclear fuel cycles based on a predictable scenario. The most notable virtue of this FUTURE code, which was developed using C# and MICROSOFT SQL DBMS, is that a program user can design a nuclear fuel cycle process easily using a standard process on the canvas screen through a drag-and-drop method. From the user's point of view, this code is very easy to use thanks to its high flexibility. In addition, the new code also enables the maintenance of data integrity by constructing a database environment of the results of the nuclear fuel cycle analyses.

The applicability study and validation of TULIP code for full energy range spectrum

  • Wenjie Chen;Xianan Du;Rong Wang;Youqi Zheng;Yongping Wang;Hongchun Wu
    • Nuclear Engineering and Technology
    • /
    • 제55권12호
    • /
    • pp.4518-4526
    • /
    • 2023
  • NECP-SARAX is a neutronics analysis code system for advanced reactor developed by Nuclear Engineering Computational Physics Laboratory of Xi'an Jiaotong University. In past few years, improvements have been implemented in TULIP code which is the cross-section generation module of NECP-SARAX, including the treatment of resonance interface, considering the self-shielding effect in non-resonance energy range, hyperfine group method and nuclear library with thermal scattering law. Previous studies show that NECP-SARAX has high performance in both fast and thermal spectrum system analysis. The accuracy of TULIP code in fast and thermal spectrum system analysis is demonstrated preliminarily. However, a systematic verification and validation is still necessary. In order to validate the applicability of TULIP code for full energy range, 147 fast spectrum critical experiment benchmarks and 170 thermal spectrum critical experiment benchmarks were selected from ICSBEP and used for analysis. The keff bias between TULIP code and reference value is less than 300 pcm for all fast spectrum benchmarks. And that bias keeps within 200 pcm for thermal spectrum benchmarks with neutron-moderating materials such as polyethylene, beryllium oxide, etc. The numerical results indicate that TULIP code has good performance for the analysis of fast and thermal spectrum system.

Development of a Subchannel Analysis Code MATRA Applicable to PWRs and ALWRs

  • Yoo, Yeon-Jong;Hwang, Dae-Hyun;Sohn, Dong-Seong
    • Nuclear Engineering and Technology
    • /
    • 제31권3호
    • /
    • pp.314-327
    • /
    • 1999
  • A subchannel analysis code MATRA applicable to PWRs and ALWRs has been developed to be run on an IBM PC or HP WS based on the existing CDC CYBER mainframe version of COBRA-Rf-1. This MATRA code is a thermal-hydraulic analysis code based on the subchannel approach for calculating the enthalpy and How distribution in fuel assemblies and reactor cores for both steady-state and transient conditions. HATRA has been provided with an improved structure, various functions, and models to give more convenient user environment and to enhance the code accuracy. Among them, the pressure drop model has been improved to be applied to non-square-lattice rod arrays, and the models for the lateral transport between adjacent subchannels have been improved to enhance the accuracy in predicting two-phase flow phenomena. The predictions of MATRA were compared with the experimental data on the flow and enthalpy distribution in some sample rod-bundle cases to evaluate the performance of MATRA. All the results revealed that the predictions of MATRA were better than those of COBRA-IV-I.

  • PDF

A Research Analysis of QR code based on big data in Korea

  • Lee, Eun-ji;Kim, Soo Kyun
    • 한국컴퓨터정보학회논문지
    • /
    • 제26권9호
    • /
    • pp.189-200
    • /
    • 2021
  • 최근에 정보기술과 스마트폰 기술이 빠르게 발달되고 있다. 데이터가 증가함에 따라 빅데이터 시대에 도달하였다. 최근 언택트 시대가 도래함에 따라 QR코드는 우리 생활에서 밀접하게 운영되고 있다. 본 연구의 목적은 첫째, "QR Code"에 대한 선행연구를 살펴보고 분야별 키워드에 대한 분석을 실시한다. 둘째, 빅데이터 관점에서 데이터시각화를 위해 "QR Code"의 빈출키워드를 대상으로 워드클라우드 분석과 네트워크 분석을 실시한다. 셋째, "QR Code" 관련하여 향후 연구자들에게 연구방향을 제시하고자 한다. 분석결과 첫째, 연구동향을 살펴본 결과 연구가 증가추세에 있으며, 분야가 다양하게 활용되고 있음을 알 수 있었다. 둘째, 빈출 키워드 분석결과 전반적으로 유사한 결과가 도출되었으며, 분야별, 연도별에 따라 일부 차이가 있는 것으로 분석되었다. 셋째, 빈출 키워드에 따른 시각화 결과 역시 빈출 키워드 분석결과와 동일하게 분석되었다는 것을 알 수 있었다. 이론적 연구결과에 따른 실무적 시사점은 다음과 같다. 첫째, 'QR Code'를 기술적인 측면이 아닌 정보전달의 수단으로 연구될 필요가 있다. 둘째, "QR Code"는 사회 경향이나 이슈들을 반영하여 발전하고 있다는 것을 알 수 있다. 이론적 시사점과 실무적 시사점을 통해 우리는 QR 코드에 대한 방향성을 전략적으로 제공해주고자 한다.

Performance-based seismic analysis and design of code-exceeding tall buildings in Mainland China

  • Jiang, Huanjun;Lu, Xilin;Zhu, Jiejiang
    • Structural Engineering and Mechanics
    • /
    • 제43권4호
    • /
    • pp.545-560
    • /
    • 2012
  • Design codes provide the minimum requirements for the design of code-compliant structures to ensure the safety of the life and property. As for code-exceeding buildings, the requirements for design are not sufficient and the approval of such structures is vague. In mainland China in recent years, a large number of code-exceeding tall buildings, whether their heights exceed the limit for the respective structure type or the extent of irregularity is violated, have been constructed. Performance-based seismic design (PBSD) approach has been highly recommended and become necessary to demonstrate the performance of code-exceeding tall buildings at least equivalent to code intent of safety. This paper proposes the general methodologies of performance-based seismic analysis and design of code-exceeding tall buildings in Mainland China. The PBSD approach proposed here includes selection of performance objectives, determination of design philosophy, establishment of design criteria for structural components and systems consistent with the desirable and transparent performance objectives, and seismic performance analysis and evaluation through extensive numerical analysis or further experimental study if necessary. The seismic analysis and design of 101-story Shanghai World Financial Center Tower is introduced as a typical engineering example where the PBSD approach is followed. The example demonstrates that the PBSD approach is an appropriate way to control efficiently the seismic damage on the structure and ensure the predictable and safe performance.

Development of a System Analysis Code, SSC-K, for Inherent Safety Evaluation of The Korea Advanced Liquid Metal Reactor

  • Kwon, Young-Min;Lee, Yong-Bum;Chang, Won-Pyo;Dohee Hahn;Kim, Kyung-Doo
    • Nuclear Engineering and Technology
    • /
    • 제33권2호
    • /
    • pp.209-224
    • /
    • 2001
  • The SSC-K system analysis code is under development at the Korea Atomic Energy Research Institute (KAERI) as a part of the KALIMER project. The SSC-K code is being used as the principal tool for analyzing a variety of off-normal conditions or accidents of the preliminary KALIMER design. The SSC-K code features a multiple-channel core representation coupled with a point kinetics model with reactivity feedback. It provides a detailed, one-dimensional thermal-hydraulic simulation of the primary and secondary sodium coolant circuits, as well as the balance-of-plant steam/water circuit. Recently a two-dimensional hot pool model was incorporated into SSC-K for analysis of thermal stratification phenomena in the hot pool. In addition, SSC-K contains detailed models for the passive decay heat removal system and a generalized plant control system. The SSC-K code has also been applied to the computational engine for an interactive simulation of the KALIMER plant. This paper presents an overview of the recent activities concerned with SSC-K code model development This paper focuses on both descriptions of the newly adopted thermal hydraulic and neutronic models, and applications to KALIMER analyses for typical anticipated transients without scram.

  • PDF

A Source Code Cross-site Scripting Vulnerability Detection Method

  • Mu Chen;Lu Chen;Zhipeng Shao;Zaojian Dai;Nige Li;Xingjie Huang;Qian Dang;Xinjian Zhao
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제17권6호
    • /
    • pp.1689-1705
    • /
    • 2023
  • To deal with the potential XSS vulnerabilities in the source code of the power communication network, an XSS vulnerability detection method combining the static analysis method with the dynamic testing method is proposed. The static analysis method aims to analyze the structure and content of the source code. We construct a set of feature expressions to match malignant content and set a "variable conversion" method to analyze the data flow of the code that implements interactive functions. The static analysis method explores the vulnerabilities existing in the source code structure and code content. Dynamic testing aims to simulate network attacks to reflect whether there are vulnerabilities in web pages. We construct many attack vectors and implemented the test in the Selenium tool. Due to the combination of the two analysis methods, XSS vulnerability discovery research could be conducted from two aspects: "white-box testing" and "black-box testing". Tests show that this method can effectively detect XSS vulnerabilities in the source code of the power communication network.