Bug 143717 - Add JSC_functionOverrides=<overrides file> debugging tool
Summary: Add JSC_functionOverrides=<overrides file> debugging tool
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-14 10:39 PDT by Mark Lam
Modified: 2015-04-16 13:03 PDT (History)
8 users (show)

See Also:


Attachments
the patch. (28.23 KB, patch)
2015-04-14 10:54 PDT, Mark Lam
no flags Details | Formatted Diff | Diff
patch 2: fix EFL, GTK, and Win build failures. (28.23 KB, patch)
2015-04-14 11:31 PDT, Mark Lam
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2015-04-14 10:39:42 PDT
This tool allows us to do runtime replacement of function bodies with alternatives for debugging purposes.  For example, this is useful when we need to debug VM bugs which manifest in scripts executing in webpages downloaded from remote servers that we don't control.  The tool allows us to augment those scripts with logging or test code to help isolate the bugs.
Comment 1 Mark Lam 2015-04-14 10:54:28 PDT
Created attachment 250717 [details]
the patch.
Comment 2 Mark Lam 2015-04-14 11:31:25 PDT
Created attachment 250718 [details]
patch 2: fix EFL, GTK, and Win build failures.
Comment 3 Geoffrey Garen 2015-04-16 12:41:02 PDT
Comment on attachment 250718 [details]
patch 2: fix EFL, GTK, and Win build failures.

r=me
Comment 4 Mark Lam 2015-04-16 13:03:26 PDT
Thanks for the review.  I really appreciate it.

Landed in r182903: <http://trac.webkit.org/r182903>.