-
Notifications
You must be signed in to change notification settings - Fork 57
Rename posix
to more generic name
#71
Comments
Why not breaking |
I'm not sure if it makes much sense to separate filesystem and networking (in terms of sockets and so forth), but I'm also not a big fan of |
@zardus There are some systems that model file systems and networks differently. Personally I prefer to have them separate. |
@zardus What in particular do you dislike about the two options in the OP and how would |
Additional consideration for a name would be |
Though my preference remains |
If we go with |
If we go for environment, then the logic for handling all those individual components will be removed from environment and pushed into syscalls. Users looking to customize environment-handling would do so on a syscall basis, so we would also want to improve our interface for hooking or replacing syscalls. Do you forsee any usability problems with that approach? |
Does that prevent us from reusing code (e.g. file system logics) between different platforms, like between Linux and Windows? |
posix
to more generic nameposix
to more generic name
As angr grows to emulate more environments, we need to genericize the ability for a program to interact with its environment.
Two options:
posix
tosupervisor
and allow the plugin to implement its own logic for the things like file read/write, the program break, etcposix
toenvironment
and move all the logic into syscallls, making the plugin a pure storage mechanism. This would involve making library functions that currently call directly into posix for syscall functionality instead of performing a syscall directly, something that I would kind of like to happen anyway.other options would be appreciated :)
The text was updated successfully, but these errors were encountered: