Skip to content

Fatal error in , line 0. Check failed: index < size() #22

@loqstrz

Description

@loqstrz

Hey, upon trying to deobfuscate a JSC file, I get the following error:

C:\Users\th\Desktop\d8-13.8.258.32-windows>d8.exe
V8 version 13.8.258.32
d8> loadjsc('C:/Users/th/Desktop/d8-13.8.258.32-windows/obf_code_2.jsc')


#
# Fatal error in , line 0
# Check failed: index < size().
#
#
#
#FailureMessage Object: 0000007D9CBFE460
==== C stack trace ===============================

        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea25e5eb+9055483]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea1d3e37+8488263]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea1c9677+8445319]
        (No symbol) [0x0x7ff7e94154d2]
        (No symbol) [0x0x7ff7e93dbddf]
        (No symbol) [0x0x7ff7e9550047]
        (No symbol) [0x0x7ff7e955c658]
        (No symbol) [0x0x7ff7e955c56d]
        (No symbol) [0x0x7ff7e954acd4]
        (No symbol) [0x0x7ff7e8e617b6]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea37bdb4+10224836]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea379fb5+10217157]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea376d9c+10204332]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea3768ff+10203151]
        (No symbol) [0x0x7ff7e90424fb]
        (No symbol) [0x0x7ff7e9042cb2]
        (No symbol) [0x0x7ff7e8ee0ce4]
        (No symbol) [0x0x7ff7e8ee0a6d]
        (No symbol) [0x0x7ff7e8e5592c]
        (No symbol) [0x0x7ff7e8e6d7d9]
        (No symbol) [0x0x7ff7e8e735cf]
        CrashForExceptionInNonABICompliantCodeRange [0x0x7ff7ea560138+12208200]
        BaseThreadInitThunk [0x0x7ffc7d2f7034+20]
        RtlUserThreadStart [0x0x7ffc7da026a1+33]

The custom view8 I used can be found here: https://github.com/xqy2006/jsc2js/

I used https://github.com/j4k0xb/v8-version-analyzer to figure out what version to use. I also used other versions and the same output is appearing. The JSC is part of an electron application.

When just using view8 with python view8.py input_file output_file it is telling me that it did decompile 0 functions.

Not sure why these things happen but I'd be more than happy to connect with you over email or discord and send over the sample to analyze.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions