Andoryuuta / kiwi

A package for memory editing in go.
MIT License
38 stars 7 forks source link

Fix potential "Error opening /proc/1098/mem. Are you root?" #5

Closed l3lackShark closed 4 years ago

l3lackShark commented 4 years ago

Unix systems have a limit of available opened files at the same time. We need to close the file at the end of the function to prevent from reaching that limit. Great package by the way. Really wanna see it in complete state but it looks like it's never going to happen. Thank you nonetheless for the most complete memory reader in Go.

Andoryuuta commented 4 years ago

Thanks for the pull request. LGTM!

Yeah, I unfortunately never got around to implementing the features I had originally wanted to (listed in the readme), including some very important core features such as getting image base addresses for dealing with ASLR across process restarts.

I might take a look at the project in the following weeks and try to implement some stuff.