mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3952 Updated the script categories to simplify and reduce the number of folders.
This commit is contained in:
parent
7772d98143
commit
7db176b2bd
82 changed files with 885 additions and 981 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -16,7 +16,7 @@
|
|||
// Generate WARNING Bookmarks on instructions which have unimplemented pcode.
|
||||
// Similar to disassembler's built-in marking but allows for refresh after
|
||||
// language update.
|
||||
// @category sleigh
|
||||
// @category Sleigh
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.program.disassemble.Disassembler;
|
||||
import ghidra.program.model.address.AddressSetView;
|
||||
|
@ -60,8 +60,9 @@ public class MarkUnimplementedPcode extends GhidraScript {
|
|||
}
|
||||
|
||||
private void markUnimplementedPcode(Instruction instr) {
|
||||
currentProgram.getBookmarkManager().setBookmark(instr.getAddress(), BookmarkType.WARNING,
|
||||
Disassembler.UNIMPL_BOOKMARK_CATEGORY,
|
||||
"Instruction pcode is unimplemented: " + instr.getMnemonicString());
|
||||
currentProgram.getBookmarkManager()
|
||||
.setBookmark(instr.getAddress(), BookmarkType.WARNING,
|
||||
Disassembler.UNIMPL_BOOKMARK_CATEGORY,
|
||||
"Instruction pcode is unimplemented: " + instr.getMnemonicString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue