disassembling an .so file
- islander261
- Offline
- Platinum Member
Less
More
- Posts: 757
- Thank you received: 216
13 Jun 2018 00:41 #112267
by islander261
disassembling an .so file was created by islander261
Hello
As the topic says, I need to disassemble a .so component object file so I can fix it, no source. Sorry I'm not a linux wizz. How do I do this?
John
As the topic says, I need to disassemble a .so component object file so I can fix it, no source. Sorry I'm not a linux wizz. How do I do this?
John
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
13 Jun 2018 01:25 - 13 Jun 2018 01:29 #112270
by InMyDarkestHour
Replied by InMyDarkestHour on topic disassembling an .so file
Do you understand assembler ? And have hours I guess to spend ?
Unless of course you're adapt and reverse engineering.
This thread might shed some light on things, but I don't think it is going to be an easy task.
ubuntuforums.org/showthread.php?t=1714313
Google would probably be a much better resource.
I ran this command in ~/linuxcnc-dev/rtlib$You''ll have to look at the manpage for objdump for the options.
And this was the output:
Unless of course you're adapt and reverse engineering.
This thread might shed some light on things, but I don't think it is going to be an easy task.
ubuntuforums.org/showthread.php?t=1714313
Google would probably be a much better resource.
I ran this command in ~/linuxcnc-dev/rtlib$
objdump -dSfl ./not.so > ~/Documents/not.s
And this was the output:
Last edit: 13 Jun 2018 01:29 by InMyDarkestHour.
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
Less
More
- Posts: 757
- Thank you received: 216
13 Jun 2018 14:00 #112287
by islander261
Replied by islander261 on topic disassembling an .so file
Ozzyrob
Thank you, I should have been a little clearer in what I was asking for. What I wanted was to go from a .so object file back to some kind of source or sudo code file that had all of the manual and pin definitions intact. I have actual gotten that data using the strings -w command on the file and saving the output to a text file. The only problem is it isn't formatted and requires that you have a pretty good understanding of how to build a hal component to get everything right.
John
Thank you, I should have been a little clearer in what I was asking for. What I wanted was to go from a .so object file back to some kind of source or sudo code file that had all of the manual and pin definitions intact. I have actual gotten that data using the strings -w command on the file and saving the output to a text file. The only problem is it isn't formatted and requires that you have a pretty good understanding of how to build a hal component to get everything right.
John
Please Log in or Create an account to join the conversation.
13 Jun 2018 14:16 #112288
by andypugh
If this is a LinuxCNC HAL component then the source code _has_ to be available. That's what "open source" means.
What is the name of this .so file?
Replied by andypugh on topic disassembling an .so file
The only problem is it isn't formatted and requires that you have a pretty good understanding of how to build a hal component to get everything right.
If this is a LinuxCNC HAL component then the source code _has_ to be available. That's what "open source" means.
What is the name of this .so file?
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
Less
More
- Posts: 757
- Thank you received: 216
13 Jun 2018 14:58 #112289
by islander261
Replied by islander261 on topic disassembling an .so file
Andy
I looked and couldn't find it, including web searches. My search skilled may leave a little to be desired. The component is thcenable.so and is not part of the standard LinuxCNC distributions. It is marked with a GPL2 rights marker.
John
I looked and couldn't find it, including web searches. My search skilled may leave a little to be desired. The component is thcenable.so and is not part of the standard LinuxCNC distributions. It is marked with a GPL2 rights marker.
John
Please Log in or Create an account to join the conversation.
13 Jun 2018 16:55 #112293
by andypugh
Where did you get it from?
Replied by andypugh on topic disassembling an .so file
I looked and couldn't find it, including web searches. My search skilled may leave a little to be desired. The component is thcenable.so
Where did you get it from?
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
Less
More
- Posts: 757
- Thank you received: 216
13 Jun 2018 18:19 #112308
by islander261
Replied by islander261 on topic disassembling an .so file
From a download off of the web. No source files attached.
John
John
Please Log in or Create an account to join the conversation.
13 Jun 2018 18:20 #112310
by andypugh
Replied by andypugh on topic disassembling an .so file
I am not sure that I would expect a binary .so download to work anyway.
Which web site?
Which web site?
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
Less
More
- Posts: 757
- Thank you received: 216
13 Jun 2018 18:37 #112311
by islander261
Replied by islander261 on topic disassembling an .so file
I know it will not work as is for me because it was allegedly compiled on an i386 version of linux and I run an AMD-64 version. I actually just wanted to experiment with it, my controller does the same thing using stock hal components. The place sells a re branded LinuxCNC control system. They will not knowingly release any source code even though every source file I've seen is marked as being GPL (including the thcenable one after putting it through the strings -w command). This similar to the Path Pilot situation only the owner will not comply with the GPL terms.
John
John
Please Log in or Create an account to join the conversation.
- seb_kuzminsky
- Offline
- Administrator
Less
More
- Posts: 64
- Thank you received: 14
13 Jun 2018 19:56 #112319
by seb_kuzminsky
Replied by seb_kuzminsky on topic disassembling an .so file
That's a violation. What's the name of the company doing this, and what's the website where you downloaded the thcenable.so?
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds