Compare commits

..

No commits in common. "599472a17667828e2b537a3dac727e3e558af8f0" and "26fca2525cb3726b91f6ef2d86e2f22f770312cd" have entirely different histories.

31 changed files with 14 additions and 30 deletions

8
.gitignore vendored
View file

@ -1,7 +1,7 @@
/target
# agent
/agent/.cache
/agent/bin
/agent/obj
/agent/compile_commands.json
/agent-vs2022/.cache
/agent-vs2022/bin
/agent-vs2022/obj
/agent-vs2022/compile_commands.json

View file

@ -1,14 +0,0 @@
# Hazelnut
A semi-prototype of CollabVM 3.0 agent functionality (specifically display).
Currently NVIDIA-specific; support for DXGI duplication (for post Win7) should be added at some point
The agent should run on Windows 7 x64 onwards. Lower (or x86) is currently not supported as a target.
TCP sockets are currently used; this will be replaced with virtio-serial (mediated on top of agent pluggable support) and IVSHMEM.
This repository contains:
- The agent.
- A simple server end, written in Rust, which displays the framebuffer (in rather unoptimal fashion, both networking and graphics-wise.). Written for testing only.

View file

@ -23,14 +23,14 @@ OBJS := $(OBJDIR)/capture.o \
$(OBJDIR)/nvfbc_library.o \
$(OBJDIR)/main.o \
LINK_LIBS := $(VS2022_PATH)/ucrt/lib/$(ARCH)/libucrt$(D).lib \
$(VS2022_PATH)/crt/lib/$(ARCH)/libcmt$(D).lib \
$(VS2022_PATH)/crt/lib/$(ARCH)/libcpmt$(D).lib \
$(VS2022_PATH)/crt/lib/$(ARCH)/libvcruntime$(D).lib \
$(VS2022_PATH)/winsdk/lib/$(ARCH)/kernel32.lib \
$(VS2022_PATH)/winsdk/lib/$(ARCH)/user32.lib \
$(VS2022_PATH)/winsdk/lib/$(ARCH)/comctl32.lib \
$(VS2022_PATH)/winsdk/lib/$(ARCH)/ws2_32.lib
LINK_LIBS := ~/vs2022/ucrt/lib/$(ARCH)/libucrt$(D).lib \
~/vs2022/crt/lib/$(ARCH)/libcmt$(D).lib \
~/vs2022/crt/lib/$(ARCH)/libcpmt$(D).lib \
~/vs2022/crt/lib/$(ARCH)/libvcruntime$(D).lib \
~/vs2022/winsdk/lib/$(ARCH)/kernel32.lib \
~/vs2022/winsdk/lib/$(ARCH)/user32.lib \
~/vs2022/winsdk/lib/$(ARCH)/comctl32.lib \
~/vs2022/winsdk/lib/$(ARCH)/ws2_32.lib
.PHONY: all dumpinfo clean matrix

View file

@ -1,10 +1,8 @@
# Base compiler flags. Only change if you *explicitly* know what you're doing.
# replace this
VS2022_PATH := ~/vs2022
RC_INCLUDES := /I $(VS2022_PATH)/winsdk/include/um /I $(VS2022_PATH)/winsdk/include/shared
SDK_INCLUDES := -isystem $(VS2022_PATH)/ucrt/include -isystem $(VS2022_PATH)/crt/include -isystem $(VS2022_PATH)/winsdk/include/shared -isystem $(VS2022_PATH)/winsdk/include/um
RC_INCLUDES := /I ~/vs2022/winsdk/include/um /I ~/vs2022/winsdk/include/shared
SDK_INCLUDES := -isystem ~/vs2022/ucrt/include -isystem ~/vs2022/crt/include -isystem ~/vs2022/winsdk/include/shared -isystem ~/vs2022/winsdk/include/um
# Windows 6.1
BASE_CCFLAGS := $(SDK_INCLUDES) -D_WIN32_WINNT=0x0601 -Ires -std=c17