Hi all,
Do you know a better tool than objconv able to generate assembly source code of a complete shared library ?
My concern is to port a linux shared lib to BSD.
I hope someone will be able to answer.
By advance, thank you.
Shared libraries
Re: Shared libraries
Ghidra.
But, if it’s open source, why don’t you just get the source code and work from that. If it’s not open source then it’s probably illegal to reverse engineer it.
But, if it’s open source, why don’t you just get the source code and work from that. If it’s not open source then it’s probably illegal to reverse engineer it.
Re: Shared libraries
It's just a sane-backend not available on FreeBSD 

Re: Shared libraries
But if it’s open source the code will be freely available. No need to disassemble.
Re: Shared libraries
Persuad then, Brother Compagny that customers are owners of their scanner and consequently should dispose all the means to use it
That's the original concern that led R. Stallman to fund GNU.
That's the original concern that led R. Stallman to fund GNU.
Re: Shared libraries
I’m story but I can’t help you further with actions that constitute breach of copyright.
Re: Shared libraries
The act of reverse engineering a computer program that you legally possess is legal in every country, despite any threats and wishful thinking on part of vendors. In Europe, this goes even in the face of an EULA claiming otherwise. Of course, any port you create will be regarded as a derivative work and can not be distributed if you did not have the right to distribute the original work.
Unfortunately, if you want something that can be reassembled it is not as easy as it sounds, and will likely require something like IDA Pro, which is very expensive, or maybe Ghidra can do it.
Unfortunately, if you want something that can be reassembled it is not as easy as it sounds, and will likely require something like IDA Pro, which is very expensive, or maybe Ghidra can do it.
Re: Shared libraries
Copyright infringement is indeed a civil matter rather than criminal. But I’m not convinced that it is the place of these forums to assist in such infringement.
Reverse engineering for educational purposes is no problem. Doing so in order to modify the program is another matter.
Reverse engineering for educational purposes is no problem. Doing so in order to modify the program is another matter.
Re: Shared libraries
Adapting a program, including porting to another platform, in order to be able to use a program in accordance with its purpose, is another specific right granted under law to anyone with the right to use a program. However, unlike the right to reverse engineer, this one may be waived by contract, at least over here. The conditions may vary slightly be country but tend to be mostly the same. As for what constitutes a valid contract, that's another rabbit hole. For example, in Germany, EULAs presented after a product has already been purchased are not enforceable, and in many other countries their enforceability remains largely untested in court.
Depending on the contractual situation, one may want to create a stub rather than a port, which loads and calls into the original program file to perform its function. This way, you are "interoperating" with the program rather than "modifying" it.
Depending on the contractual situation, one may want to create a stub rather than a port, which loads and calls into the original program file to perform its function. This way, you are "interoperating" with the program rather than "modifying" it.