Add PCOMMIT instruction (zyantific#429)#27
Merged
fengjixuchui merged 19 commits intofengjixuchui:masterfrom Mar 20, 2023
Merged
Add PCOMMIT instruction (zyantific#429)#27fengjixuchui merged 19 commits intofengjixuchui:masterfrom
fengjixuchui merged 19 commits intofengjixuchui:masterfrom
Conversation
The doc target was renamed in a previous commit and we forgot to update the corresponding entry in the Makefile.
The theme caused trouble when built on Windows and it was unclear how to best deal with the dependency on the CSS theme. To simplify matters, we simply drop the theme from the main repository and instead inject it via zydoc for the CI documentation builds.
Also, pin the version of the theme to be used.
* Update MSVC projects to VS 2022 NB: The ZydisWinKernel sample still compiles for, and runs on Windows 7 x64 and higher as before. However, some adjustments were made in order for this to work, because the VS2022 WDK officially only recognises 'Windows 10 and higher' as valid target OS. 32 bit support for this sample has NOT survived this update due to new WDK restrictions. * MSVC: update Zycore includes to add Atomic.h * MSVC: do not build ZydisTestEncoderAbsolute sample in DLL configs This sample does not link when Zydis is built as a shared library, due to ZydisGetRelInfo being an internal (non-dllexported) function. * Sync Zycore/Zydis includes used by the tools/samples MSVC project files For Zydis, additionally one source file (Disassembler.c) was missing and has also been added. * MSVC: add Disassemble, DisassembleSimple and EncodeMov samples * Update runner images * MSVC: target ISO C11 by default (/std:c11) * Update zycore to v1.4.1 Co-authored-by: Florian Bernd <git@flobernd.de> Co-authored-by: Joel Höner <athre0z@zyantific.com>
Zydis currently requests a C++ compiler despite not actually using it. This breaks build on toolchains without a C++ compiler (e.g. musl libc). @Tachi107 already did the same for zycore a while ago: zyantific/zycore-c@8f39333
* Update zycore submodule * Use ZYAN_DIV64 in ZydisStringAppendDecU64 Avoid a direct 64bit integer division in ZydisStringAppendDecU64 and use the macro provided by zycore instead, as GCC might generate unwanted calls to arithmetic functions on 32bit platforms.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.