Skip to content

Msf::Module::Platform#find_platform: Match known platforms before search #20166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bcoles
Copy link
Contributor

@bcoles bcoles commented May 10, 2025

Profiling reveals a lot of time is spent parsing module platforms in Msf::Module::Platform#find_platform during startup.

# stackprof stackprof-output.dump  | head -n 15
==================================
  Mode: cpu(1000)
  Samples: 4176 (1.07% miss rate)
  GC: 578 (13.84%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
       659  (15.8%)         427  (10.2%)     Kernel.require
       327   (7.8%)         327   (7.8%)     (marking)
       251   (6.0%)         251   (6.0%)     (sweeping)
       279   (6.7%)         200   (4.8%)     Msf::DataStore#import_options
       178   (4.3%)         167   (4.0%)     Msf::OptBase#initialize
       384   (9.2%)         164   (3.9%)     Msf::Module::Platform.find_portion
       486  (11.6%)         116   (2.8%)     Hash#each
        86   (2.1%)          86   (2.1%)     Hash#store
      2522  (60.4%)          81   (1.9%)     Class#new
# stackprof stackprof-output.dump --method 'Msf::Module::Platform.find_portion' | head 
Msf::Module::Platform.find_portion (/root/Desktop/metasploit-framework/lib/msf/core/module/platform.rb:133)
  samples:   164 self (3.9%)  /    384 total (9.2%)
  callers:
     384  (  100.0%)  Msf::Module::Platform.find_platform
     233  (   60.7%)  Hash#each
  callees (220 total):
     349  (  158.6%)  Hash#each
      70  (   31.8%)  String#[]
      20  (    9.1%)  Module#const_defined?
       8  (    3.6%)  Integer#==

The Msf::Module::Platform class was introduced in a commit titled "Wow this is overly complex, I suckx0r" in 2005. The find_platform method was added in a commit titled "Hmmm" on the following day.

This allows us to dynamically define supported platforms as a string within module metadata (using the Platform key). Platforms can also be defined abbreviated (ie, win); however, win appears to be the only abbreviation we use for any platform.

The basic structure of the find_platform method has not changed since it was introduced. It calls find_portion in a loop, which in turn performs multiple comparisons and iterates through abbreviations in an attempt to match the string to a platform.

Searching platform names and abbreviations is an unnecessarily complex method to map platform strings to classes. There are only ~30 platforms in Metasploit. Most callers of this method do not need this functionality and could simply use a Hash lookup table.

These methods were authored in 2005 when Metasploit contained far fewer modules. Now this method is called approximately 37 thousand (!) times during startup. Due to the ever-increasing number of modules, this behaviour will cause the startup time to grow.

For now, this PR uses simple string matching for known platforms which consistently decreases startup time by about 10% on my system.

In the long term, a simple Hash defined in lib/msf/core/constants.rb could be used to lookup platforms, here and elsewhere, instead.


Before

# for i in {1..5}; do time ./msfconsole -q -x exit ; done

real    0m18.954s
user    0m17.593s
sys     0m1.254s

real    0m17.101s
user    0m15.842s
sys     0m1.142s

real    0m16.766s
user    0m15.363s
sys     0m1.272s

real    0m16.633s
user    0m15.316s
sys     0m1.205s

real    0m18.484s
user    0m17.086s
sys     0m1.269s

After

# for i in {1..5}; do time ./msfconsole -q -x exit ; done

real    0m13.931s
user    0m12.702s
sys     0m1.161s

real    0m14.854s
user    0m13.459s
sys     0m1.331s

real    0m15.845s
user    0m14.537s
sys     0m1.169s

real    0m15.510s
user    0m14.191s
sys     0m1.210s

real    0m14.129s
user    0m12.862s
sys     0m1.179s

@jvoisin
Copy link
Contributor

jvoisin commented May 11, 2025

Out of curiosity, how did you generate the stackprof dump?

@adfoster-r7
Copy link
Contributor

@bcoles
Copy link
Contributor Author

bcoles commented May 11, 2025

Out of curiosity, how did you generate the stackprof dump?

diff --git a/msfconsole b/msfconsole
index 96630b48cb..5face106e6 100755
--- a/msfconsole
+++ b/msfconsole
@@ -6,6 +6,7 @@
 #
 
 require 'pathname'
+require 'stackprof'
 begin
 
   # Silences warnings as they only serve to confuse end users
@@ -15,12 +16,11 @@ begin
 
   # @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
   require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot')
-  require 'metasploit/framework/profiler'
-  Metasploit::Framework::Profiler.start
-
+StackProf.run(mode: :cpu, out: 'stackprof-output.dump') do
   require 'msfenv'
   require 'metasploit/framework/command/console'
   Metasploit::Framework::Command::Console.start
+end
 rescue Interrupt
   puts "\nAborting..."
   exit(1)

@bcoles
Copy link
Contributor Author

bcoles commented May 12, 2025

It's not stackprof; but fwiw we've got a RubyProf and memory_profiler API wrapper over here: https://docs.metasploit.com/docs/development/quality/measuring-metasploit-performance.html

Implementation: https://github.com/rapid7/metasploit-framework/blob/b5129fe19874e74d5a103bb9d1372fb30f618b32/lib/metasploit/framework/profiler.rb

For reasons I didn't bother to investigate, the existing profiling implementation is sub-optimal.

# METASPLOIT_CPU_PROFILE=true ./msfconsole -x exit 
/root/Desktop/metasploit-framework/lib/metasploit/framework/profiler.rb:21: [BUG] Segmentation fault at 0x0000000000000004                                                                                         
ruby 3.3.7 (2025-01-15 revision be31f993d7) [x86_64-linux-gnu]                                                                                                                                                     
                                                                                                                                                                                                                   
-- Control frame information -----------------------------------------------                                                                                                                                       
c:0003 p:0056 s:0012 e:000011 METHOD /root/Desktop/metasploit-framework/lib/metasploit/framework/profiler.rb:21                                                                                                    
c:0002 p:0069 s:0006 e:000005 EVAL   ./msfconsole:20 [FINISH]                                                                                                                                                      
c:0001 p:0000 s:0003 E:000cf0 DUMMY  [FINISH]                                                                                                                                                                      
                                                                                                                                                                                                                   
-- Ruby level backtrace information ----------------------------------------                                                                                                                                       
./msfconsole:20:in `<main>'                                                                                                                                                                                        
/root/Desktop/metasploit-framework/lib/metasploit/framework/profiler.rb:21:in `start'                                                                                                                              
                                                                                                                                                                                                                   
-- Threading information ---------------------------------------------------                                                                                                                                       
Total ractor count: 1                                                                                                                                                                                              
Ruby thread count for this ractor: 1                                                                                                                                                                               
                                                                                                                                                                                                                   
-- Machine register context ------------------------------------------------                                                                                                                                       
 RIP: 0x00007f8dda80b9c4 RBP: 0x000055c68ca144a0 RSP: 0x00007fff343b1cc0                                                                                                                                           
 RAX: 0x0000000000000004 RBX: 0x000055c68ca14480 RCX: 0x0000000000000000                                                                                                                                           
 RDX: 0x0000000000000000 RDI: 0x00007f8dda8e8a40 RSI: 0x0000000000000001                                                                                                                                           
  R8: 0x000055c68ce9cf70  R9: 0x000055c68cc5e330 R10: 0xa644c01d4ec59af0                                                                                                                                           
 R11: 0x00007f8df473c130 R12: 0x00007f8dda8e8a40 R13: 0x0000000000000015                                                                                                                                           
 R14: 0x00007f8dda8ec140 R15: 0x00007f8dd85c4848 EFL: 0x0000000000010246                                                                                                                                           
                                                                                                                                                                                                                   
-- C level backtrace information -------------------------------------------                                                                                                                                       
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df468f561) [0x7f8df468f561]                                                                                                                                          
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df44db1f4) [0x7f8df44db1f4]                                                                                                                                          
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df45f9c2f) [0x7f8df45f9c2f]
/lib/x86_64-linux-gnu/libc.so.6(0x7f8df4159df0) [0x7f8df4159df0]
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(RB_BUILTIN_TYPE+0x0) [0x7f8dda80b9c4] /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_method.c:26
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(resolve_klass) /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_method.c:26
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(resolve_klass) /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_method.c:11
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(resolve_klass) (null):0
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(prof_method_create+0x53) [0x7f8dda80c4a3] /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_method.c:159
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(create_method+0x11) [0x7f8dda80d792] /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_profile.c:108
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(check_method) /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_profile.c:159
/var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so(prof_event_hook+0x565) [0x7f8dda80dd35] /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/ext/ruby_prof/rp_profile.c:239
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df46904d2) [0x7f8df46904d2]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df46905de) [0x7f8df46905de]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df4690c51) [0x7f8df4690c51]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df4691cdd) [0x7f8df4691cdd]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df4669f38) [0x7f8df4669f38]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df46794ec) [0x7f8df46794ec]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df467d8fd) [0x7f8df467d8fd]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(0x7f8df44e1c92) [0x7f8df44e1c92]
/lib/x86_64-linux-gnu/libruby-3.3.so.3.3(ruby_run_node+0x8b) [0x7f8df44e54ab]
ruby(0x55c68b258114) [0x55c68b258114]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_call_main+0x78) [0x7f8df4143ca8] ../sysdeps/nptl/libc_start_call_main.h:58
/lib/x86_64-linux-gnu/libc.so.6(call_init+0x0) [0x7f8df4143d65] ../csu/libc-start.c:360
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main_impl) ../csu/libc-start.c:347
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main) (null):0
ruby(_start+0x21) [0x55c68b258151]

