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

Feature Request: Analyze in-memory file #149

Open
davclark opened this issue Apr 11, 2023 · 4 comments
Open

Feature Request: Analyze in-memory file #149

davclark opened this issue Apr 11, 2023 · 4 comments

Comments

@davclark
Copy link

I am calling diec from a python script and already have a sample in memory. Is it possible to send the file to die via stdin, or potentially expose a foreign function interface? Currently, I need to write the file to disk, which is relatively slow.

@horsicq
Copy link
Owner

horsicq commented Apr 11, 2023

I will think about it. Thanks you for the idea.

@DosX-dev
Copy link
Collaborator

Hello! You can create a process dump and scan it with DIE extractor to retrieve all files from memory for analysis

@davclark
Copy link
Author

Thanks @DosX-dev! However, this is not addressing the request. I'm trying to avoid the need to write to a filesystem. I am currently writing to a filesystem just fine. So, I have a working solution, just not optimal in terms of performance. A solution that would be a tad more performant would be tmpfs, but this still creates a copy of the data in memory, which is also not optimal.

@DosX-dev
Copy link
Collaborator

Now I understand your problem. This will be possible with the release of the release version of DIE SDK (Library). You can scan files programmatically by transferring them entirely in memory. But this functionality is not yet available

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

No branches or pull requests

3 participants