Само собой, родился из ограничений, так что по сути консенсус из того что важно командам и мне с адаптацией под текущий процесс хайринга (:
-
с чем работал
-
что делал, какие проблемы запомнились
| .global _main | |
| .extern _putchar | |
| .align 4 | |
| _main: | |
| ; prolog; save fp,lr,x19 | |
| stp x29, x30, [sp, #-0x20]! | |
| str x19, [sp, #0x10] |
| /* | |
| typedef struct { | |
| int size; | |
| char* data; | |
| } test_struct; | |
| void some_func(test_struct **s); |
| // compile this to hook.dll | |
| // for example, with MSVC: cl.exe /LD /MT /O2 hook.c /Fehook.dll | |
| #include <windows.h> | |
| // get this from https://github.com/kubo/plthook | |
| #include "plthook_win32.c" | |
| static plthook_t* hook; |
Last Updated: 1st April, 2016
Installation / Updating / Running a Server
C:\Program Files (x86)\Steam\steamapps\common\steamcmd)install_update_run_server.bat batch script (below). It will download and install the server, then run the server in a new window on port 27015.| @ECHO OFF | |
| SETLOCAL | |
| ECHO ASLR Enable / Diable Batch Script - Please run as admin | |
| set /p Choice=Want to Enable or Disable ASLR? (e or d):%=% | |
| if "%Choice%"=="e" goto :ENABLE | |
| if "%Choice%"=="d" goto :DISABLE | |
| :ENABLE |