Commit Graph

138 Commits

Author SHA1 Message Date
henrik karlsson
26d59793e8 [UBA]
* Fixed so shaders can now be compiled remotely on macos

[CL 36031687 by henrik karlsson in ue5-main branch]
2024-09-05 02:01:24 -04:00
henrik karlsson
ee914977a5 [UBA]
* Fixed linux/macos crash when sub process with more than 1024 arguments were spawned

[CL 36030782 by henrik karlsson in ue5-main branch]
2024-09-04 22:51:12 -04:00
henrik karlsson
2097c7d617 [UBA]
* LOTS of fixes around posix detouring path. With this code it is now possible to get through compile shaders remotely on mac (even though the output is causing some errors).

[CL 36027576 by henrik karlsson in ue5-main branch]
2024-09-04 19:40:49 -04:00
henrik karlsson
500480981e [UBA]
* Fixed so MoveFile/CopyFile works with child processes. Now parent's "writtenfiles" is read from child process upon start
* Fixed some bugs related to spawning child processes with poorly formatted paths
* Fixed hang if parent process crashes after starting child process

[CL 35982637 by henrik karlsson in ue5-main branch]
2024-09-03 17:11:48 -04:00
henrik karlsson
c7d6545402 [UBA]
* Added HostRun command which can be used to send commands from remotes to host. command will return stdout

[CL 35946269 by henrik karlsson in ue5-main branch]
2024-08-30 22:52:40 -04:00
henrik karlsson
dd7fd6e0b0 [UBA]
* Fixed macos shipping compile error

[CL 35911634 by henrik karlsson in ue5-main branch]
2024-08-29 20:51:09 -04:00
henrik karlsson
826c22972b [UBA]
* Removed logging that should not be there

[CL 35911223 by henrik karlsson in ue5-main branch]
2024-08-29 20:29:13 -04:00
henrik karlsson
709453003a [UBA]
* Added UBA_IS_DETOURED_INCLUDE define in posix detours file

[CL 35910865 by henrik karlsson in ue5-main branch]
2024-08-29 20:10:08 -04:00
henrik karlsson
2459ddabf6 [UBA]
* Fixed so dlopen work properly remotely and downloads dylib plus depending dylib before trying to load them

[CL 35910648 by henrik karlsson in ue5-main branch]
2024-08-29 19:59:39 -04:00
henrik karlsson
18d62201bb [UBA]
* Fixed bug with how loader paths are sent from detour to session

[CL 35910140 by henrik karlsson in ue5-main branch]
2024-08-29 19:38:08 -04:00
henrik karlsson
8d98ff6120 [UBA]
* Added support for sending loader paths through GetFullFilename logic

[CL 35909987 by henrik karlsson in ue5-main branch]
2024-08-29 19:28:38 -04:00
henrik karlsson
d9ff75b196 [UBA]
* Fixed logging for linux

[CL 35906610 by henrik karlsson in ue5-main branch]
2024-08-29 16:57:59 -04:00
henrik karlsson
40b5864ab0 [UBA]
* Fixed so stat is not writing anything to output struct if failing
* Stubbed out dlopen detour just to get it in the log (this will need implementation)
* Fixes for _NSGetExecutablePath - Implemented by Laura Hermanns
* Fixes for chdir  - Implemented by Laura Hermanns
* Improved logging in posix wait detours
* Changed so execve closes the connection. This might be wrong but is needed for metal compiler to work. Will need to revisit

[CL 35899364 by henrik karlsson in ue5-main branch]
2024-08-29 12:53:01 -04:00
henrik karlsson
9491a2742a [UBA]
* Fixed so GetApplicationShortName handles forward slashes

#author Laura.Hermanns

[CL 35898720 by henrik karlsson in ue5-main branch]
2024-08-29 12:33:17 -04:00
henrik karlsson
d8f73fa9e7 [UBA]
* Fixed so locale is ignored when writing logs. This to prevent crashes when logging deep down in core functions

[CL 35875982 by henrik karlsson in ue5-main branch]
2024-08-28 14:41:23 -04:00
henrik karlsson
3663544cc6 [UBA]
* Implemented detoured mkdir and rmdir for posix
* Added unit tests

[CL 35852050 by henrik karlsson in ue5-main branch]
2024-08-28 00:48:26 -04:00
henrik karlsson
1233fe4508 [UBA]
* Added detouring of LoadLibrary when running debug. It seems like maybe windows server 2025 has changed how things are called and we might need to do a proper detour of this function

[CL 35792627 by henrik karlsson in ue5-main branch]
2024-08-25 13:26:11 -04:00
henrik karlsson
6e94d53abd [UBA]
* Fixed so cvtres.exe also preloads bcrypt.dll in order to prevent deadlock that can happen because of mimalloc

[CL 35742355 by henrik karlsson in ue5-main branch]
2024-08-22 11:33:18 -04:00
henrik karlsson
5578fae0f8 [UBA]
* Changed so *-telemetry.json are only thrown away when process is executing remotely

[CL 35537966 by henrik karlsson in ue5-main branch]
2024-08-14 12:32:54 -04:00
henrik karlsson
79771b9cd5 [UBA]
* Fixed so files created with deleteonclose always are tracked by session. Fixes builds using -sarif

[CL 35440430 by henrik karlsson in ue5-main branch]
2024-08-09 19:37:34 -04:00
henrik karlsson
2bc89b422e [UBA]
* Fixed obj preload code so it handles rsp paths that contains spaces

[CL 35436543 by henrik karlsson in ue5-main branch]
2024-08-09 17:39:35 -04:00
henrik karlsson
2ec66c4910 [UBA]
* Added -testcompress and -testdecompress to UbaCli. This can be used to test obj file compression
* Added 4k alignment to decompressed memory for .h.obj files .. don't remember if/why this was needed but is done in UbaSession as well.
* Changed WrappedMain to return a bool instead to make it easier to exit on error

[CL 35293041 by henrik karlsson in ue5-main branch]
2024-08-02 19:46:58 -04:00
henrik karlsson
792cf9c4ee [UBA]
* Fixed so temporary files stored in memory is properly updated when created in process, written to in child process and read in parent process.
* Changed so stdin/out/err are different handle types and fixed up code around this
* Fixed so ispc.exe handles extract import/export when building for non-windows

[CL 35254952 by henrik karlsson in ue5-main branch]
2024-08-01 15:54:38 -04:00
henrik karlsson
4e5ab9c65d [UBA]
* Added ld-link.exe to rules list
* Improved some logging text in network server

[CL 35224350 by henrik karlsson in ue5-main branch]
2024-07-31 16:03:16 -04:00
henrik karlsson
7bc6b63d63 [UBA]
* Disabled opendir directory table usage on macos since it is failing for some reason I can't figure out why.

[CL 35006892 by henrik karlsson in ue5-main branch]
2024-07-22 19:31:27 -04:00