-- Other runtime information -----------------------------------------------

* Loaded script: ./msfconsole

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb
    6 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
    7 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
    8 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/rbconfig.rb
    9 /usr/lib/ruby/vendor_ruby/rubygems/compatibility.rb
   10 /usr/lib/ruby/vendor_ruby/rubygems/defaults.rb
   11 /usr/lib/ruby/vendor_ruby/rubygems/deprecate.rb
   12 /usr/lib/ruby/vendor_ruby/rubygems/errors.rb
   13 /usr/lib/ruby/vendor_ruby/rubygems/target_rbconfig.rb
   14 /usr/lib/ruby/vendor_ruby/rubygems/unknown_command_spell_checker.rb
   15 /usr/lib/ruby/vendor_ruby/rubygems/exceptions.rb
   16 /usr/lib/ruby/vendor_ruby/rubygems/basic_specification.rb
   17 /usr/lib/ruby/vendor_ruby/rubygems/stub_specification.rb
   18 /usr/lib/ruby/vendor_ruby/rubygems/platform.rb
   19 /usr/lib/ruby/vendor_ruby/rubygems/specification_record.rb
   20 /usr/lib/ruby/vendor_ruby/rubygems/util/list.rb
   21 /usr/lib/ruby/vendor_ruby/rubygems/version.rb
   22 /usr/lib/ruby/vendor_ruby/rubygems/requirement.rb
   23 /usr/lib/ruby/vendor_ruby/rubygems/specification.rb
   24 /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb
   25 /usr/lib/ruby/vendor_ruby/rubygems/util.rb
   26 /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb
   27 /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb
   28 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
   29 /usr/lib/ruby/3.3.0/monitor.rb
   30 /usr/lib/ruby/vendor_ruby/rubygems.rb
   31 /usr/lib/ruby/3.3.0/bundled_gems.rb
   32 /usr/lib/ruby/vendor_ruby/rubygems/path_support.rb
   33 /usr/lib/ruby/3.3.0/error_highlight/version.rb
   34 /usr/lib/ruby/3.3.0/error_highlight/base.rb
   35 /usr/lib/ruby/3.3.0/error_highlight/formatter.rb
   36 /usr/lib/ruby/3.3.0/error_highlight/core_ext.rb
   37 /usr/lib/ruby/3.3.0/error_highlight.rb
   38 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/version.rb
   39 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/core_ext/name_error.rb
   40 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/levenshtein.rb
   41 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/jaro_winkler.rb
   42 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checker.rb
   43 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   44 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   45 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   46 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/method_name_checker.rb
   47 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/key_error_checker.rb
   48 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/null_checker.rb
   49 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/tree_spell_checker.rb
   50 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/require_path_checker.rb
   51 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/pattern_key_name_checker.rb
   52 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean/formatter.rb
   53 /usr/share/rubygems-integration/all/gems/did_you_mean-1.6.3/lib/did_you_mean.rb
   54 /usr/lib/ruby/3.3.0/syntax_suggest/core_ext.rb
   55 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
   56 /usr/lib/ruby/3.3.0/pathname.rb
   57 /usr/lib/ruby/vendor_ruby/rubygems/bundler_version_finder.rb
   58 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/version.rb
   59 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/constants.rb
   60 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_integration.rb
   61 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/current_ruby.rb
   62 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/shared_helpers.rb
   63 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/fileutils/lib/fileutils.rb
   64 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendored_fileutils.rb
   65 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/errors.rb
   66 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/environment_preserver.rb
   67 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/plugin/api.rb
   68 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/plugin.rb
   69 /usr/lib/ruby/vendor_ruby/rubygems/text.rb
   70 /usr/lib/ruby/vendor_ruby/rubygems/source/git.rb
   71 /usr/lib/ruby/vendor_ruby/rubygems/source/installed.rb
   72 /usr/lib/ruby/vendor_ruby/rubygems/source/specific_file.rb
   73 /usr/lib/ruby/vendor_ruby/rubygems/source/local.rb
   74 /usr/lib/ruby/vendor_ruby/rubygems/source/lock.rb
   75 /usr/lib/ruby/vendor_ruby/rubygems/source/vendor.rb
   76 /usr/lib/ruby/vendor_ruby/rubygems/source.rb
   77 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/match_metadata.rb
   78 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/force_platform.rb
   79 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/gem_helpers.rb
   80 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/match_platform.rb
   81 /usr/lib/ruby/vendor_ruby/rubygems/name_tuple.rb
   82 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/rubygems_ext.rb
   83 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/build_metadata.rb
   84 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler.rb
   85 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/settings.rb
   86 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/ui.rb
   87 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/command.rb
   88 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
   89 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/error.rb
   90 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/invocation.rb
   91 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/nested_context.rb
   92 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/parser/argument.rb
   93 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
   94 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/parser/option.rb
   95 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/parser/options.rb
   96 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/parser.rb
   97 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell.rb
   98 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb
   99 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb
  100 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/line_editor.rb
  101 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/util.rb
  102 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/base.rb
  103 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor.rb
  104 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendored_thor.rb
  105 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/ui/shell.rb
  106 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/terminal.rb
  107 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/column_printer.rb
  108 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb
  109 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb
  110 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/basic.rb
  111 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/thor/lib/thor/shell/color.rb
  112 /usr/lib/ruby/vendor_ruby/rubygems/user_interaction.rb
  113 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/ui/rg_proxy.rb
  114 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/feature_flag.rb
  115 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source.rb
  116 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source/path.rb
  117 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source/git.rb
  118 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source/rubygems.rb
  119 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/lockfile_parser.rb
  120 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/definition.rb
  121 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/dependency.rb
  122 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/ruby_dsl.rb
  123 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/dsl.rb
  124 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source_list.rb
  125 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source/metadata.rb
  126 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/checksum.rb
  127 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/uri_normalizer.rb
  128 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/version.rb
  129 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb
  130 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb
  131 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/common.rb
  132 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/generic.rb
  133 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/file.rb
  134 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/ftp.rb
  135 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/http.rb
  136 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/https.rb
  137 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/ldap.rb
  138 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/ldaps.rb
  139 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/mailto.rb
  140 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/ws.rb
  141 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri/wss.rb
  142 /usr/lib/ruby/vendor_ruby/rubygems/vendor/uri/lib/uri.rb
  143 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendored_uri.rb
  144 /usr/lib/ruby/3.3.0/psych/versions.rb
  145 /usr/lib/ruby/3.3.0/psych/exception.rb
  146 /usr/lib/ruby/3.3.0/psych/syntax_error.rb
  147 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
  148 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
  149 /usr/lib/ruby/3.3.0/psych/omap.rb
  150 /usr/lib/ruby/3.3.0/psych/set.rb
  151 /usr/lib/ruby/3.3.0/psych/class_loader.rb
  152 /usr/lib/ruby/3.3.0/psych/scalar_scanner.rb
  153 /usr/lib/ruby/3.3.0/psych/nodes/node.rb
  154 /usr/lib/ruby/3.3.0/psych/nodes/stream.rb
  155 /usr/lib/ruby/3.3.0/psych/nodes/document.rb
  156 /usr/lib/ruby/3.3.0/psych/nodes/sequence.rb
  157 /usr/lib/ruby/3.3.0/psych/nodes/scalar.rb
  158 /usr/lib/ruby/3.3.0/psych/nodes/mapping.rb
  159 /usr/lib/ruby/3.3.0/psych/nodes/alias.rb
  160 /usr/lib/ruby/3.3.0/psych/nodes.rb
  161 /usr/lib/ruby/3.3.0/psych/streaming.rb
  162 /usr/lib/ruby/3.3.0/psych/visitors/visitor.rb
  163 /usr/lib/ruby/3.3.0/psych/visitors/to_ruby.rb
  164 /usr/lib/ruby/3.3.0/psych/visitors/emitter.rb
  165 /usr/lib/ruby/3.3.0/psych/handler.rb
  166 /usr/lib/ruby/3.3.0/psych/tree_builder.rb
  167 /usr/lib/ruby/3.3.0/psych/visitors/yaml_tree.rb
  168 /usr/lib/ruby/3.3.0/psych/json/ruby_events.rb
  169 /usr/lib/ruby/3.3.0/psych/visitors/json_tree.rb
  170 /usr/lib/ruby/3.3.0/psych/visitors/depth_first.rb
  171 /usr/lib/ruby/3.3.0/psych/visitors.rb
  172 /usr/lib/ruby/3.3.0/psych/parser.rb
  173 /usr/lib/ruby/3.3.0/psych/coder.rb
  174 /usr/lib/ruby/3.3.0/psych/core_ext.rb
  175 /usr/lib/ruby/3.3.0/psych/stream.rb
  176 /usr/lib/ruby/3.3.0/psych/json/yaml_events.rb
  177 /usr/lib/ruby/3.3.0/psych/json/tree_builder.rb
  178 /usr/lib/ruby/3.3.0/psych/json/stream.rb
  179 /usr/lib/ruby/3.3.0/psych/handlers/document_stream.rb
  180 /usr/lib/ruby/3.3.0/psych.rb
  181 /usr/lib/ruby/3.3.0/yaml.rb
  182 /usr/lib/ruby/3.3.0/open3/version.rb
  183 /usr/lib/ruby/3.3.0/open3.rb
  184 /root/Desktop/metasploit-framework/lib/metasploit/framework/version.rb
  185 /root/Desktop/metasploit-framework/lib/metasploit/framework/rails_version_constraint.rb
  186 /root/Desktop/metasploit-framework/lib/msf/util/helper.rb
  187 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/source/gemspec.rb
  188 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/lazy_specification.rb
  189 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendor/tsort/lib/tsort.rb
  190 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/vendored_tsort.rb
  191 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/spec_set.rb
  192 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/index.rb
  193 /usr/lib/ruby/vendor_ruby/rubygems/specification_policy.rb
  194 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/match_remote_metadata.rb
  195 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/remote_specification.rb
  196 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/runtime.rb
  197 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/endpoint_specification.rb
  198 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/stub_specification.rb
  199 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/ruby_version.rb
  200 /var/lib/gems/3.3.0/gems/bundler-2.5.10/lib/bundler/setup.rb
  201 /usr/lib/ruby/3.3.0/digest/version.rb
  202 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
  203 /usr/lib/ruby/3.3.0/digest/loader.rb
  204 /usr/lib/ruby/3.3.0/digest.rb
  205 /usr/lib/ruby/3.3.0/fileutils.rb
  206 /usr/lib/ruby/3.3.0/delegate.rb
  207 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
  208 /usr/lib/ruby/3.3.0/tmpdir.rb
  209 /usr/lib/ruby/3.3.0/tempfile.rb
  210 /var/lib/gems/3.3.0/gems/rex-core-0.1.34/lib/rex/compat.rb
  211 /root/Desktop/metasploit-framework/lib/msf/base/config.rb
  212 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/version.rb
  213 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bundler.rb
  214 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/explicit_require.rb
  215 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/path_scanner.rb
  216 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/path.rb
  217 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/cache.rb
  218 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/version.rb
  219 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
  220 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/buffer.rb
  221 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/packer.rb
  222 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/unpacker.rb
  223 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/factory.rb
  224 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/symbol.rb
  225 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/core_ext.rb
  226 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/timestamp.rb
  227 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/time.rb
  228 /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack.rb
  229 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/store.rb
  230 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/change_observer.rb
  231 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/loaded_features_index.rb
  232 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache.rb
  233 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/compile_cache.rb
  234 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap.rb
  235 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
  236 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
  237 /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
  238 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb
  239 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
  240 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
  241 /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/compile_cache/json.rb
  242 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/version.rb
  243 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/common.rb
  244 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
  245 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator/state.rb
  246 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
  247 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext.rb
  248 /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json.rb
  249 /root/Desktop/metasploit-framework/config/boot.rb
  250 /root/Desktop/metasploit-framework/lib/metasploit/framework/profiler.rb
  251 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
  252 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/version.rb
  253 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/call_tree.rb
  254 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/compatibility.rb
  255 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/measurement.rb
  256 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/method_info.rb
  257 /usr/lib/ruby/3.3.0/set.rb
  258 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/exclude_common_methods.rb
  259 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/profile.rb
  260 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/rack.rb
  261 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof/thread.rb
  262 /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby-prof.rb

