Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What is lib.so.1

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
MightySabu
How do I cheat?
Reputation: 0

Joined: 27 May 2023
Posts: 4

PostPosted: Tue Dec 26, 2023 11:30 am    Post subject: What is lib.so.1 Reply with quote

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.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Tue Dec 26, 2023 12:11 pm    Post subject: Reply with quote

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:
Code:
$ cat /proc/self/maps
...
... /usr/lib/libc.so.6
...

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites