diff --git a/Makefile b/Makefile index 218fec5..30f887d 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/README.md b/README.md index 8652c06..93fcb7f 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/mcrit/config/McritConfig.py b/mcrit/config/McritConfig.py index db44ffd..7da9f03 100644 --- a/mcrit/config/McritConfig.py +++ b/mcrit/config/McritConfig.py @@ -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, "..", ".."]))) diff --git a/plugins/ida/widgets/FunctionMatchWidget.py b/plugins/ida/widgets/FunctionMatchWidget.py index 1af9f93..4175323 100644 --- a/plugins/ida/widgets/FunctionMatchWidget.py +++ b/plugins/ida/widgets/FunctionMatchWidget.py @@ -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): """ diff --git a/setup.py b/setup.py index b6a67b6..a39b3f6 100644 --- a/setup.py +++ b/setup.py @@ -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,