We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f313389 commit e52d67cCopy full SHA for e52d67c
tools/dev/msftidy.rb
@@ -684,6 +684,15 @@ def check_use_datastore_debug
684
end
685
686
687
+ # Check for modules using the deprecated architectures
688
+ #
689
+ # @see https://github.com/rapid7/metasploit-framework/pull/7507
690
+ def check_arch
691
+ if @source =~ /ARCH_X86_64/
692
+ error('Please don\'t use the ARCH_X86_64 architecture, use ARCH_X64 instead')
693
+ end
694
695
+
696
#
697
# Run all the msftidy checks.
698
@@ -717,6 +726,7 @@ def run_checks
717
726
check_print_debug
718
727
check_register_datastore_debug
719
728
check_use_datastore_debug
729
+ check_arch
720
730
721
731
722
732
private
0 commit comments