Benign ruby 1,339 installs Download

ruby-qt6-rspec 6.3.0

“RSpec for RubyQt6.”

Dynamic method definitionMethod aliasing
SHA-2564d076802749603cf14e035c0d874374e49e131f0c66221053d2ab25f623d674b
MaleculeO₂(AsC)

Evidence

Dynamic method definition qlass_file_parser.rb · lines 168–173
168:20… .sub(".define_singleton_function", "")
169 line = line.sub(".define_method", "")
170 case line
171 when /Constructor<#{qlass.name}.*>/
172 rbname = "initialize"
173 when /(<.*>)?\("([\ …
Method aliasing rspec.rb · lines 171–173
171:116… initialize").count == constructor_methods_count
172 raise "#{rbfile}: initialize: Missing `alias_method :_initialize, :initialize`" unless rbfile_contents.include?("alias_method :_initialize, :initialize")
173 raise "#{rbfile}: initialize: Missing `def initialize(*args)`" unless rbfile_contents.include?("def initialize(*args) …
Reads file content with Ruby File.read bando_file_parser.rb · lines 13–21
13:6… @qmod = qmod
14 @bandoes = []
15 @lines, @lineno = File.read(cppfile).lines, 0
16 end
17
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.