IP Library Granted Patent US 10,552,132
Granted Patent B2
US 10,552,132 · App. 15/837,431 · Granted Feb 4, 2020

Binary merging device, method, and computer program

Inventors: Dong Pil Seo (Seongnam-si, KR); Seong Yeol Lim (Seongnam-si, KR); Kwang Hee Han (Seongnam-si, KR); Sung Beom Ahn (Seongnam-si, KR); Wang Jin Oh (Seongnam-si, KR); Sang Hun Jeon (Seongnam-si, KR)
Assignee: Line Corporation
G06F8/52G06F8/30G06F21/14G06F12/1009G06F2212/1008
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,552,132
App. No.
15/837,431
Granted
Feb 4, 2020
Kind
B2
Abstract

According to various example embodiments, a first binary, i.e., an original binary of an application, and a second binary to be added to the application may be merged in a binary form without having to modify a source code.

Claims (31)

1. A binary merging method performed by a binary merging device, the binary merging device comprising a memory storing a first binary, and a controller, wherein the binary merging method comprises:

generating, by the controller, a second binary to be injected into the first binary; and

generating, by the controller, a final binary in which the first binary and the second binary are merged,

wherein the final binary is implemented to cause execution of the second binary using a second programming interface, replacement of the second programming interface with a first programming interface, and execution of the first binary using a first programming interface,

the first programming interface comprises a reference relationship between at least one first function and first external files called by the at least one first function based on a first address table,

the first address table comprises a first address value of a first area where the at least one first function included in a first source file that is a source of the first binary is defined;

the second programming interface comprises a reference relationship between at least one second function and second external files called by the at least one second function based on a second address table, and

the second address table comprises a second address value of a second area where the at least one second function included in a second source file that is a source of the second binary is defined.

2. The binary merging method of claim 1 , wherein the final binary is implemented to cause:

sequential extraction of a function name of the at least one first function included in the first programming interface and the first address value in which the at least one first function is defined;

individual comparison of whether the extracted function name and the extracted address value are included in the second programming interface, and when result of the individual comparison indicate that the second programming interface is not completely the same as the first programming interface, replacement of the second programming interface with the first programming interface.

3. The binary merging method of claim 1 , further comprising:

obfuscating, by the controller, the first binary,

wherein the second binary comprises a decoding function for decoding the obfuscated first binary.

4. A binary merging device comprising:

a memory having computer readable instructions stored thereon; and

at least one processor configured to execute the computer readable instructions to,

generate a second binary to be injected into a first binary,

generate a final binary in which the first binary and the second binary are merged,

generate a first programming interface which comprises a reference relationship between at least one first function and first external files called by the at least one first functions based on a first address table, and

generate a second programming interface which comprises a reference relationship between at least one second function and second external files called by the at least one second function based on a second address table,

wherein the final binary is implemented to cause execution of the second binary using the second programming interface, replacement of the second programming interface with the first programming interface, and execution of the first binary using the first programming interface,

the first address table comprises a first address value of a first area where the at least one first function included in a first source file that is a source of the first binary is defined, and

the second address table comprises a second address value of a second area where the at least one second function included in a second source file that is a source of the second binary is defined.

5. The binary merging device of claim 4 , wherein the final binary is implemented to cause:

sequential extraction of a function name of the first function included in the first programming interface and the first address value in which the first function is defined;

individual comparison of whether the extracted function name and the extracted address value are included in the second programming interface, and

replace the second programming interface with the first programming interface when results of the comparison indicate that the second programming interface is not completely the same as the first programming interface.

6. The binary merging device of claim 4 , wherein the at least one processor is further configured to obfuscate the first binary,

wherein the second binary comprises a decoding function for decoding the obfuscated first binary.

7. A non-transitory computer-readable medium storing computer-readable instructions, which when executed by at least one processor, causes the at least one processor to perform the method of claim 1 .

Assignments (7)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 12, 2024
From: Z INTERMEDIATE GLOBAL CORPORATION
To: LY CORPORATION
Reel/Frame 067096/0431 →
CHANGE OF NAME Recorded Apr 10, 2024
From: LINE CORPORATION
To: Z INTERMEDIATE GLOBAL CORPORATION
Reel/Frame 067069/0467 →
CORRECTIVE ASSIGNMENT TO CORRECT THE SPELLING OF THE ASSIGNEES CITY IN THE ADDRESS SHOULD BE TOKYO, JAPAN PREVIOUSLY RECORDED AT REEL: 058597 FRAME: 0303. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 17, 2023
From: A HOLDINGS CORPORATION
To: LINE CORPORATION
Reel/Frame 062401/0490 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THE CITY SHOULD BE SPELLED AS TOKYO PREVIOUSLY RECORDED AT REEL: 058597 FRAME: 0141. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 17, 2023
From: LINE CORPORATION
To: A HOLDINGS CORPORATION
Reel/Frame 062401/0328 →
CHANGE OF NAME Recorded Dec 28, 2021
From: LINE CORPORATION
To: A HOLDINGS CORPORATION
Reel/Frame 058597/0141 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 28, 2021
From: A HOLDINGS CORPORATION
To: LINE CORPORATION
Reel/Frame 058597/0303 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 12, 2017
From: SEO, DONG PIL; LIM, SEONG YEOL; HAN, KWANG HEE; AHN, SUNG BEOM; OH, WANG JIN; JEON, SANG HUN
To: LINE CORPORATION
Reel/Frame 044360/0465 →
Priority Claims (1)
KR 10-2015-0082727 · Jun 11, 2015 · national
Continuity (2)
Continuation PCTKR2016004716 · May 4, 2016
Related Publication 20180121181A1 · May 3, 2018