JPS6310239A - Patch production system for high-level language - Google Patents

Patch production system for high-level language

Info

Publication number
JPS6310239A
JPS6310239A JP61154576A JP15457686A JPS6310239A JP S6310239 A JPS6310239 A JP S6310239A JP 61154576 A JP61154576 A JP 61154576A JP 15457686 A JP15457686 A JP 15457686A JP S6310239 A JPS6310239 A JP S6310239A
Authority
JP
Japan
Prior art keywords
program
additional
command
original
source program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61154576A
Other languages
Japanese (ja)
Inventor
Takashi Morikawa
守川 隆志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61154576A priority Critical patent/JPS6310239A/en
Publication of JPS6310239A publication Critical patent/JPS6310239A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit change of a load module by producing a patch based on an additional source program in order to attain the program maintenance at the level of a high-level language. CONSTITUTION:A multiplex compiling control means 3 actuates a compiling means 4 to compile an original source program OPGM1 and then an additional source program APGM2 when these programs are received. The APGM2 is interpreted for each command. In a substitute command mode a code set on an original object program 6 is retrieved by an additional compiling means 5. A start address is set to a start pointer 10 and then a next pointer 11 and a jump instruction is produced to an address shown by a patch pointer 9 and written to an additional object program 8. Then an object code obtained from a source code set on the APGM2 is written to the program 8. The program 8 is defined as an object patch in an end mode.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は高級言語のバッチ生成方式ば関し、特にt子計
算機システムにおける高級言語のパンチ生成方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a high-level language batch generation method, and more particularly to a high-level language punch generation method in a child computer system.

〔従来の技術〕[Conventional technology]

従来、この種の高級言語のパッチ生成方式では、FOR
TRAN、C0BOL、PL/1等の高級言語で作成し
たプログラムの一部を修正または変更したい場合に、高
級言語で記述されたソースプログラムを直接人手で書き
直す方式や、ソースプログラムをコンパイルしたときに
オブジェクトプログラムのリストをプリント出力させ、
そのオブジェクトプログラムを元のソースプログラムと
比べながら人間がパッチ(修正または変更部分の追加オ
ブジェクトプログラムをいう、以下同様)を直接的に作
成する方式がとられていた。
Conventionally, in this type of high-level language patch generation method, FOR
If you want to modify or change a part of a program created in a high-level language such as TRAN, C0BOL, or PL/1, you may want to manually rewrite the source program written in the high-level language, or create an object when the source program is compiled. Print out the list of programs,
A method has been used in which a person directly creates a patch (referring to an additional object program with modified or changed parts, hereinafter the same) while comparing the object program with the original source program.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の高級言語のバッチ生成方式は、高級言語
で記述されたソースプログラムを直接変更する場合には
、新ソースプログラムをコンパイルしたときと旧ソース
プログラムをコンパイルしたときとではメモリ上に展開
されるオブジェクトプログラムのアドレスの割当てに変
更が生じる。
In the conventional high-level language batch generation method described above, when directly modifying a source program written in a high-level language, the data is expanded in memory when a new source program is compiled and when an old source program is compiled. A change occurs in the address assignment of the object program.

このために、電子計算機のハードウェアやオペレーティ
ングシステムに関連するプログラムの動作環境に違いが
生じ、トラブル発生時に新ソースプログラムと旧ソース
プログラムとの違いを考える場合に単にソースプログラ
ム中の変更部分だけではなくてソースプログラム全体が
異なると考える必要があり、プログラムメンテナンス上
は新旧ソースプログラムは異なるバージョンのプログラ
ムと考えて保有しなければならないので、ソースプログ
ラムのバージョン管理およびプログラムメンテナンスが
複雑になるという欠点がある。
For this reason, there are differences in the operating environment of programs related to computer hardware and operating systems, and when a problem occurs, when considering the difference between a new source program and an old source program, it is difficult to simply look at the changes in the source program. The problem is that source program version control and program maintenance become complicated because the new and old source programs must be considered as different versions of the program and maintained in terms of program maintenance. be.

さらに、新ソースプログラムにより作成されたロードモ
ジュール(一般的に大容量の情報量である)を旧ロード
モジュールと置き換える必要が生じるので、電子計算機
システムが停止を余儀なくされることもあるという欠点
がある。
Furthermore, it is necessary to replace the old load module with a load module created by a new source program (generally containing a large amount of information), which has the disadvantage that the computer system may be forced to stop. .

また、ソースプログラムのコンパイル結果であるオブジ
ェクトプログラムを参照しながらパンチを作成する場合
には、−m的にオブジェクトプログラム形式が電子計算
機のハードウェアに依存したものになっているので、パ
ッチを作成するためのハードウェアに関する高度な知識
を必要とし、作成工数も大きくなるという欠点がある。
Also, when creating a punch while referring to an object program that is the result of compiling a source program, create a patch because the object program format depends on the computer hardware. The drawback is that it requires advanced knowledge of hardware and requires a large number of man-hours to create.

本発明の目的は、上述の点に鑑み、高級言語で作成され
たソースプログラムの一部の修正または変更をパンチで
対応するときに、ソースプログラムの直接変更と同じよ
うに高級言語を使用して容易にパッチを生成させること
ができる高級言語のパンチ生成方式を提供することにあ
る。
In view of the above-mentioned points, an object of the present invention is to use a high-level language in the same way as when directly modifying a source program when modifying or changing a part of a source program created in a high-level language. The purpose of the present invention is to provide a high-level language punch generation method that can easily generate patches.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の高級言語のパンチ生成方式は、元ソースプログ
ラムからこの元ソースプログラムのソースコードのライ
ン番号の情報をオブジェクトコードに付加した元オブジ
ェクトプログラムおよびアドレス情報が格納されたアド
レスファイルを生成するコンパイル手段と、少なくとも
アドレスコマンド、置換コマンドおよび削除コマンドの
内のいずれかを含む追加ソースプログラムを人力し前記
元オブジェクトプログラムおよび前記アドレスファイル
を参照して追加オブジェクトプログラムを生成する追加
コンパイル手段とを有する。
The high-level language punch generation method of the present invention is a compiling means that generates from an original source program an original object program in which line number information of the source code of the original source program is added to the object code, and an address file in which address information is stored. and additional compiling means for manually generating an additional source program containing at least one of an address command, a replacement command, and a deletion command, and generating an additional object program by referring to the original object program and the address file.

〔作用〕[Effect]

