Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

Moreover, if you want to get Free Samples by Paying Freight only , please check this page.

How to get source code from the cap file

Communication

Moderator: UNKNwYSHSA

leogen
Posts: 13
Joined: Wed Jan 06, 2016 2:45 am
Points :90
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 :81
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: 4
Joined: Wed Aug 31, 2016 9:57 pm
Points :156
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 :516
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 1 guest

JavaCard OS : Disclaimer