Restructure some of the folder structure in unshell-server

This commit is contained in:
Michael Mikovsky
2025-12-20 18:19:08 -07:00
parent c8cfa685ec
commit 338eb93bfc
18 changed files with 98 additions and 198 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[features]
log_debug = ["unshell-lib/log_debug"]
obfuscate = ["unshell-lib/obfuscate"]
obfuscate = ["unshell-lib/obfuscate", "unshell-obfuscate/obfuscate"]
[dependencies]
unshell-lib = {path = "../../unshell-lib", default-featues = false}
+6 -2
View File
@@ -1,3 +1,5 @@
cargo clean
OBFUSCATION_KEY=abc123abc \
cargo build --release
@@ -10,8 +12,10 @@ declare -a headers=(
".shstrtab" #- Section header string table (only needed by tools like readelf)
".note.gnu.bu" ".note.gnu.build-id" # - Build ID note
".eh_frame" ".eh_frame_hdr" # Exception handling info (can break C++ exceptions if removed)
".gnu.version" ".gnu.version_r" # Symbol versioning (may be needed for some shared libraries)
".gnu.hash" # Hash table for symbol lookup optimization
".gnu.version"
#".gnu.version_r"
# Symbol versioning (may be needed for some shared libraries)
#".gnu.hash" # Hash table for symbol lookup optimization
)
# TODO: Implement FAKE section header comments and information
+2
View File
@@ -15,6 +15,8 @@ use unshell_lib::{
use crate::client_runtime::ClientRuntime;
pub use unshell_lib::logger::setup_logger;
pub extern "C" fn test1() {
warn!("Test1 called xxxxxxxxxxx");
}