Created
April 25, 2015 10:07
-
-
Save radare/7a98953de8f7d4b242ad to your computer and use it in GitHub Desktop.
v8chat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21:15 < pancake> looks like To*() methods have been deprecated in latest v8.. how can I replace them? | |
21:16 < caitp> you mean the "Use maybe version" deprecation warning? | |
21:16 < pancake> yes | |
21:16 < pancake> well, i dont get that warning i just get an undefined symbol | |
21:16 < pancake> which is a bit more anoying | |
21:17 < caitp> an undefined symbol, as in a linker error? | |
21:17 < pancake> node: symbol lookup error: | |
/home/pancake/Sync/private/frida-dumper/node_modules/frida/lib/binding/Release/node-v14-linux-x64/frida_binding.node: undefined | |
symbol: _ZNK2v85Value7ToInt32EPNS_7IsolateE | |
21:17 < pancake> yes | |
21:18 < caitp> that sounds like a node-gyp issue | |
21:18 < caitp> anyway, bnoordhuis or domenic know more about that | |
21:18 < pancake> but those methods are going to be deprecated, right? | |
21:19 < caitp> recently, the old To* methods in the api were deprecated, in favour of versions which let you write exception-safe code | |
21:19 < caitp> so the same methods are still available, just in a slightly different form | |
21:19 < pancake> any example? | |
21:20 < caitp> the new exception safe ones return a MaybeLocal<> handle instead of a Local<> handle (so you know an error occurred if | |
handle.is_null() is true, if it's like the internal Maybe* handles) | |
21:20 < caitp> and you have to pass a Local<Context> to the methods | |
21:20 < caitp> i'm not sure if that's what you're running into, because those methods should still be available | |
21:20 < caitp> linker error seems like a different issue | |
21:21 < caitp> anyway, it's friday night, i'm gonna pack it up for now | |
21:21 < caitp> you should come back when ben noordhuis is around, he knows a lot about the embedding stuff | |
21:23 < pancake> ok | |
21:24 < pancake> will try on monday then | |
21:24 < pancake> or maybe sunday | |
21:24 < pancake> thanks anyway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment