JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to get source code from the cap file

Communication

Moderator: UNKNwYSHSA

leogen
Posts: 13
Joined: Wed Jan 06, 2016 2:45 am
Points :94
Contact:

How to get source code from the cap file

Post by 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: 20
Joined: Sun Nov 29, 2015 4:38 am
Points :83
Contact:

Re: How to get source code from the cap file

Post by gorgekin » Sat Mar 19, 2016 2:23 am

IMO, there is NO way to do this!

gandalf
Posts: 11
Joined: Wed Aug 31, 2016 9:57 pm
Points :228
Contact:

Re: How to get source code from the cap file

Post by 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: 9
Joined: Thu Sep 10, 2015 4:43 am
Points :520
Contact:

Re: How to get source code from the cap file

Post by 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.


Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 24 guests

JavaCard OS : Disclaimer