* Process memory map:

55c68b257000-55c68b258000 r--p 00000000 08:01 141007                     /usr/bin/ruby3.3
55c68b258000-55c68b259000 r-xp 00001000 08:01 141007                     /usr/bin/ruby3.3
55c68b259000-55c68b25a000 r--p 00002000 08:01 141007                     /usr/bin/ruby3.3
55c68b25a000-55c68b25b000 r--p 00002000 08:01 141007                     /usr/bin/ruby3.3
55c68b25b000-55c68b25c000 rw-p 00003000 08:01 141007                     /usr/bin/ruby3.3
55c68c238000-55c68d170000 rw-p 00000000 00:00 0                          [heap]
7f8dc8000000-7f8dc8021000 rw-p 00000000 00:00 0 
7f8dc8021000-7f8dcc000000 ---p 00000000 00:00 0 
7f8dcc000000-7f8dcc021000 rw-p 00000000 00:00 0 
7f8dcc021000-7f8dd0000000 ---p 00000000 00:00 0 
7f8dd2e00000-7f8dd32d1000 rw-p 00000000 00:00 0 
7f8dd3400000-7f8dd381f000 r--s 00000000 08:01 580433                     /usr/lib/debug/.build-id/6d/dbbd10814123f5262ef7c297f7a41ada9ea16a.debug
7f8dd3a00000-7f8dd3e5c000 r--s 00000000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8dd4000000-7f8dd4021000 rw-p 00000000 00:00 0 
7f8dd4021000-7f8dd8000000 ---p 00000000 00:00 0 
7f8dd815b000-7f8dd8345000 r--s 00000000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8dd8345000-7f8dd8349000 r--p 00000000 08:01 262625                     /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7f8dd8349000-7f8dd836c000 r-xp 00004000 08:01 262625                     /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7f8dd836c000-7f8dd8370000 r--p 00027000 08:01 262625                     /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7f8dd8370000-7f8dd8371000 r--p 0002b000 08:01 262625                     /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7f8dd8371000-7f8dd8372000 rw-p 0002c000 08:01 262625                     /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7f8dd83a0000-7f8dd87f0000 rw-p 00000000 00:00 0 
7f8dd87fe000-7f8dd87ff000 ---p 00000000 00:00 0 
7f8dd87ff000-7f8dd88ff000 rw-p 00000000 00:00 0 
7f8dd88ff000-7f8dd8900000 ---p 00000000 00:00 0 
7f8dd8900000-7f8dd8a00000 rw-p 00000000 00:00 0 
7f8dd8a00000-7f8dd8a01000 ---p 00000000 00:00 0 
7f8dd8a01000-7f8dd8aa2000 rw-p 00000000 00:00 0 
7f8dd8aa2000-7f8dd8aa3000 ---p 00000000 00:00 0 
7f8dd8aa3000-7f8dd8b44000 rw-p 00000000 00:00 0 
7f8dd8b44000-7f8dd8b45000 ---p 00000000 00:00 0 
7f8dd8b45000-7f8dd8be6000 rw-p 00000000 00:00 0 
7f8dd8be6000-7f8dd8be7000 ---p 00000000 00:00 0 
7f8dd8be7000-7f8dd8c88000 rw-p 00000000 00:00 0 
7f8dd8c88000-7f8dd8c89000 ---p 00000000 00:00 0 
7f8dd8c89000-7f8dd8d2a000 rw-p 00000000 00:00 0 
7f8dd8d2a000-7f8dd8d2b000 ---p 00000000 00:00 0 
7f8dd8d2b000-7f8dd8dcc000 rw-p 00000000 00:00 0 
7f8dd8dcc000-7f8dd8dcd000 ---p 00000000 00:00 0 
7f8dd8dcd000-7f8dd8e6e000 rw-p 00000000 00:00 0 
7f8dd8e6e000-7f8dd8e6f000 ---p 00000000 00:00 0 
7f8dd8e6f000-7f8dd8f10000 rw-p 00000000 00:00 0 
7f8dd8f10000-7f8dd8f11000 ---p 00000000 00:00 0 
7f8dd8f11000-7f8dd8fb2000 rw-p 00000000 00:00 0 
7f8dd8fb2000-7f8dd8fb3000 ---p 00000000 00:00 0 
7f8dd8fb3000-7f8dd9054000 rw-p 00000000 00:00 0 
7f8dd9054000-7f8dd9055000 ---p 00000000 00:00 0 
7f8dd9055000-7f8dd90f6000 rw-p 00000000 00:00 0 
7f8dd90f6000-7f8dd90f7000 ---p 00000000 00:00 0 
7f8dd90f7000-7f8dd9198000 rw-p 00000000 00:00 0 
7f8dd9198000-7f8dd9199000 ---p 00000000 00:00 0 
7f8dd9199000-7f8dd923a000 rw-p 00000000 00:00 0 
7f8dd923a000-7f8dd923b000 ---p 00000000 00:00 0 
7f8dd923b000-7f8dd92dc000 rw-p 00000000 00:00 0 
7f8dd92dc000-7f8dd92dd000 ---p 00000000 00:00 0 
7f8dd92dd000-7f8dd937e000 rw-p 00000000 00:00 0 
7f8dd937e000-7f8dd937f000 ---p 00000000 00:00 0 
7f8dd937f000-7f8dd9420000 rw-p 00000000 00:00 0 
7f8dd9420000-7f8dd9421000 ---p 00000000 00:00 0 
7f8dd9421000-7f8dd94c2000 rw-p 00000000 00:00 0 
7f8dd94c2000-7f8dd94c3000 ---p 00000000 00:00 0 
7f8dd94c3000-7f8dd9564000 rw-p 00000000 00:00 0 
7f8dd9564000-7f8dd9565000 ---p 00000000 00:00 0 
7f8dd9565000-7f8dd9606000 rw-p 00000000 00:00 0 
7f8dd9606000-7f8dd9607000 ---p 00000000 00:00 0 
7f8dd9607000-7f8dd96a8000 rw-p 00000000 00:00 0 
7f8dd96a8000-7f8dd96a9000 ---p 00000000 00:00 0 
7f8dd96a9000-7f8dd974a000 rw-p 00000000 00:00 0 
7f8dd974a000-7f8dd974b000 ---p 00000000 00:00 0 
7f8dd974b000-7f8dd97ec000 rw-p 00000000 00:00 0 
7f8dd97ec000-7f8dd97ed000 ---p 00000000 00:00 0 
7f8dd97ed000-7f8dd988e000 rw-p 00000000 00:00 0 
7f8dd988e000-7f8dd988f000 ---p 00000000 00:00 0 
7f8dd988f000-7f8dd9930000 rw-p 00000000 00:00 0 
7f8dd9930000-7f8dd9931000 ---p 00000000 00:00 0 
7f8dd9931000-7f8dd99d2000 rw-p 00000000 00:00 0 
7f8dd99d2000-7f8dd99d3000 ---p 00000000 00:00 0 
7f8dd99d3000-7f8dd9a74000 rw-p 00000000 00:00 0 
7f8dd9a74000-7f8dd9a75000 ---p 00000000 00:00 0 
7f8dd9a75000-7f8dd9b16000 rw-p 00000000 00:00 0 
7f8dd9b16000-7f8dd9b17000 ---p 00000000 00:00 0 
7f8dd9b17000-7f8dd9bb8000 rw-p 00000000 00:00 0 
7f8dd9bb8000-7f8dd9bb9000 ---p 00000000 00:00 0 
7f8dd9bb9000-7f8dd9c5a000 rw-p 00000000 00:00 0 
7f8dd9c5a000-7f8dd9c5b000 ---p 00000000 00:00 0 
7f8dd9c5b000-7f8dd9cfc000 rw-p 00000000 00:00 0 
7f8dd9cfc000-7f8dd9cfd000 ---p 00000000 00:00 0 
7f8dd9cfd000-7f8dd9d9e000 rw-p 00000000 00:00 0 
7f8dd9d9e000-7f8dd9d9f000 ---p 00000000 00:00 0 
7f8dd9d9f000-7f8dd9e40000 rw-p 00000000 00:00 0 
7f8dd9e50000-7f8dd9ef0000 rw-p 00000000 00:00 0 
7f8dd9eff000-7f8dd9f00000 ---p 00000000 00:00 0 
7f8dd9f00000-7f8dda000000 rw-p 00000000 00:00 0 
7f8dda000000-7f8dda001000 ---p 00000000 00:00 0 
7f8dda001000-7f8dda801000 rw-p 00000000 00:00 0 
7f8dda803000-7f8dda808000 r--p 00000000 08:01 1079089                    /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
7f8dda808000-7f8dda810000 r-xp 00005000 08:01 1079089                    /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
7f8dda810000-7f8dda813000 r--p 0000d000 08:01 1079089                    /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
7f8dda813000-7f8dda814000 r--p 00010000 08:01 1079089                    /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
7f8dda814000-7f8dda815000 rw-p 00011000 08:01 1079089                    /var/lib/gems/3.3.0/gems/ruby-prof-1.4.2/lib/ruby_prof.so
7f8dda815000-7f8dda817000 r--p 00000000 08:01 1098346                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
7f8dda817000-7f8dda81c000 r-xp 00002000 08:01 1098346                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
7f8dda81c000-7f8dda81e000 r--p 00007000 08:01 1098346                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
7f8dda81e000-7f8dda81f000 r--p 00008000 08:01 1098346                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
7f8dda81f000-7f8dda820000 rw-p 00009000 08:01 1098346                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/generator.so
7f8dda820000-7f8dda850000 rw-p 00000000 00:00 0 
7f8dda851000-7f8dda853000 r--p 00000000 08:01 264525                     /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.9
7f8dda853000-7f8dda86c000 r-xp 00002000 08:01 264525                     /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.9
7f8dda86c000-7f8dda870000 r--p 0001b000 08:01 264525                     /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.9
7f8dda870000-7f8dda871000 r--p 0001e000 08:01 264525                     /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.9
7f8dda871000-7f8dda872000 rw-p 0001f000 08:01 264525                     /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.9
7f8dda87a000-7f8dda87d000 r--p 00000000 08:01 1055997                    /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
7f8dda87d000-7f8dda88a000 r-xp 00003000 08:01 1055997                    /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
7f8dda88a000-7f8dda88e000 r--p 00010000 08:01 1055997                    /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
7f8dda88e000-7f8dda88f000 r--p 00013000 08:01 1055997                    /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
7f8dda88f000-7f8dda890000 rw-p 00014000 08:01 1055997                    /var/lib/gems/3.3.0/gems/msgpack-1.6.1/lib/msgpack/msgpack.so
7f8dda890000-7f8df3e00000 rw-p 00000000 00:00 0 
7f8df3e06000-7f8df3e08000 r--p 00000000 08:01 1098351                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
7f8df3e08000-7f8df3e0c000 r-xp 00002000 08:01 1098351                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
7f8df3e0c000-7f8df3e0e000 r--p 00006000 08:01 1098351                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
7f8df3e0e000-7f8df3e0f000 r--p 00007000 08:01 1098351                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
7f8df3e0f000-7f8df3e10000 rw-p 00008000 08:01 1098351                    /var/lib/gems/3.3.0/gems/json-2.10.2/lib/json/ext/parser.so
7f8df3e10000-7f8df3e60000 rw-p 00000000 00:00 0 
7f8df3e65000-7f8df3e67000 r--p 00000000 08:01 527069                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
7f8df3e67000-7f8df3e6c000 r-xp 00002000 08:01 527069                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
7f8df3e6c000-7f8df3e6e000 r--p 00007000 08:01 527069                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
7f8df3e6e000-7f8df3e6f000 r--p 00008000 08:01 527069                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
7f8df3e6f000-7f8df3e70000 rw-p 00009000 08:01 527069                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/stringio.so
7f8df3e70000-7f8df3f50000 rw-p 00000000 00:00 0 
7f8df3f56000-7f8df3f58000 r--p 00000000 08:01 526889                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
7f8df3f58000-7f8df3f5b000 r-xp 00002000 08:01 526889                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
7f8df3f5b000-7f8df3f5c000 r--p 00005000 08:01 526889                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
7f8df3f5c000-7f8df3f5d000 r--p 00006000 08:01 526889                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
7f8df3f5d000-7f8df3f5e000 rw-p 00007000 08:01 526889                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/psych.so
7f8df3f64000-7f8df3f65000 r--p 00000000 08:01 1085825                    /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
7f8df3f65000-7f8df3f68000 r-xp 00001000 08:01 1085825                    /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
7f8df3f68000-7f8df3f69000 r--p 00004000 08:01 1085825                    /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
7f8df3f69000-7f8df3f6a000 r--p 00004000 08:01 1085825                    /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
7f8df3f6a000-7f8df3f6b000 rw-p 00005000 08:01 1085825                    /var/lib/gems/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so
7f8df3f6b000-7f8df3f6c000 r--p 00000000 08:01 526682                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
7f8df3f6c000-7f8df3f6d000 r-xp 00001000 08:01 526682                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
7f8df3f6d000-7f8df3f6e000 r--p 00002000 08:01 526682                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
7f8df3f6e000-7f8df3f6f000 r--p 00002000 08:01 526682                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
7f8df3f6f000-7f8df3f70000 rw-p 00003000 08:01 526682                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16be.so
7f8df3f70000-7f8df3fb0000 rw-p 00000000 00:00 0 
7f8df3fb1000-7f8df3fb2000 r--p 00000000 08:01 526685                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
7f8df3fb2000-7f8df3fb3000 r-xp 00001000 08:01 526685                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
7f8df3fb3000-7f8df3fb4000 r--p 00002000 08:01 526685                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
7f8df3fb4000-7f8df3fb5000 r--p 00002000 08:01 526685                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
7f8df3fb5000-7f8df3fb6000 rw-p 00003000 08:01 526685                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/utf_16le.so
7f8df3fb6000-7f8df3fb8000 r--p 00000000 08:01 526726                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
7f8df3fb8000-7f8df3fbb000 r-xp 00002000 08:01 526726                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
7f8df3fbb000-7f8df3fbd000 r--p 00005000 08:01 526726                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
7f8df3fbd000-7f8df3fbe000 r--p 00006000 08:01 526726                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
7f8df3fbe000-7f8df3fbf000 rw-p 00007000 08:01 526726                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/etc.so
7f8df3fbf000-7f8df40c0000 rw-p 00000000 00:00 0 
7f8df40c0000-7f8df411a000 r--p 00000000 08:01 662742                     /usr/lib/locale/aa_DJ.utf8/LC_CTYPE
7f8df411a000-7f8df4142000 r--p 00000000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8df4142000-7f8df42a7000 r-xp 00028000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8df42a7000-7f8df42fd000 r--p 0018d000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8df42fd000-7f8df4301000 r--p 001e2000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8df4301000-7f8df4303000 rw-p 001e6000 08:01 262809                     /usr/lib/x86_64-linux-gnu/libc.so.6
7f8df4303000-7f8df4310000 rw-p 00000000 00:00 0 
7f8df4310000-7f8df4321000 r--p 00000000 08:01 263376                     /usr/lib/x86_64-linux-gnu/libm.so.6
7f8df4321000-7f8df439e000 r-xp 00011000 08:01 263376                     /usr/lib/x86_64-linux-gnu/libm.so.6
7f8df439e000-7f8df43fe000 r--p 0008e000 08:01 263376                     /usr/lib/x86_64-linux-gnu/libm.so.6
7f8df43fe000-7f8df43ff000 r--p 000ed000 08:01 263376                     /usr/lib/x86_64-linux-gnu/libm.so.6
7f8df43ff000-7f8df4400000 rw-p 000ee000 08:01 263376                     /usr/lib/x86_64-linux-gnu/libm.so.6
7f8df4400000-7f8df443d000 r--p 00000000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8df443d000-7f8df46fa000 r-xp 0003d000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8df46fa000-7f8df484b000 r--p 002fa000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8df484b000-7f8df485b000 r--p 0044a000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8df485b000-7f8df485c000 rw-p 0045a000 08:01 265850                     /usr/lib/x86_64-linux-gnu/libruby-3.3.so.3.3.7
7f8df485c000-7f8df4870000 rw-p 00000000 00:00 0 
7f8df4870000-7f8df4871000 r--p 00000000 08:01 525806                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
7f8df4871000-7f8df4872000 r-xp 00001000 08:01 525806                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
7f8df4872000-7f8df4873000 r--p 00002000 08:01 525806                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
7f8df4873000-7f8df4874000 r--p 00002000 08:01 525806                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
7f8df4874000-7f8df4875000 rw-p 00003000 08:01 525806                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest/md5.so
7f8df4875000-7f8df4877000 r--p 00000000 08:01 526887                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
7f8df4877000-7f8df487c000 r-xp 00002000 08:01 526887                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
7f8df487c000-7f8df487e000 r--p 00007000 08:01 526887                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
7f8df487e000-7f8df487f000 r--p 00008000 08:01 526887                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
7f8df487f000-7f8df4880000 rw-p 00009000 08:01 526887                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/pathname.so
7f8df4880000-7f8df48b0000 rw-p 00000000 00:00 0 
7f8df48b0000-7f8df48b2000 r--p 00000000 08:01 526520                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
7f8df48b2000-7f8df48b4000 r-xp 00002000 08:01 526520                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
7f8df48b4000-7f8df48b5000 r--p 00004000 08:01 526520                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
7f8df48b5000-7f8df48b6000 r--p 00004000 08:01 526520                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
7f8df48b6000-7f8df48b7000 rw-p 00005000 08:01 526520                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/digest.so
7f8df48b7000-7f8df48bc000 rw-p 00000000 00:00 0 
7f8df48bc000-7f8df48be000 r--p 00000000 08:01 262937                     /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f8df48be000-7f8df48d4000 r-xp 00002000 08:01 262937                     /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f8df48d4000-7f8df48ee000 r--p 00018000 08:01 262937                     /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f8df48ee000-7f8df48ef000 r--p 00031000 08:01 262937                     /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f8df48ef000-7f8df48f0000 rw-p 00032000 08:01 262937                     /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7f8df48f0000-7f8df48f8000 rw-p 00000000 00:00 0 
7f8df48f8000-7f8df4904000 r--p 00000000 08:01 262528                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
7f8df4904000-7f8df4969000 r-xp 0000c000 08:01 262528                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
7f8df4969000-7f8df4980000 r--p 00071000 08:01 262528                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
7f8df4980000-7f8df4981000 r--p 00088000 08:01 262528                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
7f8df4981000-7f8df4982000 rw-p 00089000 08:01 262528                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.5.0
7f8df4982000-7f8df4985000 r--p 00000000 08:01 266859                     /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7f8df4985000-7f8df4999000 r-xp 00003000 08:01 266859                     /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7f8df4999000-7f8df49a0000 r--p 00017000 08:01 266859                     /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7f8df49a0000-7f8df49a1000 r--p 0001d000 08:01 266859                     /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7f8df49a1000-7f8df49a2000 rw-p 0001e000 08:01 266859                     /usr/lib/x86_64-linux-gnu/libz.so.1.3.1
7f8df49a6000-7f8df49a7000 r--p 00000000 08:01 526881                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
7f8df49a7000-7f8df49a8000 r-xp 00001000 08:01 526881                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
7f8df49a8000-7f8df49a9000 r--p 00002000 08:01 526881                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
7f8df49a9000-7f8df49aa000 r--p 00002000 08:01 526881                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
7f8df49aa000-7f8df49ab000 rw-p 00003000 08:01 526881                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/monitor.so
7f8df49ab000-7f8df49ac000 r--p 00000000 08:01 526677                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
7f8df49ac000-7f8df49ad000 r-xp 00001000 08:01 526677                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
7f8df49ad000-7f8df49ae000 r--p 00002000 08:01 526677                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
7f8df49ae000-7f8df49af000 r--p 00002000 08:01 526677                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
7f8df49af000-7f8df49b0000 rw-p 00003000 08:01 526677                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/trans/transdb.so
7f8df49b0000-7f8df49c0000 rw-p 00000000 00:00 0 
7f8df49c0000-7f8df49c4000 r--s 00000000 08:01 141007                     /usr/bin/ruby3.3
7f8df49c4000-7f8df49c5000 r--p 00000000 08:01 526545                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
7f8df49c5000-7f8df49c6000 r-xp 00001000 08:01 526545                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
7f8df49c6000-7f8df49c7000 r--p 00002000 08:01 526545                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
7f8df49c7000-7f8df49c8000 r--p 00002000 08:01 526545                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
7f8df49c8000-7f8df49c9000 rw-p 00003000 08:01 526545                     /usr/lib/x86_64-linux-gnu/ruby/3.3.0/enc/encdb.so
7f8df49c9000-7f8df49d0000 r--s 00000000 08:01 675317                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f8df49d0000-7f8df49d2000 rw-p 00000000 00:00 0 
7f8df49d2000-7f8df49d3000 r--p 00000000 08:01 262348                     /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7f8df49d3000-7f8df49fb000 r-xp 00001000 08:01 262348                     /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7f8df49fb000-7f8df4a06000 r--p 00029000 08:01 262348                     /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7f8df4a06000-7f8df4a08000 r--p 00034000 08:01 262348                     /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7f8df4a08000-7f8df4a09000 rw-p 00036000 08:01 262348                     /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
7f8df4a09000-7f8df4a0a000 rw-p 00000000 00:00 0 
7fff33bb6000-7fff343b5000 rw-p 00000000 00:00 0                          [stack]
7fff343f9000-7fff343fd000 r--p 00000000 00:00 0                          [vvar]
7fff343fd000-7fff343ff000 r-xp 00000000 00:00 0                          [vdso]


Segmentation fault

@adfoster-r7
Copy link
Contributor

Thanks! That'll be fixed by #20168 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants