Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to find a way to get/read the C source code from a JFFS2 image file. All I have is the jffs2 file and nothing else. I was looking for some kind of converter or reader that would allow me to do this. I know very little about Linux. I need to give the source code to a developer to save time on a new version/redevelopment of the original application.
Any help appreciated. I hope I have explained this properly.
Unless I misunderstand, you need to mount the jffs2 file system and copy the source code file. To mount images, as opposed to actual devices, such as a flash drive formatted with jffs2, you need to use mount with -o loop.
i.e. mount -o loop jffs2imagefilename /media/mntpoint
I have a copy of the file contents. It is a directory structure, the main file in which is a compiled application and not source code. I can read function names at the start and end of the main file and between them is binary data.
Well, if all you have is a compiled version, and you want source code, then you have an entirely different problem. In some cases, it would be illegal/unethical/probably against LQ rules to even talk about reverse engineering or decompiling, e.g. commercial software such as Microsoft Word. If it's "open source" why then, you have the source... Perhaps I've misunderstood what it is you have: could you be more concrete?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.