ghidra_nodejs icon indicating copy to clipboard operation
ghidra_nodejs copied to clipboard

Bug No Function

Open Hikrauzz opened this issue 4 years ago • 6 comments

It didn't work for me, i tried this jsc and i get no Function

index.zip

Hikrauzz avatar May 05 '21 01:05 Hikrauzz

same error.

avinashega avatar May 17 '21 09:05 avinashega

same error.
File formats cannot be identified when importing files,only "Raw Binary" can select. main.src.zip pic

tomqyp avatar Jun 16 '21 01:06 tomqyp

same for me. guess this is because V8 version is not 6.2.414.77. I selected a language like this but could not get any result. image

3DGISKing avatar Aug 08 '21 12:08 3DGISKing

I have same issue, pls fix it

StefanSH avatar Aug 21 '21 19:08 StefanSH

So i have discovered that the examples work fine, but many other files do not (for example the two people have posted here). I do not know much about the jsc format, but i am looking in to whether or not they are all compiled in the same way. My guess would be that the files that are not being recognized are in some way different than the example files, i am going to try and compile a bunch of .jsc files tomorrow and see if i can make ones that work/don't work, if anybody has made any progress related to this please let me know.

nick0h avatar Dec 30 '21 07:12 nick0h

https://github.com/PositiveTechnologies/ghidra_nodejs/blob/main/src/main/java/v8_bytecode/V8_bytecodeLoader.java#L57 apparently this only supports node version v8.16.0. Parser is designed according to https://github.com/nodejs/node/blob/v8.16.0/deps/v8/src/snapshot/code-serializer.h

shouc avatar Jan 26 '22 00:01 shouc