We are very pleased to announce the release of JCKit JAVACOS_Beta_2.0.2.8.

Compared with the previous version, this version is a more intelligent and powerful IDE which fixed various bugs and added many new features. See this post to know more release details.

IMPORTANT NOTE: please check this page to learn how to register JCIDE.

How to get source code from the cap file

Communication

Moderator: UNKNwYSHSA

leogen
Posts: 11
Joined: Wed Jan 06, 2016 2:45 am
Points: 76
Contact:

How to get source code from the cap file

Postby leogen » Tue Mar 15, 2016 3:42 am

I am given a CAP file. Is there any way to get source code from the cap file ?

gorgekin
Posts: 18
Joined: Sun Nov 29, 2015 4:38 am
Points: 49
Contact:

Re: How to get source code from the cap file

Postby gorgekin » Sat Mar 19, 2016 2:23 am

IMO, there is NO way to do this!

gandalf
Posts: 4
Joined: Wed Aug 31, 2016 9:57 pm
Points: 114
Contact:

Re: How to get source code from the cap file

Postby gandalf » Tue Oct 10, 2017 1:41 am

as i know, there is a component named normalizer in JCKit3 (located in tools.jar) can generate some kind of .class file(s) as inter-midia.

maybe you can use this tool as a start point. refer to <JCDevKitUG-Classic-3_0_4.pdf> chapter 6.

and, i googled at 2011 or more earlier, there is an open source project hosted in code.google.com, can do this job, but it only existed in the google's cache. so i failed to checkout it.

javacardx
Posts: 3
Joined: Thu Sep 10, 2015 4:43 am
Points: 370
Contact:

Re: How to get source code from the cap file

Postby javacardx » Thu Oct 19, 2017 5:50 am

It's possible in theory.
If the cap file without the DEBUG component,the decompiling source(.java) files will lost many informations.
It will be difficult to read or understand.


Return to “Communication”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer