Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autogenerating boiler plate fails #26

Open
Aniketh01 opened this issue Apr 11, 2022 · 0 comments
Open

Autogenerating boiler plate fails #26

Aniketh01 opened this issue Apr 11, 2022 · 0 comments

Comments

@Aniketh01
Copy link

Aniketh01 commented Apr 11, 2022

Hi,

I was trying to generate a boiler plate using the scripts available in bin/ and as per the readme file. However, I end up with the following error:

fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'libclang.so'
    at Object.openSync (fs.js:443:3)
    at readFileSync (fs.js:343:35)
    at new DynamicLibrary (/home/aniketh/frida-trace/node_modules/ffi/lib/dynamic_library.js:67:21)
    at new Library (/home/aniketh/frida-trace/node_modules/ffi/lib/library.js:45:12)
    at Object.<anonymous> (/home/aniketh/frida-trace/node_modules/frida-libclang/lib/dynamic_clang.js:951:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
undefined:1



SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at writeCode (/home/aniketh/frida-trace/bin/generate-boilerplate.js:12:20)
    at ConcatStream.<anonymous> (/home/aniketh/frida-trace/node_modules/concat-stream/index.js:37:43)
    at ConcatStream.emit (events.js:203:15)
    at finishMaybe (/home/aniketh/frida-trace/node_modules/readable-stream/lib/_stream_writable.js:620:14)
    at endWritable (/home/aniketh/frida-trace/node_modules/readable-stream/lib/_stream_writable.js:629:3)
    at ConcatStream.Writable.end (/home/aniketh/frida-trace/node_modules/readable-stream/lib/_stream_writable.js:567:22)
    at Socket.onend (_stream_readable.js:672:10)
    at Object.onceWrapper (events.js:286:20)
    at Socket.emit (events.js:203:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant