Skip to content

Commit

Permalink
Bump Ghidra to 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fmagin committed Jun 11, 2024
1 parent 384d239 commit 01d31cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
java-version: 1.17
- uses: er28-0652/setup-ghidra@master
with:
version: "11.0.3"
version: "11.1"

- name: Build Extension
working-directory: ./GhidraJupyterKotlin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
java-version: 1.17
- uses: er28-0652/setup-ghidra@master
with:
version: "11.0.3"
version: "11.1"

- name: Build with Gradle
working-directory: ./GhidraJupyterKotlin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@PluginInfo(
status = PluginStatus.RELEASED,
packageName = "GhidraJupyterKotlin",
category = PluginCategoryNames.INTERPRETERS,
category = PluginCategoryNames.COMMON,
shortDescription = "Kotlin Jupyter kernel for Ghidra.",
description = "Kotlin Jupyter kernel for Ghidra."
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package GhidraJupyterKotlin.extensions.misc

import ghidra.framework.model.UndoableDomainObject
import ghidra.framework.model.DomainObject
import ghidra.program.model.listing.FunctionIterator
import ghidra.program.model.listing.FunctionManager
import ghidra.program.model.listing.Program
Expand All @@ -13,7 +13,7 @@ val Program.functions: FunctionIterator
get() = this.functionManager.getFunctions(true)


fun UndoableDomainObject.runTransaction(description: String, transaction: () -> Unit) {
fun DomainObject.runTransaction(description: String, transaction: () -> Unit) {
val transactionID: Int = this.startTransaction(description)
try {
transaction()
Expand All @@ -25,7 +25,7 @@ fun UndoableDomainObject.runTransaction(description: String, transaction: () ->
}
}

fun UndoableDomainObject.runTransaction(transaction: () -> Unit){
fun DomainObject.runTransaction(transaction: () -> Unit){
val transactionID: Int = this.startTransaction("Kotlin Lambda Transaction")
try {
transaction()
Expand Down

0 comments on commit 01d31cc

Please sign in to comment.