Implemented cryptomining, although its extremely bad optimized.

This commit is contained in:
2025-12-03 18:20:02 +01:00
commit c2d6d0b096
308 changed files with 56964 additions and 0 deletions
@@ -0,0 +1,23 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/someone/mysite/miner/src/cpp/web_randomx.cpp" "CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o" "gcc" "CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
@@ -0,0 +1,116 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/someone/mysite/miner
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/someone/mysite/miner/build
# Include any dependencies generated for this target.
include CMakeFiles/web-randomx.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/web-randomx.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/web-randomx.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/web-randomx.dir/flags.make
CMakeFiles/web-randomx.dir/codegen:
.PHONY : CMakeFiles/web-randomx.dir/codegen
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o: CMakeFiles/web-randomx.dir/flags.make
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o: /home/someone/mysite/miner/src/cpp/web_randomx.cpp
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o: CMakeFiles/web-randomx.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/someone/mysite/miner/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o"
/usr/lib/emsdk/upstream/emscripten/em++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o -MF CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o.d -o CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o -c /home/someone/mysite/miner/src/cpp/web_randomx.cpp
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.i"
/usr/lib/emsdk/upstream/emscripten/em++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/someone/mysite/miner/src/cpp/web_randomx.cpp > CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.i
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.s"
/usr/lib/emsdk/upstream/emscripten/em++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/someone/mysite/miner/src/cpp/web_randomx.cpp -o CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.s
# Object files for target web-randomx
web__randomx_OBJECTS = \
"CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o"
# External object files for target web-randomx
web__randomx_EXTERNAL_OBJECTS =
web-randomx.js: CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o
web-randomx.js: CMakeFiles/web-randomx.dir/build.make
web-randomx.js: librandomx.a
web-randomx.js: CMakeFiles/web-randomx.dir/linkLibs.rsp
web-randomx.js: CMakeFiles/web-randomx.dir/objects1.rsp
web-randomx.js: CMakeFiles/web-randomx.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/someone/mysite/miner/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable web-randomx.js"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/web-randomx.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/web-randomx.dir/build: web-randomx.js
.PHONY : CMakeFiles/web-randomx.dir/build
CMakeFiles/web-randomx.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/web-randomx.dir/cmake_clean.cmake
.PHONY : CMakeFiles/web-randomx.dir/clean
CMakeFiles/web-randomx.dir/depend:
cd /home/someone/mysite/miner/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/someone/mysite/miner /home/someone/mysite/miner /home/someone/mysite/miner/build /home/someone/mysite/miner/build /home/someone/mysite/miner/build/CMakeFiles/web-randomx.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/web-randomx.dir/depend
@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o"
"CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o.d"
"web-randomx.js"
"web-randomx.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/web-randomx.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for web-randomx.
# This may be replaced when dependencies are built.
@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for web-randomx.
@@ -0,0 +1,2 @@
# Empty dependencies file for web-randomx.
# This may be replaced when dependencies are built.
@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# compile CXX with /usr/lib/emsdk/upstream/emscripten/em++
CXX_DEFINES =
CXX_INCLUDES =
CXX_FLAGS = -O3 -DNDEBUG -std=gnu++11 -fPIE
@@ -0,0 +1 @@
/usr/lib/emsdk/upstream/emscripten/em++ -O3 -DNDEBUG -O3 -s WASM=1 -s WASM_BIGINT -s ALLOW_MEMORY_GROWTH=1 -msimd128 -s EXPORTED_FUNCTIONS="['_free', '_malloc', '_web_randomx_init_cache', '_web_randomx_create_vm', '_web_randomx_hash', '_web_randomx_release_cache', '_web_randomx_destroy_vm']" @CMakeFiles/web-randomx.dir/objects1.rsp -o web-randomx.js @CMakeFiles/web-randomx.dir/linkLibs.rsp
@@ -0,0 +1 @@
librandomx.a
@@ -0,0 +1 @@
"CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o"
@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 23
CMAKE_PROGRESS_2 = 24
@@ -0,0 +1,51 @@
CMakeFiles/web-randomx.dir/src/cpp/web_randomx.cpp.o: \
/home/someone/mysite/miner/src/cpp/web_randomx.cpp \
/home/someone/mysite/miner/src/cpp/randomx.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/stddef.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config_site \
/usr/lib/emsdk/upstream/lib/clang/20/include/stddef.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/stddef.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_header_macro.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_ptrdiff_t.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_size_t.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_wchar_t.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_null.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_nullptr_t.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_max_align_t.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/__stddef_offsetof.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/stdint.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/stdint.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/stdint.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/bits/alltypes.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/bits/stdint.h \
/home/someone/mysite/miner/src/cpp/web_randomx.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/emscripten.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/em_asm.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/em_macros.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/em_types.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/stdbool.h \
/usr/lib/emsdk/upstream/lib/clang/20/include/stdbool.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/stdbool.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/em_js.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/promise.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/compat/stdlib.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/stdlib.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/stdlib.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/features.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/alloca.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/wget.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/emscripten/version.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/cstddef \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__assert \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__assertion_handler \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__verbose_abort \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__availability \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/enable_if.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/integral_constant.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/is_integral.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/remove_cv.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/remove_const.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__type_traits/remove_volatile.h \
/usr/lib/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/version