Skip to content

Commit

Permalink
minifix in IDA plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
danielplohmann committed Feb 2, 2024
1 parent bcfbd5c commit 1f3d363
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package:
rm -rf dist/*
python setup.py sdist
publish:
python -m twine upload dist/*
python -m twine upload dist/* -u __token__
pylint:
python -m pylint --rcfile=.pylintrc mcrit
test:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ In July 2023, we started populating a [Github repository](https://github.com/dan


## Version History
* 2024-02-02 v1.3.3: Mini fix in the IDA plugin to avoid referencing a potentially uninitialized object (THX to @r0ny123!!).
* 2024-02-01 v1.3.2: FIX: Non-parallelized matching now outputs the [same data format](https://github.com/danielplohmann/mcrit/pull/63) (THX to @dannyquist!!).
* 2024-01-30 v1.3.1: The connection to MongoDB is now fully [configurable](https://github.com/danielplohmann/mcrit/pull/61) (THX to @dannyquist!!).
* 2024-01-24 v1.3.0: BREAKING: Milestone release with indexing improvements for PicHash and MinHash. To ensure full backward compatibility, recalculation of all hashes is recommended. Check this [migration guide](https://github.com/danielplohmann/mcrit/blob/main/docs/migration-v1.3.0.md).
Expand Down
2 changes: 1 addition & 1 deletion mcrit/config/McritConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class McritConfig(object):

# NOTE to self: always change this in setup.py as well!
VERSION = "1.3.2"
VERSION = "1.3.3"
# basic pathing info
CONFIG_FILE_PATH = str(os.path.abspath(__file__))
PROJECT_ROOT = str(os.path.abspath(os.sep.join([CONFIG_FILE_PATH, "..", ".."])))
Expand Down
9 changes: 5 additions & 4 deletions plugins/ida/widgets/FunctionMatchWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ def updateViewWithCurrentFunction(self):
else:
self.label_current_function_matches.setText("Matches for Function: 0x%x -- %d families, %d samples, %d functions." % (self.parent.current_function, match_report.num_original_family_matches, match_report.num_original_sample_matches, num_all_functions))
self.current_function_offset = self.parent.current_function
# populate tables with data
self.populateFunctionMatchTable(match_report)
# TODO fetch all labels to populate lower table as soon as we support this
self.populateFunctionNameTable(match_report)
if match_report:
# populate tables with data
self.populateFunctionMatchTable(match_report)
# TODO fetch all labels to populate lower table as soon as we support this
self.populateFunctionNameTable(match_report)

def populateFunctionMatchTable(self, match_report: MatchingResult):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='mcrit',
version="1.3.2",
version="1.3.3",
description='MCRIT is a framework created for simplified application of the MinHash algorithm to code similarity.',
long_description_content_type="text/markdown",
long_description=README,
Expand Down

0 comments on commit 1f3d363

Please sign in to comment.