I looked at the code and now I know the answer to this question. The argument needs to be a specific file in the zip archive. What r_io APIs do I need to use to perform the following actions:
1) Open each individual file in the zip archive using a buffer in memory (not by creating a tmp file in the file-system) 2) Analyze each of the individual files 3) Read and write/update each of those files via a memory buffer Thanks, -- Adam On Thu, Oct 17, 2013 at 5:34 PM, Adam Pridgen <[email protected]> wrote: > How do I open a zip file? > > Help indicates the following: > > # r2 -L > <snip> > r__ zip Open zip files apk://foo.apk or zip://foo.apk/classes.dex > </snip> > > But then it seems to fail to open the file: > > # r2 zip:///research_data/code/git/my_radare2/test.zip > test/ > test/test1.c > test/test1.o > Remove '/tmp/zipdir.526065890008648c' manually > Cannot open 'zip:///research_data/code/git/my_radare2/test.zip' > > Anyone know why? Thanks, > > -- Adam _______________________________________________ radare mailing list [email protected] http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
