{"id":30098,"date":"2017-10-15T14:33:30","date_gmt":"2017-10-15T07:33:30","guid":{"rendered":"http:\/\/deepquest.code511.com\/blog\/2017\/10\/microsoft-edge-chakra-jit-failed-regexhelperstringreplace-call\/"},"modified":"2017-10-15T14:33:30","modified_gmt":"2017-10-15T07:33:30","slug":"microsoft-edge-chakra-jit-failed-regexhelperstringreplace-call","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2017\/10\/microsoft-edge-chakra-jit-failed-regexhelperstringreplace-call\/","title":{"rendered":"Microsoft Edge Chakra JIT Failed RegexHelper::StringReplace Call"},"content":{"rendered":"<p>The &#8220;String.prototype.replace&#8221; method can be inlined in the JIT process. So in the method, all the calls which may break the JIT assumptions must be invoked with updating &#8220;ImplicitCallFlags&#8221;. But &#8220;RegexHelper::StringReplace&#8221; calls the replace function without updating the flag. Therefore it fails to detect if a user function was called.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;String.prototype.replace&#8221; method can be inlined in the JIT process. So in the method, all the calls which may break the JIT assumptions must be invoked with updating &#8220;ImplicitCallFlags&#8221;. But&#8230;<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-30098","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-7Ps","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/30098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=30098"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/30098\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=30098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=30098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=30098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}