Skip to content

Commit

Permalink
Merge pull request #28 from Shopify/skip-intern-str
Browse files Browse the repository at this point in the history
Skip intern_str
  • Loading branch information
peterzhu2118 authored Nov 9, 2023
2 parents 379a433 + 6c4e169 commit 53c3ad1
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 53c3ad1

Please sign in to comment.