Posted: Tue Dec 26, 2023 11:30 am Post subject: What is lib.so.1
I have generated a pointer for an Android app using ceserver. It produced a result like this: (somemodule.so.1 + offset). It functions correctly, but I would like to understand what somemodule.so.1 represents since the game only has somemodule.so. Using cheat engine, I can obtain the addresses of both somemodule.so and somemodule.so.1. However, the issue lies with proc/pid/maps; I can't locate this so.1.
The numbers at the end specify a specific version of the library. Two different programs might need two different versions of the same library. Both versions would need to be installed on your computer, so they need unique names. By convention, you use numbers at the end of the filename to specify this. e.g. `libfoo.so.0` and `lilbfoo.so.1`.
The file named `libfoo.so` is typically a symlink to the latest version of the library.
/proc/[pid]/maps displays the full name fine for me:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum