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

Idea: Merging of UserModeLinux (UML) and this project #101

Open
spoiledsport opened this issue Apr 13, 2017 · 2 comments
Open

Idea: Merging of UserModeLinux (UML) and this project #101

spoiledsport opened this issue Apr 13, 2017 · 2 comments

Comments

@spoiledsport
Copy link

Guys

I see great advances on this project since its inception. But I am also aware of trying to re-create Linux behaviours in Windows. So I asked myself why the effort when Linux already implements all this stuff. So,
I been playing for some time with the idea of merging this project with UML (http://user-mode-linux.sourceforge.net/). I think we have everything in place to make it work. I already gotten UML to compile in windows (64 and 32 bits) using MSYS2.

To start, I need help for using the DBT to correctly replace all that PTRACE stuff in UML. I know that I have to embed the initial jump point to the translator in
void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)

We need to make sure that the translator calls back into Linux to do all its work : loading of executable or libraries, allocation of memory, SYSCALLS, etc.

What do you guys think? I know this is doable. The question is who is willing to help. I don't want to reengineer the DBT or any part of this work. Could the translator be easily modify to call into other infrastructure?

By the way, great work on this effort. I love this project. I want it to remain viable, thus the reason for my questions and ideas. Please respond to this thread on any ideas you may have or suggestions for me to try.

@wishstudio
Copy link
Owner

Hello, thanks for your interest in this project.

IMO I think the most difficult part is to implement the ptrace() system call. I have no idea how much degree we need to implement in order to support the usage of UserModeLinux. Although I think we already have the major building blocks in current DBT code.

@mdirik
Copy link

mdirik commented Sep 21, 2017

@spoiledsport Did you see andLinux? It is basically implemented version of your idea, but it is very old and unmaintained, unfortunately.

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

3 participants