[Soot-list] Regenerating Androidmanifest.xml file after Instrumenting Android

Modhi Alsobiehy m99m20 at hotmail.com
Mon Sep 29 03:24:11 EDT 2014


Hi Steven,
Thanx a lot for your quick response!
Thanx to you, I am now able to read the manifest through the AXmlHandler but could not figure out how to remove or add permissions!
Would you please elaborate on that! I tried creating a new AXmlNode and called addSiblingBefore() to insert it but did not work!

Another question, after modifying the manifest, where i should find the regenerated AndroidManifest.XML file??

-Best,
Modhi

> On Sep 27, 2014, at 2:13 PM, "Steven Arzt" <Steven.Arzt at cased.de> wrote:
> 
> Hi Modhi,
>  
> The “ProcessManifest“ class in FlowDroid support this feature. You can call “getAXml()” to get the AXmlHandler on which the class is based. The AXmlhandler can read and write binary xml files in the Android format.
>  
> Best regards,
>   Steven
>  
> Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Modhi Alsobiehy
> Gesendet: Samstag, 27. September 2014 08:16
> An: soot-list at sable.mcgill.ca; soot-list at CS.McGill.CA
> Betreff: [Soot-list] Regenerating Androidmanifest.xml file after Instrumenting Android
>  
> Hi Soot users,
>  
> I managed to insert some profiling instructions into some android apks (using jimple IR) , however, because of the new addition, the Androidmanifest.xml files of the apps need to be updated to include some other required permissions!
>  
> Is there a way to regenerate the manifest file using soot? or this should be done separately??
>  
> Your quick response is highly recommended!
>  
> Thank you!
> Modhi
>  
>  
>  
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140929/96b8ec66/attachment-0003.html 


More information about the Soot-list mailing list