[Soot-list] Modifying initial values fields of method.

Bodden, Eric eric.bodden at sit.fraunhofer.de
Mon Feb 16 06:22:56 EST 2015


Hi Roman.

You will find the appropriate assignment within the body of the method <init> within SomeClass. You need to modify the assignment there.

Hope this helps,
Eric

> On 16.02.2015, at 11:15, Roman Petriev <vvpiroman at gmail.com> wrote:
> 
> I do body transformation (Jimple) for JBCO, and I need to do this for code obfuscation.
> 
> 2015-02-16 13:10 GMT+03:00 Roman Petriev <vvpiroman at gmail.com>:
> Ok.
> 
> E.g.:
> 
> public class SomeClass{
> 
>     //I want to get/set value of this constant.
>     private final String SOME_PARAMETER = "value";
> 
>     public static void main(String[] args) {
> 
>     //................
> 
>     }
> }
> 
> It's possible?
> 
> 
> 2015-02-16 9:26 GMT+03:00 Bodden, Eric <eric.bodden at sit.fraunhofer.de>:
> Hi Roman.
> 
> If you describe your problem in more detail then there is a better chance that people will be able to help you out.
> 
> Best wishes,
> Eric Bodden
> 
> > On 15.02.2015, at 22:22, Roman Petriev <vvpiroman at gmail.com> wrote:
> >
> > Hi all!
> >
> > I want to get/set initial value of method field (java.lang.String). How I can do it?
> >
> > Best regards,
> > Roman.
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> 
> --
> Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 869-127
> Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt
> 
> 
> 

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150216/839ad10c/attachment.bin 


More information about the Soot-list mailing list