From ebfc4f421e029af1b276c4caef47bee4c710ec3f Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Wed, 16 Jun 2021 14:30:43 -0700 Subject: [PATCH] added manuals... --- doxygen/Doxyfile | 6 +++--- icon.png => doxygen/icon.png | Bin {manual => doxygen/manual}/ADD_VMP2_INSTR.md | 6 +++--- {manual => doxygen/manual}/ADD_VTIL_LIFTER.md | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) rename icon.png => doxygen/icon.png (100%) rename {manual => doxygen/manual}/ADD_VMP2_INSTR.md (95%) rename {manual => doxygen/manual}/ADD_VTIL_LIFTER.md (91%) diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile index a7c71d8..c0efba8 100644 --- a/doxygen/Doxyfile +++ b/doxygen/Doxyfile @@ -51,14 +51,14 @@ PROJECT_BRIEF = "vmprofiler is a c++ library which is used to staticall # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = D:/vmprofiler-qt/dependencies/vmprofiler/icon.png +PROJECT_LOGO = D:/vmprofiler/doxygen/icon.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = D:\vmprofiler-qt\dependencies\vmprofiler\doxygen +OUTPUT_DIRECTORY = . # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -864,7 +864,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = D:\vmprofiler-qt\dependencies\vmprofiler\ +INPUT = ../ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/icon.png b/doxygen/icon.png similarity index 100% rename from icon.png rename to doxygen/icon.png diff --git a/manual/ADD_VMP2_INSTR.md b/doxygen/manual/ADD_VMP2_INSTR.md similarity index 95% rename from manual/ADD_VMP2_INSTR.md rename to doxygen/manual/ADD_VMP2_INSTR.md index 3ad33cc..8595f73 100644 --- a/manual/ADD_VMP2_INSTR.md +++ b/doxygen/manual/ADD_VMP2_INSTR.md @@ -1,4 +1,4 @@ -# Introduction +# Adding VMProtect 2 Virtual Instruction Profiles This page contains the steps needed to add additional VMProtect 2 virtual instruction profiles to VMProfiler. Understand that these instructions are for version 1.8 and may be different in later versions. @@ -35,7 +35,7 @@ vm::handler::profile_t addq = { Inside of `vmprofiles.hpp` you can see a list of these profiles marked as `extern`. -#### Step 2, Declare It Extern Inside `vmprofiles.hpp` +#### Step 2, Declare It Extern Inside vmprofiles.hpp ```cpp namespace profile @@ -65,7 +65,7 @@ namespace profile Lastly the `addq` variable is added to a vector of `vm::handler::profile_t*`'s. -#### Step 3, Add The Variable To `vm::handler::profile::all` +#### Step 3, Add The Variable To vm::handler::profile::all ```cpp inline std::vector< vm::handler::profile_t * > all = { diff --git a/manual/ADD_VTIL_LIFTER.md b/doxygen/manual/ADD_VTIL_LIFTER.md similarity index 91% rename from manual/ADD_VTIL_LIFTER.md rename to doxygen/manual/ADD_VTIL_LIFTER.md index a12680e..33eaeca 100644 --- a/manual/ADD_VTIL_LIFTER.md +++ b/doxygen/manual/ADD_VTIL_LIFTER.md @@ -1,4 +1,4 @@ -# Introduction +# Adding VMProtect 2 IL to VTIL Lifters This will disclose how to create a VTIL lifter for VMProfiler v1.8. The instructions may change in later versions of VMProfiler. @@ -17,7 +17,7 @@ vm::lifters::lifter_t lconstq = { } }; ``` -#### Step 2, Declare Extern In `vmlifters.hpp` +#### Step 2, Declare Extern In vmlifters.hpp You can see this exact line of code [here](https://githacks.org/vmp2/vmprofiler/-/blob/8baefa1e2148111712d640ee9cb7c0b7ac329521/include/vmlifters.hpp#L22). @@ -25,7 +25,7 @@ You can see this exact line of code [here](https://githacks.org/vmp2/vmprofiler/ extern vm::lifters::lifter_t lconstq; ``` -#### Step 3, Add Lifter To `vm::lifters::all` +#### Step 3, Add Lifter To vm::lifters::all ```cpp inline std::vector< vm::lifters::lifter_t * > all = {