We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Module.getExportByName
I have the following dynamic library files under Linux:
huan@dev:~/wechaty/sidecar-demos$ ls -l src/libfactorial.so -rw-rw-r-- 1 huan huan 15648 Jul 17 15:06 src/libfactorial.so huan@dev:~/wechaty/sidecar-demos$ LD_PRELOAD=./src/libfactorial.so frida /bin/cat ____ / _ | Frida 14.2.18 - A world-class dynamic instrumentation toolkit | (_| | > _ | Commands: /_/ |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ Spawned `/bin/cat`. Use %resume to let the main thread start executing! [Local::cat]-> Process.enumerateModulesSync().map(x => x.name) [ "cat", "libfactorial.so", ..., ] [Local::cat]-> Module.getExportByName('libfactorial.so', 'factorial') Error: libfactorial.so: unable to find export 'factorial' at value (frida/runtime/core.js:194) [Local::cat]-> Module.getExportByName('/home/huan/wechaty/sidecar-demos/src/libfactorial.so', 'factorial') "0x7fa2494630f9" [Local::cat]-> Module.getExportByName(null, 'factorial') "0x7fa2494630f9" [Local::cat]->
Module.getExportByName('libfactorial.so', 'factorial')
Error: libfactorial.so: unable to find export 'factorial' at value (frida/runtime/core.js:194)
Module.getExportByName('/home/huan/wechaty/sidecar-demos/src/libfactorial.so', 'factorial')
"0x7fa2494630f9"
Module.getExportByName(null, 'factorial')
I would like to expect all the above three calls will return to the right address.
Does this expected, or it should be treated as a bug?
The text was updated successfully, but these errors were encountered:
workaround for Module.getExportByName() (#10)
2f8138e
No branches or pull requests
I have the following dynamic library files under Linux:
Result
Module.getExportByName('libfactorial.so', 'factorial')
Module.getExportByName('/home/huan/wechaty/sidecar-demos/src/libfactorial.so', 'factorial')
Module.getExportByName(null, 'factorial')
I would like to expect all the above three calls will return to the right address.
Does this expected, or it should be treated as a bug?
The text was updated successfully, but these errors were encountered: