• Title/Summary/Keyword: C/A code

Search Result 1,648, Processing Time 0.027 seconds

A Preliminary Study on Serious Game for C Language Study of Beginners : freCman (초보자를 위한 C 언어 학습 기능성 게임 개발 사례 : 프레C맨)

  • Hwang, Kitae;Jung, Inhwan
    • Journal of Korea Game Society
    • /
    • v.15 no.4
    • /
    • pp.199-206
    • /
    • 2015
  • This paper introduces a serious game called freCman developed for C programming language beginners. Since key words, syntax, and programming structure of C programming language are unfamiliar for them, they feel uneasy and have many difficulties to study. We developed three games such as shooting star C, finding hidden errors, unscrambling C codes through which C beginners can study C language easily. Also we developed CTS(Code to Speech) which speeches C source codes like English statements so that C beginners can be familiar with C key words and statements. To prove effectiveness of the freCman, some experiments have been conducted with C language beginners. Experiment results show that the freCman helps beginners studying C programming language much.

Software Attack Detection Method by Validation of Flow Control Instruction’s Target Address (실행 제어 명령어의 목적 주소 검증을 통한 소프트웨어 공격 탐지 기법)

  • Choi Myeong-Ryeol;Park Sang-Seo;Park Jong-Wook;Lee Kyoon-Ha
    • The KIPS Transactions:PartC
    • /
    • v.13C no.4 s.107
    • /
    • pp.397-404
    • /
    • 2006
  • Successful software attacks require both injecting malicious code into a program's address space and altering the program's flow control to the injected code. Code section can not be changed at program's runtime, so malicious code must be injected into data section. Detoured flow control into data section is a signal of software attack. We propose a new software attack detection method which verify the target address of CALL, JMP, RET instructions, which alter program's flow control, and detect a software attack when the address is not in code section. Proposed method can detect all change of flow control related data, not only program's return address but also function pointer, buffer of longjmp() function and old base pointer, so it can detect the more attacks.

A Study on the Design of Standard Code for Hazardous and Noxious Substance Accidents at Sea (해상 HNS 사고 표준코드 설계에 관한 연구)

  • Ha, Min-Jae;Jang, Ha-Lyong;Yun, Jong-Hwui;Lee, Moonjin;Lee, Eun-Bang
    • Journal of the Korean Society of Marine Environment & Safety
    • /
    • v.22 no.2
    • /
    • pp.228-232
    • /
    • 2016
  • As the quantity of HNS sea trasport and the number of HNS accidents at sea are increasing recently, the importance of HNS management is emphasized so that we try to develop marine accident case standard code for making HNS accidents at sea databased systemically in this study. First and foremost, we draw the related requisites of essential accident reports along with internal and external decrees and established statistics of classified items for conducting study, and we referred to analogous standard codes obtained from developed countries in order to research code design. Code design is set like 'Accident occurrence ${\rightarrow}$ The initial accident information ${\rightarrow}$ Accident response ${\rightarrow}$ Accident investigation' in accordance with the general flow of marine HNS accidents of in which the accident information is input and queried. We classified initial accident information into the items of five categories and constructed "Preliminary Information Code(P.I.C.)". In addition we constructed accident response in two categories and accident investigation in three categories that get possible after the accident occurrence as called "Full Information(F.I.C.)", including the P.I.C. It is represented in 3 kinds of steps on each topic by departmentalizing the classified majority as classified middle class and classified minority. As a result of coding marine HNS accident and of the code to a typical example of marine HNS accident, HNS accident was ascertained to be represented sufficiently well. We expect that it is feasible to predict possible trouble or accident henceforward by applying code, and also consider that it is valuable to the preparedness, response and restoration in relation to HNS accidents at sea by managing systemically the data of marine HNS accidents which will occur in the future.

Design and Implementation of a Decompiler for Verification and Analysis of Intermediate Code in C++ Compiler (C++ 컴파일러에서 중간코드의 검증과 분석을 위한 역컴파일러의 설계 및 구현)

  • Bae Sung-Kyun;Kim Young-Keun;Lee Yang-Sun
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2006.05a
    • /
    • pp.1405-1408
    • /
    • 2006
  • C++ 언어는 객체지향 프로그래밍 언어로, 기존의 C++ 프로그램은 각각의 플랫폼에 따른 컴파일러를 통해 목적기계의 코드(object code)로 변환되므로 실행되는 플랫폼에 의존적인 단점이 있다. 이러한 단점을 보완하는 방법으로 스택기반의 가상기계와 가상기계의 입력형태인 중간코드를 이용하는 기법이 있다. EVM(Embedded Virtual Machine)은 ANSI C, ISO/IEC C++ 언어와 SUN사의 Java 언어 등을 모두 수용할 수 있는 임베디드 시스템 기반의 가상기계이며, EVM에서 실행되는 중간코드인 SIL(Standard Intermediate Language)은 객체지향 언어와 순차적인 언어를 모두 수용하기 위한 명령 코드의 집합으로 설계되어 있다. 본 논문에서는 C++ 컴파일러를 통해 생성된 SIL 코드가 올바른지 검증하고 원시코드의 분석을 용이하게 하기 위해서 SIL 코드를 어셈블리 코드와 유사한 형태의 재 표현된 C++ 프로그램으로 역컴파일하는 시스템을 설계하고 구현하였다.

  • PDF

Integration of the microplane constitutive model into the EPIC code

  • Littlefield, David;Walls, Kenneth C.;Danielson, Kent T.
    • Computers and Concrete
    • /
    • v.7 no.2
    • /
    • pp.145-158
    • /
    • 2010
  • In this work the implementation of a production-level port of the Microplane constitutive model for concrete into the EPIC code is described. The port follows guidelines outlined in the Material Model Module (MMM) standard used in EPIC to insure a seamless interface with the existing code. Certain features of the model were not implemented using the MMM interface due to compatibility reasons; for example, a separate module was developed to initialize, store and update internal state variables. Objective strain and deformation measures for use in the material model were also implemented into the code. Example calculations were performed and illustrate the veracity of this new implementation.

Comparison on Various Acquisition Method for GPS L1 C/A (GPS L1 C/A 기반의 신호 획득부 구현 및 비교)

  • Park, Jiwoon;Yoo, Hoyoung
    • Journal of IKEEE
    • /
    • v.24 no.2
    • /
    • pp.649-653
    • /
    • 2020
  • GPS is a representative satellite navigation system that provides users with accurate location and time information. GPS L1 C / A is opened for civilian and thus utilized in various fields. When the satellite signal reaches the receiver, signal acquisition unit of the digital signal processing hardware searches and acquires the signal among visible satellites. The signal acquisition unit has different implementation methods depending on the signal searching method, such as serial search acquisition, parallel frequency search, parallel code phase search. In this paper, we compare and analyze the three representative acquisition hardwares using live GPS L1 C/A signals. According to the comparison, the parallel code phase search acquisition outperforms the other methods due to reduction of the number of the searchings and a high resolution.

A Study on the Vertical Temperature Difference of Steel Box Girder Bridge by Field Measurement (실측에 의한 강박스거더교의 상하 온도차에 대한 연구)

  • Lee, Seong-Haeng;Park, Young-Chun
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.19 no.8
    • /
    • pp.545-551
    • /
    • 2018
  • For domestic application of the temperature gradient model proposed by foreign design standards, a specimen of steel box girder bridge was fabricated with the following dimensions: 2.0 m width, 2.0 m height and 3.0 m length. Temperature was measured using 24 temperature gauges during the summer of 2016. The reliability of the measured data was verified by comparing the measured air temperature with the ambient air temperature of the Korea Meteorological Administration. Of the measured gauges, four temperature gauges that can be compared with the temperature difference of the Euro code were selected and used to analyze the distribution of the measured temperatures at each point. The reference atmospheric temperature for the selection of the maximum temperature difference was determined by considering the standard error. Maximum and minimum temperatures were calculated from the four selected points and the resulting temperature difference was calculated. The model for the temperature difference in the steel box girder bridge was shown by graphing the temperature difference. Compared to the temperature distribution of the Euro code, the presented temperature difference model showed a temperature difference of $0.9^{\circ}C$ at the top and of $0.3^{\circ}$ to $0.4^{\circ}C$ at the intermediate part. These results suggested that the presented model could be considered relatively similar to the Euro code The calculated standard error coefficient was 2.71 to 2.84 times the standard error and represents a range of values. The proposed temperature difference model may be used to generate basic data for calculating the temperature difference in temperature load design.

Digital License Searching for Copyright Management of Software Source Code (소프트웨어 소스 코드의 저작권 관리를 위한 디지털 라이센스의 검색)

  • Cha, Byung-Rae
    • The Journal of the Korea Contents Association
    • /
    • v.7 no.1
    • /
    • pp.21-31
    • /
    • 2007
  • The intellectual property system was very important to the past industrial society. It is so important to the 21C information age. It is a leading role to developing these information society. Not only the digital content control but the technology of software source code for the intellectual property is so much mean to international competition. On occurring disputation property, we have to prove the fact, there is a problem to discriminate the original source code. In this paper, we make a study of the digital licence prototype for discriminate the original source code. Reserved words of software source code by parsing express to XML file that have hierarchical structure. Then, we can express architecture of software source code by tree structure form instead of complex source code. And we make a study of the indexing and searching to search digital license.

CONSTRUCTION OF TWO- OR THREE-WEIGHT BINARY LINEAR CODES FROM VASIL'EV CODES

  • Hyun, Jong Yoon;Kim, Jaeseon
    • Journal of the Korean Mathematical Society
    • /
    • v.58 no.1
    • /
    • pp.29-44
    • /
    • 2021
  • The set D of column vectors of a generator matrix of a linear code is called a defining set of the linear code. In this paper we consider the problem of constructing few-weight (mainly two- or three-weight) linear codes from defining sets. It can be easily seen that we obtain an one-weight code when we take a defining set to be the nonzero codewords of a linear code. Therefore we have to choose a defining set from a non-linear code to obtain two- or three-weight codes, and we face the problem that the constructed code contains many weights. To overcome this difficulty, we employ the linear codes of the following form: Let D be a subset of ��2n, and W (resp. V ) be a subspace of ��2 (resp. ��2n). We define the linear code ��D(W; V ) with defining set D and restricted to W, V by $${\mathcal{C}}_D(W;V )=\{(s+u{\cdot}x)_{x{\in}D^{\ast}}|s{\in}W,u{\in}V\}$$. We obtain two- or three-weight codes by taking D to be a Vasil'ev code of length n = 2m - 1(m ≥ 3) and a suitable choices of W. We do the same job for D being the complement of a Vasil'ev code. The constructed few-weight codes share some nice properties. Some of them are optimal in the sense that they attain either the Griesmer bound or the Grey-Rankin bound. Most of them are minimal codes which, in turn, have an application in secret sharing schemes. Finally we obtain an infinite family of minimal codes for which the sufficient condition of Ashikhmin and Barg does not hold.

Development of Durability Design for Railroad Concrete Structures Exposed to Marine Environment Considering Time Dependency (시간의존성을 고려한 해안가 철도 콘크리트 구조물에 대한 내구성 설계 기법의 개발)

  • Song, Ha-Won;Pack, Seung-Woo;Lee, Son-Ho;Kwen, Jin-Su;Lee, Hyun-Jung
    • Proceedings of the KSR Conference
    • /
    • 2007.05a
    • /
    • pp.1431-1438
    • /
    • 2007
  • This paper presents a refined design model for current railroad design code on concrete structures exposed to marine environment. A time-varying diffusion coefficient(D) as well as surface chloride$(C_S)$ and chloride threshold level$(C_{lim})$ are studied. Averaging value of the D with time over exposed duration were used to refined durability design model to consider time dependent characteristic of D. The values for $C_S$ and $C_{lim}$ for the seashore in Korea revised for realistic durability design. The proposed model was verified by the so-called performance-based durability design, which is widely used in recent durability design code. Results show that the current standard specification underestimates durability performances of concrete structures exposed to marine environment, so that the cover depth design using current durability evaluation in the standard specifications is very much conservative. Thus, it is found that proposed durability design models for the railroad design code for railway concrete structures can be used effectively for service life design of concrete structures in marine environment.

  • PDF