IP Library Granted Patent US 11,947,408
Granted Patent B2
US 11,947,408 · App. 17/568,268 · Granted Apr 2, 2024

Anomaly detection method, anomaly detection recording medium, anomaly detection device, rewriting method, and rewriting device

Inventors: Kenji Oga (Osaka, JP); Norifumi Murata (Osaka, JP); Kyoko Ueda (Osaka, JP)
Assignee: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
G06F11/0745G06F9/3836G06F11/0721G06F11/0751G06F11/1048
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 11,947,408
App. No.
17/568,268
Granted
Apr 2, 2024
Kind
B2
Abstract

An anomaly detection method includes: reading a branch target address corresponding to a branch instruction, twice or more; determining whether the branch target addresses read are identical; and executing the branch instruction when the branch target addresses read are identical, and executing anomaly detection processing when the branch target addresses read are not identical.

Claims (35)

1. An anomaly detection method comprising:

reading a branch target address corresponding to a branch instruction, twice or more;

determining whether branch target addresses read are identical; and

executing the branch instruction when the branch target addresses read are identical, and executing anomaly detection processing when the branch target addresses read are not identical.

2. The anomaly detection method according to claim 1 , wherein

the branch target addresses are retained in a single memory area, and

the reading includes reading the branch target addresses from the single memory area, twice or more.

3. The anomaly detection method according to claim 1 , wherein

the branch target addresses are respectively retained in different memory areas, and

the reading includes reading the branch target addresses respectively from the different memory areas, twice or more.

4. The anomaly detection method according to claim 1 , wherein

the reading is performed when a specified condition is satisfied, and the reading is not performed when the specified condition is not satisfied.

5. A non-transitory computer-readable recording medium having recorded thereon an anomaly detection program for causing a computer to execute the anomaly detection method according to claim 1 .

6. An anomaly detection device comprising:

a detector that detects a branch instruction in a program;

a reader that reads a branch target address corresponding to the branch instruction, twice or more;

a determiner that determines whether branch target addresses read are identical; and

an executer that executes the branch instruction when the branch target addresses read are identical, and executes anomaly detection processing when the branch target addresses read are not identical.

7. A method of rewriting a program, comprising:

detecting a branch instruction in the program; and

rewriting the branch instruction detected into an anomaly detection instruction, wherein

the anomaly detection instruction includes instructions for:

reading a branch target address corresponding to the branch instruction, twice or more;

determining whether branch target addresses read are identical; and

executing the branch instruction when the branch target addresses read are identical, and executing anomaly detection processing when the branch target addresses read are not identical.

8. The method according to claim 7 , wherein

the rewriting is performed when a specified condition is satisfied, and the rewriting is not performed when the specified condition is not satisfied.

9. A non-transitory computer-readable recording medium having recorded thereon a rewriting program for causing a computer to execute the method according to claim 7 .

10. A device which rewrites a program, the device comprising:

a detector that detects a branch instruction in the program; and

a rewriter that rewrites the branch instruction detected into an anomaly detection instruction, wherein

the anomaly detection instruction includes instructions for:

reading a branch target address corresponding to the branch instruction, twice or more;

determining whether branch target addresses read are identical; and

executing the branch instruction when the branch target addresses read are identical, and executing anomaly detection processing when the branch target addresses read are not identical.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2024
From: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
To: PANASONIC AUTOMOTIVE SYSTEMS CO., LTD.
Reel/Frame 066709/0702 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 26, 2022
From: OGA, KENJI; MURATA, NORIFUMI; UEDA, KYOKO
To: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO., LTD.
Reel/Frame 059738/0275 →
Priority Claims (1)
JP 2020-058221 · Mar 27, 2020 · national
Continuity (2)
Continuation PCTJP2021000423 · Jan 8, 2021
Related Publication 20220129339A1 · Apr 28, 2022