mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Restructure some of the folder structure in unshell-server
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user