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

peer into xochitl memory and expose it as shared memory #7

Closed
raisjn opened this issue Oct 31, 2020 · 4 comments
Closed

peer into xochitl memory and expose it as shared memory #7

raisjn opened this issue Oct 31, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@raisjn
Copy link
Collaborator

raisjn commented Oct 31, 2020

No description provided.

@raisjn
Copy link
Collaborator Author

raisjn commented Oct 31, 2020

#5 (comment) has some interesting things to look at when trying to find this memory

another (less good) alternative is to hardcode the expected hash of each version of xochitl and the memory addresses we want to make shared.

@Eeems
Copy link
Collaborator

Eeems commented Oct 31, 2020

#5 (comment) has some interesting things to look at when trying to find this memory

another (less good) alternative is to hardcode the expected hash of each version of xochitl and the memory addresses we want to make shared.

This would mean that there is more work required for every software release to get things working. Not an ideal solution but doable.

@raisjn raisjn added the enhancement New feature or request label Nov 5, 2020
@raisjn
Copy link
Collaborator Author

raisjn commented Nov 9, 2020

I think there are a few avenues to investigate:

  • using the stuff from reStream
  • intercepting malloc and using shared mem for framebuffer
  • intercepting program main(), running initSWTCon() and smashing some pointers
  • emitting dirty regions instead of having to screenshot whole buffer every time
  • ???

@raisjn
Copy link
Collaborator Author

raisjn commented Nov 18, 2020

xofb.so does this, closing for now

@raisjn raisjn closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants