Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leaves a cache file in ~/ #39

Open
pabs3 opened this issue Sep 2, 2019 · 2 comments
Open

leaves a cache file in ~/ #39

pabs3 opened this issue Sep 2, 2019 · 2 comments

Comments

@pabs3
Copy link

pabs3 commented Sep 2, 2019

Forwarding https://bugs.debian.org/688525

When I run pyew /bin/ls I get a cache file (~/pyew-files.sqlite) in sqlite format directly in my home directory. That should be moved to a better place, preferably following the XDG basedir spec:

$ sqlite3 pyew-files.sqlite .schema
CREATE TABLE antidebugs (
                        id integer not null primary key,
                        sample_id, addr, mnemonic
                        );
CREATE TABLE function_stats (
                        id integer not null primary key,
                        sample_id, addr, nodes, edges, cc);
CREATE TABLE samples (id integer not null primary key,
                                       md5, sha1, sha256, filename, type);
@joxeankoret
Copy link
Owner

You're right. I'll fix it.

@pabs3
Copy link
Author

pabs3 commented Sep 7, 2019

Please use the standard Python xdg module (on PyPI) rather than writing your own code for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants