Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-Compatible Exports DLL, Delphi/Pascal Imports #579

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
TetzkatLipHoka authored Jul 3, 2024

Verified

This commit was signed with the committer’s verified signature.
commit 9d7cfc154326509affc87471e3cfb0fad71518a9
6 changes: 3 additions & 3 deletions src/Delphi/README.md
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ iced-x86 is a blazing fast and correct x86 (16/32/64-bit) instruction decoder, d
- 👍 Supports all Intel and AMD instructions
- 👍 Correct: All instructions are tested and iced has been tested against other disassemblers/assemblers (xed, gas, objdump, masm, dumpbin, nasm, ndisasm) and fuzzed
- 👍 The formatter supports masm, nasm, gas (AT&T), Intel (XED) and there are many options to customize the output
- 👍 Blazing fast: Decodes >200 MB/s
- 👍 Blazing fast: Decodes >200 MB/s, 93MB/s with Formatting
- 👍 Small decoded instructions, only 40 bytes and the decoder doesn't allocate any memory
- 👍 The encoder can be used to re-encode decoded instructions at any address
- 👍 API to get instruction info, eg. read/written registers, memory and rflags bits; CPUID feature flag, control flow info, etc
@@ -836,7 +836,7 @@ var
Info : TInstructionInfo;
CC : TConditionCode;
RFlags : TRFlags;
tOutput : Array [ 0..255 ] of AnsiChar;
tOutput : PAnsiChar;

S : String;
C : UInt64;
@@ -880,7 +880,7 @@ begin
// For quick hacks, it's fine to use the Display trait to format an instruction,
// but for real code, use a formatter, eg. MasmFormatter. See other examples.

Iced.Formatter.Format( Instruction, tOutput, Length( tOutput ) );
Iced.Formatter.Format( Instruction, tOutput );
WriteLn( S + String( tOutput ) );

// Gets offsets in the instruction of the displacement and immediates and their sizes.