Skip to content

Commit

Permalink
Add basic documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
erynian committed Apr 29, 2021
1 parent f125eeb commit 862968f
Show file tree
Hide file tree
Showing 48 changed files with 3,784 additions and 1,067 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
target
target
tests
tmp
old
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ Cargo.lock
.chrome
tmp
vendor
old
examples/store
examples/snapshots
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ members = [
"rewind-system",
"rewind-tui",
"rewind-cli",
"whvp-sys",
]

default-members = [
]

exclude = [
"examples",
"vendor",
"whvp-sys",
]
]
22 changes: 12 additions & 10 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@

# TODO

- clean dependency tree with cargo tree
- setup cargo release
- improve tests
- add doc
- get test coverage
- update README
- [ ] clean dependency tree with cargo tree
- [ ] setup cargo release
- [ ] improve tests
- [ ] add doc
- [ ] get test coverage
- [ ] update README
- [X] docker pipeline

## rewind-cli

- improve cli documentation
- [ ] improve cli documentation
- [X] remove whvp backend for linux build

## rewind-core

## rewind-system

- remove deku and use zerocopy instead
- [ ] remove deku and use zerocopy instead

## rewind-snapshot

- improve parsing
- add support for full dump
- [ ] improve parsing
- [X] add support for full dump
14 changes: 12 additions & 2 deletions docker/msvc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN $url = 'https://download.visualstudio.microsoft.com/download/pr/20130c62-1bc
--quiet --wait --norestart --nocache `
--installPath C:\BuildTools `
--add Microsoft.Component.MSBuild `
--add Microsoft.VisualStudio.Component.VC.CMake.Project `
--add Microsoft.VisualStudio.Component.Windows10SDK.17763 `
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64'; `
Remove-Item 'C:\\vs_BuildTools.exe'; `
Expand Down Expand Up @@ -71,6 +72,15 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::Sec
cargo -V; `
rustc -V

COPY ./ ./
RUN $url = 'https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.1/LLVM-11.0.1-win64.exe'; `
Invoke-WebRequest -Uri $url -OutFile C:\llvm.exe; `
Start-Process C:\llvm.exe -Wait -ArgumentList '/S' `
Remove-Item C:\llvm.exe;

RUN cargo build --release
COPY ./ ./rewind

# $env:Path += ";C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\"
# $env:LIBCLANG_PATH="C:\Program Files\LLVM\bin"
# $env:RUSTFLAGS="-C target-feature=+crt-static"
# RUN cargo build --release
# Enable-WindowsOptionalFeature -FeatureName HypervisorPlatform -Online
Loading

0 comments on commit 862968f

Please sign in to comment.