本発明の高級言語のパンチ生成方式では、コンパイル手
段が元ソースプログラムから元オブジェクトプログラム
とアドレスファイルとを作成し、追加コンパイル手段が
追加ソースプログラムを入力し元オブジェクトプログラ
ムとアドレスファイルとを参照して追加オブジェクトプ
ログラムを作成する。
In the high-level language punch generation method of the present invention, the compiling means creates an original object program and an address file from the original source program, and the additional compiling means inputs an additional source program and refers to the original object program and address file. Create additional object programs.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の高級言語のパッチ生成方式の一実施例
の構成を示すブロック図である。本実施例の高級言語の
パッチ生成方式は、高級言語で作成されている修正対象
のソースプログラムである元ソースプログラム1と、高
級言語で作成されている修正指示を含んだ修正個所のソ
ースプログラムである追加ソースプログラム2と、本実
施例の高級言語のパッチ生成方式を全体的に制御する多
重コンパイル制御手段3と、元ソースプログラム1をコ
ンパイルして元オブジェクトプログラム6とアドレスフ
ァイル7とを作成するコンパイル手段4と、追加ソース
プログラム2を入力し元オブジェクトプログラム6とア
ドレスファイル7とを参照して追加オブジェクトプログ
ラム8を生成する追加コンパイル手段5と、ソースコー
ドに対応するオブジェクトコードを検索できるように元
ソースプログラムl中の対応するソースコードのソース
ライン番号(SLN)がオブジェクトコードに並記され
た元オブジェクトプログラム6と、元オブジェクトプロ
グラム6が作成される過程で蓄積されるアドレス情報(
元ソースプログラムlの変数名およびラベル名等の一意
名とこの一意名に対応する元オブジェクトプログラム6
中のアドレスとをテーブルにした情報。以下同様)を格
納するアドレスファイル7と、本実施例の高級言語のパ
ッチ生成方式の生成対象である追加オブジェクトプログ
ラム8と、追加オブジェクトプログラム8の作成時に必
要なメモリ (図示せず)上のポインタエリアであるパ
ッチポインタ9.開始ポインタ10および次ポインタ1
1とから構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of a high-level language patch generation method according to the present invention. The high-level language patch generation method of this embodiment uses an original source program 1, which is a source program to be modified, created in a high-level language, and a source program to be modified, which includes modification instructions, created in a high-level language. A certain additional source program 2, a multiple compile control means 3 that controls the entire high-level language patch generation method of this embodiment, and an original source program 1 are compiled to create an original object program 6 and an address file 7. a compiling means 4; an additional compiling means 5 for inputting the additional source program 2 and generating an additional object program 8 by referring to the original object program 6 and address file 7; The original object program 6 has the source line number (SLN) of the corresponding source code in the original source program l written in the object code, and the address information (
Unique names such as variable names and label names of the original source program l and the original object program 6 corresponding to this unique name
Information with the addresses inside as a table. ), an additional object program 8 to be generated by the high-level language patch generation method of this embodiment, and a pointer on the memory (not shown) required when creating the additional object program 8. Patch pointer which is area 9. Start pointer 10 and next pointer 1
It is composed of 1.

なお、第1図中には、本実施例中の元ソースプログラム
1.追加ソースプログラム21元オブジェクトプログラ
ム6および追加オブジェクトプログラム8の例として、
高級言語としてFORTRANを使用した場合のそれぞ
れの例示プログラムが示されている。
In addition, in FIG. 1, the original source program 1. in this embodiment is shown. As an example of the additional source program 21 original object program 6 and additional object program 8,
Each example program is shown when FORTRAN is used as the high-level language.

ここで、追加ソースプログラム2の例示プログラムで使
われている新規コマンドには、パッチエリアの開始アド
レスを変数名(この例ではAREAl)で記述するアド
レスコマンド*MULTICと、元ソースプログラム1
上のソースライン番号で置き換えられるソースコードを
指示しそれに続いて1つ以上の置き換えるソースコード
を記述する置換コマンド*REPLACEと、元ソース
プログラムl上の削除されるソースコードをソースライ
ン番号で指示する削除コマンドIDELF。
Here, the new commands used in the example program of additional source program 2 include the address command *MULTIC, which describes the start address of the patch area with a variable name (AREAI in this example), and the original source program 1.
Indicate the source code to be replaced by the source line number above, followed by the replacement command *REPLACE, which writes one or more source codes to replace, and specify the source code to be deleted in the original source program l by the source line number. Delete command IDELF.

TEと、追加コンパイルの終了宣言を行う終了コマンド
*ENDMULTとがある。
There are TE and an end command *ENDMULT that declares the end of additional compilation.

第2図を参照すると、多重コンパイル制御手段3の処理
は、元ソースプログラムコンパイルステップ31と、追
加ソースプログラムコンパイルステップ32とからなる
Referring to FIG. 2, the processing of the multiplex compilation control means 3 consists of an original source program compiling step 31 and an additional source program compiling step 32.

第3図を参照すると、コンパイル手段4の処理は、元オ
ブジェクトプログラム作成ステップ41と、アドレスフ
ァイル作成ステップ42とからなる。
Referring to FIG. 3, the processing of the compiling means 4 consists of an original object program creation step 41 and an address file creation step 42.

第4図を参照すると、追加コンパイル手段5の処理は、
追加ソースプログラム入カステップ51と、アドレスフ
ァイル読込みステップ52と、コマンド解釈ステップ5
3と、アドレスコマンド判定ステップ54と、置換コマ
ンド判定ステップ55と、削除コマンド判定ステップ5
6と、終了コマンド判定ステップ57と、パッチポイン
タセントステップ61と、元ソースコード変更ステップ
71と、追加オブジェクトコード作成ステップ72と、
元ソースコード削除ステップ81とからなる。
Referring to FIG. 4, the processing of the additional compiling means 5 is as follows:
Additional source program input step 51, address file reading step 52, and command interpretation step 5
3, address command determination step 54, replacement command determination step 55, and deletion command determination step 5.
6, an end command determination step 57, a patch pointer cent step 61, an original source code modification step 71, an additional object code creation step 72,
The original source code deletion step 81 is performed.

次に、このように構成された本実施例の高級言語のパッ
チ生成方式の動作について説明する。
Next, the operation of the high-level language patch generation method of this embodiment configured as described above will be explained.

元ソースプログラムlと追加ソースプログラム2とが与
えられたときに、まず多重コンパイル制御手段3はコン
パイル手段4を動作させて元ソースプログラム1をコン
パイルさせる(ステップ31)。
When the original source program 1 and the additional source program 2 are given, the multiple compilation control means 3 first operates the compiling means 4 to compile the original source program 1 (step 31).

すなわち、元ソースプログラム1がコンパイルされて元
オブジェクトプログラム6が作成される(ステップ41
)。その過程でアドレス情報が蓄積されて、コンパイル
が終了したときに蓄積されたアドレス情報がアドレスフ
ァイル7に書き出される(ステップ42)。
That is, the original source program 1 is compiled to create the original object program 6 (step 41).
). During this process, address information is accumulated, and when the compilation is completed, the accumulated address information is written to the address file 7 (step 42).

次に、多重コンパイル制御手段3は追加コンパ・イル手
段5を動作させて追加ソースプログラム2をコンパイル
させる(ステップ32)。
Next, the multiple compilation control means 3 operates the additional compiling means 5 to compile the additional source program 2 (step 32).

すなわち、まず追加ソースプログラム2が読み込まれ(
ステップ51)、アドレスファイル7からアドレス情報
が読み込まれる(ステップ52)。
That is, first, additional source program 2 is loaded (
Step 51), address information is read from the address file 7 (Step 52).

ステップ51で読み込まれた追加ソースプログラム2は
1コマンド毎にコマンドの解釈がなされる(ステップ5
3)。
The additional source program 2 read in step 51 is interpreted for each command (step 5
3).

このステップ53での解釈に基づいて、コマンドがアド
レスコマンド*MULUTICであるか否かが判定され
る(ステップ54)。
Based on the interpretation at step 53, it is determined whether the command is the address command *MULUTIC (step 54).

この判定でアドレスコマンドであるときは、追加オブジ
ェクトプログラム8上のパンチエリア開始アドレスがパ
ッチポインタ9にセントされ(ステップ61)、次のコ
マンドの解釈をするためにステップ53の処理に制御が
戻る。
If the determination is that it is an address command, the punch area start address on the additional object program 8 is placed in the patch pointer 9 (step 61), and control returns to step 53 to interpret the next command.

ステ7プ54の判定でアドレスコマンドでないときは、
ステップ53で解釈されたコマンドが置換コマンド*R
EPLACEであるか否かが判定される(ステップ55
)。
If it is not an address command as determined in step 7, step 54,
The command interpreted in step 53 is the replacement command *R
It is determined whether it is EPLACE (step 55
).

この判定で置換コマンドであるときは、置換コマンドが
示す元ソースプログラム1上のソースライン番号(例示
プログラムでは7)のソースコードに対応する元オブジ
ェクトプログラム6上の1つ以上のオブジェクトコード
が追加コンパイル手段5によって検索され、この1つ以
上のオブジェクトコードの最初のオブジェクトコードの
アドレス(以下、開始アドレスという)が開始ポインタ
10にセットされる。また、置換コマンドが示す元ソー
スプログラム1上のソースライン番号の次のソースライ
ン番号(例示プログラムでは8)のソースコードに対応
する元オブジェクトプログラム6上の1つ以上のオブジ
ェクトコードの開始アドレスが次ポインタ11にセット
される。さらに、開始ポインタlOが示すアドレスのオ
ブジェクトコードとしてパッチポインタ9が示すアドレ
スへの飛越し命令が作成されて追加オブジェクトプログ
ラム8に書き出される(ステップ71)。
If it is a replacement command in this judgment, one or more object codes in the original object program 6 corresponding to the source code of the source line number (7 in the example program) on the original source program 1 indicated by the replacement command are additionally compiled. The address of the first object code of the one or more object codes (hereinafter referred to as start address) is set in the start pointer 10. In addition, the start address of one or more object codes in the original object program 6 corresponding to the source code of the source line number (8 in the example program) next to the source line number on the original source program 1 indicated by the replacement command is It is set to pointer 11. Furthermore, a jump instruction to the address indicated by the patch pointer 9 is created as the object code of the address indicated by the start pointer IO, and is written to the additional object program 8 (step 71).

次に、追加ソースプログラム2上の置換コマンドに続く
ソースコードがコンパイルされ、作成されたオブジェク
トコードがパンチポインタ9が示すエリアに置かれて追
加オブジェクトプログラム8に書き出される。このとき
、追加ソースプログラム2上の元ソースプログラムl上
で定義した変数やラベルをコンパイルするためにアドレ
ス情報が利用される。また、パンチポインタ9の値は、
追加オブジェクトプログラム8上のオブジェクコードが
作成される毎に次の未使用パンチエリアの先頭アドレス
を示すように更新される。1つの置換コマンドに続く全
てのソースコードがコンパイルされると、次ポインタ1
1の示す元オブジェクトプログラム6上のオブジェクト
コードへの飛越し命令がパッチポインタ9の示すパンチ
エリアに作成されて追加オブジェクトプログラム8に書
き出される。このときも、パンチポインタ9の値は次の
未使用パッチエリアのアドレスに更新される(ステップ
72)。
Next, the source code following the replacement command on the additional source program 2 is compiled, and the created object code is placed in the area indicated by the punch pointer 9 and written to the additional object program 8. At this time, address information is used to compile variables and labels defined in the original source program l on the additional source program 2. Also, the value of punch pointer 9 is
Every time the object code on the additional object program 8 is created, it is updated to indicate the start address of the next unused punch area. When all the source code following one substitution command has been compiled, the next pointer 1
A jump instruction to the object code on the original object program 6 indicated by 1 is created in the punch area indicated by the patch pointer 9 and written to the additional object program 8. At this time as well, the value of punch pointer 9 is updated to the address of the next unused patch area (step 72).

この処理が終わると、ステップ53の処理に制御が戻る
When this process is finished, control returns to the process of step 53.

ステップ55の判定で置換コマンドでないときは、ステ
ップ53で解釈されたコマンドが削除コマンド’kDE
LETEであるか否かが判定される(ステップ56)。
If it is determined in step 55 that it is not a replacement command, the command interpreted in step 53 is the deletion command 'kDE'.
It is determined whether it is LETE (step 56).

この判定で削除コマンドであるときは、削除コマンドが
示す元ソースプログラム1上のソースライン番号(例示
プログラムでは10)のソースコードに対応する元オブ
ジェクトプログラム6上の1つ以上のオブジェクトコー
ドが追加コンパイル手段5によって検索され、この1つ
以上のオブジェクトコードの開始アドレスが開始ポイン
タ10に、削除コマンドが示す元ソースプログラム1上
のソースライン番号の次のソースライン番号(例示プロ
グラムでは11)のソースコードに対応する元オブジェ
クトプログラム6上の1つ以上のオブジェクトコードの
開始アドレスが次ポインタ11にセットされる。さらに
、開始ポインタ10が示すアドレスのオブジェクトコー
ドとして次ポインタ11の示すアドレスへの飛越し命令
が作成されて追加オブジェクトプログラム8に書き出さ
れ(ステップ81)、ステップ53の処理に制御が戻る
If this determination is a deletion command, one or more object codes in the original object program 6 corresponding to the source code of the source line number (10 in the example program) on the original source program 1 indicated by the deletion command are additionally compiled. The start address of the one or more object codes is searched by the means 5, and the start address of the one or more object codes is set to the start pointer 10, and the source code of the source line number (11 in the example program) next to the source line number on the original source program 1 indicated by the deletion command is added. The start address of one or more object codes on the original object program 6 corresponding to is set in the next pointer 11. Furthermore, a jump instruction to the address indicated by the next pointer 11 is created as the object code of the address indicated by the start pointer 10 and written to the additional object program 8 (step 81), and control returns to the process of step 53.

ステップ56の判定で削除コマンドでないときは、ステ
ップ53で解釈されたコマンドが終了コマンド*END
MULTであるか否かが判定される(ステップ57)。
If it is determined in step 56 that it is not a deletion command, the command interpreted in step 53 is an end command *END.
It is determined whether it is MULT (step 57).

この判定で終了コマンドであるときは、追加コンパイル
手段5の処理が終了し、この時点の追加オフ゛ジェクト
プログラム8が目的のパンチになる。
If it is determined that the command is an end command, the processing of the additional compiling means 5 is completed, and the additional object program 8 at this point becomes the target punch.

ステップ57の判定で終了コマンドでないときは、解釈
できないコマンド(注釈コマンドや誤ったコマンド等)
ということで、次のコマンドの解釈をするためにステッ
プ53の処理に制御が戻る。
If the judgment in step 57 is that it is not an end command, the command cannot be interpreted (comment command, incorrect command, etc.)
Therefore, control returns to step 53 to interpret the next command.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、高級言語により作成した
追加ソースプログラムに基づいてバッチが生成できるこ
とにより、電子計算機のハードウェアに関する高度な知
識を必要としないでソースプログラムの直接変更と同じ
ように容易にバッチを作成でき、プログラムメンテナン
スが高級言語レベルで行えるという効果がある。
As explained above, the present invention is capable of generating batches based on additional source programs created in a high-level language, so that it is as easy as directly modifying a source program without requiring advanced knowledge of computer hardware. This has the effect of allowing batches to be created and program maintenance to be performed at a high-level language level.

また、ソースプログラムの一部の修正または変更をソー
スプログラムの変更ではなくて簡便にバッチで行うこと
ができることにより、ソースプログラムのバージョン管
理が複雑にならず、電子計算機システムを停止する必要
のあるロードモジュールの変更が不要になるという効果
がある。
In addition, since it is possible to easily modify or change a part of a source program in a batch rather than modifying the source program, version control of the source program is not complicated, and loads that require the computer system to be stopped This has the effect of eliminating the need to change modules.

さらに、追加ソースプログラムを保存して次のバージョ
ンのソースプログラムの作成に利用することにより、プ
ログラム資源の再利用を図ることができるという効果が
ある。
Furthermore, by saving the additional source program and using it to create the next version of the source program, program resources can be reused.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例の構成を示すブロック図、 第2図は第1図中の多重コンパイル制御手段の処理を示
す流れ図、 第3図は第1図中のコンパイル手段の処理を示す流れ図
、 第4図は第1図中の追加コンパイル手段の処理を示す流
れ図である。 図において、 l・・・元ソースプログラム、 2・・・追加ソースプログラム、 3・・・多重コンパイル制御手段、 4・・・コンパイル手段、 5・・・追加コンパイル手段、 6・・・元オブジェクトプログラム、 7・・・アドレスファイル、 8・・・追加オブジェクトプログラムである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the processing of the multiple compilation control means in FIG. 1, and FIG. 3 is a flow chart showing the processing of the compiling means in FIG. 1. FIG. 4 is a flowchart showing the processing of the additional compiling means in FIG. In the figure, l...Original source program, 2...Additional source program, 3...Multiple compilation control means, 4...Compiling means, 5...Additional compilation means, 6...Original object program , 7...Address file, 8...Additional object program.

Claims (1)

【特許請求の範囲】 元ソースプログラムからこの元ソースプログラムのソー
スコードのライン番号の情報をオブジェクトコードに付
加した元オブジェクトプログラムおよびアドレス情報が
格納されたアドレスファイルを生成するコンパイル手段
と、 少なくともアドレスコマンド、置換コマンドおよび削除
コマンドの内のいずれかを含む追加ソースプログラムを
入力し前記元オブジェクトプログラムおよび前記アドレ
スファイルを参照して追加オブジェクトプログラムを生
成する追加コンパイル手段と、 を有することを特徴とする高級言語のパッチ生成方式。
[Scope of Claims] Compilation means for generating an address file storing address information and an original object program in which line number information of the source code of the original source program is added to the object code from the original source program, and at least an address command. , additional compiling means for inputting an additional source program containing either a replacement command or a deletion command and generating an additional object program by referring to the original object program and the address file; Language patch generation method.
JP61154576A 1986-06-30 1986-06-30 Patch production system for high-level language Pending JPS6310239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61154576A JPS6310239A (en) 1986-06-30 1986-06-30 Patch production system for high-level language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61154576A JPS6310239A (en) 1986-06-30 1986-06-30 Patch production system for high-level language

Publications (1)

Publication Number Publication Date
JPS6310239A true JPS6310239A (en) 1988-01-16

Family

ID=15587242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61154576A Pending JPS6310239A (en) 1986-06-30 1986-06-30 Patch production system for high-level language

Country Status (1)

Country Link
JP (1) JPS6310239A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242332A (en) * 1989-03-15 1990-09-26 Nec Corp Patch forming device for program
US8473903B2 (en) 2009-09-28 2013-06-25 The Bank Of Tokyo-Mitsubishi Ufj, Ltd. Code edit apparatus and recording medium
CN106874022A (en) * 2015-12-11 2017-06-20 中兴通讯股份有限公司 A kind of hot patch method for implanting and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242332A (en) * 1989-03-15 1990-09-26 Nec Corp Patch forming device for program
US8473903B2 (en) 2009-09-28 2013-06-25 The Bank Of Tokyo-Mitsubishi Ufj, Ltd. Code edit apparatus and recording medium
CN106874022A (en) * 2015-12-11 2017-06-20 中兴通讯股份有限公司 A kind of hot patch method for implanting and device
CN106874022B (en) * 2015-12-11 2021-06-25 中兴通讯股份有限公司 Hot patch injection method and device

Similar Documents

Publication Publication Date Title
JP2802005B2 (en) Failure detection method
US6678885B2 (en) System and method for common code generation
US6961931B2 (en) Dependency specification using target patterns
US5418954A (en) Method for preparing and dynamically loading context files
JPH06309204A (en) Method and device for data processing
JPS6310239A (en) Patch production system for high-level language
US6606616B1 (en) Modified action rules
JPH06110733A (en) Test case generating device of program
JP3431685B2 (en) Document-dictionary link generator
JP2000163109A (en) Ladder programming device and its method
US6311227B1 (en) Procedure calling method
US20070113236A1 (en) Program flow method and method for expanding a program component system
JPH0667871A (en) Automatic program updating system
JP2006201841A (en) Program generation device
JP2003076558A (en) Method and program for controlling program execution
JP3996114B2 (en) How to place the program
JPH09251378A (en) Method and device for updating class library
JPH0887416A (en) Control program generating device
JP2002082811A (en) Compiling method and recording medium
JPH06168011A (en) Program generating device
JP2001014148A (en) Software component assembling device
JPH01282640A (en) Register use map output system
JPH03158931A (en) Link method for execution form program
JPH0991173A (en) Execution history display method for program
JPH04359317A (en) Software development supporting device