Skip to content

Commit

Permalink
Skip intern_str
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Nov 9, 2023
1 parent 379a433 commit 6c4e169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_memcheck/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Configuration
DEFAULT_VALGRIND_SUPPRESSIONS_DIR = "suppressions"
DEFAULT_SKIPPED_RUBY_FUNCTIONS = [
/\Aeval_string_with_cref\z/,
/\Aintern_str\z/, # Same as rb_intern, but sometimes rb_intern is optimized out
/\Arb_add_method_cfunc\z/,
/\Arb_check_funcall/,
/\Arb_class_boot\z/, # Called for all the different ways to create a Class
Expand Down

0 comments on commit 6c4e169

Please sign in to comment.