I've tried using the flags.(I think I've done this earlier with 3 other
flags, I presume)
Still, the output doesn't seem be unobfuscated/original.
for example:

1.with (arguments[2]) { with (arguments[1]) { with (arguments[0]) { return
(function (event) { return true; }); } } }
2.%InitializeVarGlobal("path", 0, "/up/start/");  %InitializeVarGlobal
("loggedOutMsg", 0, "You need to be logged in and upgraded to Google+ to
access this page.");  if ((((window).iframes).iframer &&
(((window).iframes).iframer).onInfo)) { .result =
(((window).iframes).iframer).onInfo(3, loggedOutMsg, {  "path": path }); }
return .result;
3.c = ((("function" == (typeof(_).fc)) && (0 , (_).fc)(a, c)) || c); (0 ,
(_).Xb)(a, c, (_).m); d =init_var c;  if ((_).Pb[a]) { e =init_var
(_).Pb[a];  (delete(_).Pb[a]); e(d); }

The 'with', '%initializeVarGlobal', 'init_var' are all v8 generated.
I would like to find the file in chromium where the scripts are passed
initially and I can print these scripts from there.

Thanks for your time.


On Fri, Jul 27, 2012 at 3:53 AM, Yang Guo <[email protected]> wrote:

> V8 provides a flag to print every javascript source code compiled in V8.
> If you run chromium with --js-flags="--print-source", this flag should be
> turned on. I hope this helps.
>
> Yang
>
>
> On Thursday, July 26, 2012 9:47:10 AM UTC+2, Sasquatch wrote:
>>
>>  I've been trying to print the scripts that the chromium browser executes
>> I've tried to print the code from v8/src/compiler.cc but the code seems
>> to be minified by other files like
>>        Source/WebCore/bindings/v8/**V8LazyEventListener.cpp
>> i.e
>>        String code = "(function (evt) {" \
>>             "with (this.ownerDocument ? this.ownerDocument : {}) {" \
>>             "with (this.form ? this.form : {}) {" \
>>             "with (this) {" \
>>             "return (function(evt){";
>>     code.append(m_code);
>>
>> Can you point me the exact files where the obfuscated/original  code is
>> actually passed to chromium browser
>>
>> Thanks for your time.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to