Skip to content

Commit

Permalink
minor cleanup, finalizing for release
Browse files Browse the repository at this point in the history
  • Loading branch information
gaasedelen committed Feb 3, 2024
1 parent f944b62 commit 84eeb21
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2021 Markus Gaasedelen
Copyright (c) 2017-2024 Markus Gaasedelen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,13 @@ Use the instructions below for your respective disassembler.

## Binary Ninja Installation

Lighthouse can be installed through the plugin manager on newer versions of Binary Ninja (>2.4.2918). The plugin will have to be installed manually on older versions.

### Auto Install
Lighthouse can be installed through the plugin manager on Binary Ninja, supporting v3.5 and newer.

1. Open Binary Ninja's plugin manager by navigating the following submenus:
- `Edit` -> `Preferences` -> `Manage Plugins`
2. Search for Lighthouse in the plugin manager, and click the `Enable` button in the bottom right.
3. Restart your disassembler.

### Manual Install

1. Open Binary Ninja's plugin folder by navigating the following submenus:
- `Tools` -> `Open Plugins Folder...`
2. Copy the contents of this repository's `/plugins/` folder to the listed directory.
3. Restart your disassembler.

# Usage

Once properly installed, there will be a few new menu entries available in the disassembler. These are the entry points for a user to load coverage data and start using Lighthouse.
Expand Down
6 changes: 3 additions & 3 deletions binjastub/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"description": "A Coverage Explorer for Reverse Engineers",
"license": {
"name": "MIT",
"text": "Copyright (c) 2021> Markus Gaasedelen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
"text": "Copyright (c) 2024> Markus Gaasedelen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
},
"longdescription": "",
"minimumbinaryninjaversion": 2918,
"minimumbinaryninjaversion": 4526,
"name": "Lighthouse",
"platforms": [
"Darwin",
Expand All @@ -20,5 +20,5 @@
"type": [
"helper"
],
"version": "0.9.2"
"version": "0.9.3"
}
9 changes: 4 additions & 5 deletions plugins/lighthouse/integration/core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import abc
import logging

Expand All @@ -7,10 +6,10 @@
from lighthouse.util import lmsg
from lighthouse.util.qt import *
from lighthouse.util.update import check_for_update
from lighthouse.util.disassembler import disassembler, DisassemblerContextAPI
from lighthouse.util.disassembler import disassembler

from lighthouse.ui import *
from lighthouse.metadata import DatabaseMetadata, metadata_progress
from lighthouse.metadata import metadata_progress
from lighthouse.exceptions import *

logger = logging.getLogger("Lighthouse.Core")
Expand All @@ -26,9 +25,9 @@ class LighthouseCore(object):
# Plugin Metadata
#--------------------------------------------------------------------------

PLUGIN_VERSION = "0.9.2-DEV"
PLUGIN_VERSION = "0.9.3-RC"
AUTHORS = "Markus Gaasedelen"
DATE = "2021"
DATE = "2024"

#--------------------------------------------------------------------------
# Initialization
Expand Down
4 changes: 2 additions & 2 deletions plugins/lighthouse/util/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def check_for_update(current_version, callback):
update_thread = threading.Thread(
target=async_update_check,
args=(current_version, callback,),
name="UpdateChecker"
name="Lighthouse UpdateChecker"
)
update_thread.start()

Expand All @@ -42,7 +42,7 @@ def async_update_check(current_version, callback):
logger.debug(" - Failed to reach GitHub for update check...")
return

# convert vesrion #'s to integer for easy compare...
# convert version #'s to integer for easy compare...
version_remote = int(''.join(re.findall('\d+', remote_version)))
version_local = int(''.join(re.findall('\d+', current_version)))

Expand Down

0 comments on commit 84eeb21

Please sign in to comment.