Casperinous / Lena

A simple library for Dex manipulation
MIT License
2 stars 0 forks source link

Reg. Lena #1

Open frite opened 6 years ago

frite commented 6 years ago

OK, a quick question reg. Lena. Is this a library (i.e. I'm going to load this into Python and do stuff) or a stand-alone tool (i.e. use it from terminal directly)? Maybe both?

Casperinous commented 6 years ago

It is aimed to be used both as a library and as a stand-alone tool. For now, the main backend used for IO operations ( parsing dex data into the appropriate Python objects etc etc ) is the Androguard library. Later on i might also write a parser too. Also keep in mind that, Androguard even in its later branch cannot support Dex operations apart from bytecode patching. If they decide for a stable v3 release, i might do a PR with the operations implemented here to be adjusted into Androguard.

frite commented 6 years ago

OK, this was more of a question on how the folder layout should look like. I'd take an approach of

root_directory/
README.md
setup.py # People do like eggs.
lena/

Inside lena/ I'd break it into

bin/
lib/
__init__.py

etc.

Basically a standard python egg layout. That way it's easier to distribute and code looks more structured, easier to navigate.

If there's agreement, I can work on this over the weekend (hopefully).

Casperinous commented 6 years ago

Yeah, that would be awesome ! I totally agree with that layout. Also it works for the re-structure to be done over the weekend, as i plan to have a basic POC till Friday and i will change a lot of things in the code.

frite commented 6 years ago

There's still pending the egg/dir structure for this. Leaving it temporarily open.