Skip to content

Commit

Permalink
Merge pull request #5 from slxdy/readv_k32-fix
Browse files Browse the repository at this point in the history
Fixed the params order of `process_vm_readv_k32`
  • Loading branch information
Sewer56 authored Jul 31, 2024
2 parents 046ac13 + 79c06c1 commit 25b5d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Reloaded.Memory/Native/Unix/Posix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ public struct IoVec
/// but with an API similar to <see cref="Kernel32.ReadProcessMemory" />.
/// </summary>
/// <param name="processId">Id of the process to read from.</param>
/// <param name="localIov">Local memory address.</param>
/// <param name="remoteIov">Remote memory address.</param>
/// <param name="localIov">Local memory address.</param>
/// <param name="numBytes">Memory size.</param>
/// <returns>True on success, else false.</returns>
public static unsafe bool process_vm_readv_k32(nint processId, nuint localIov, nuint remoteIov, nuint numBytes)
public static unsafe bool process_vm_readv_k32(nint processId, nuint remoteIov, nuint localIov, nuint numBytes)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net7.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net7.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net6.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net6.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net5.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, net5.0, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, netcoreapp3.1, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 142 in src/Reloaded.Memory/Native/Unix/Posix.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, netcoreapp3.1, x64)

Symbol 'process_vm_readv_k32' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
{
IoVec local = new() { iov_base = localIov, iov_len = numBytes };
IoVec remote = new() { iov_base = remoteIov, iov_len = numBytes };
Expand Down

0 comments on commit 25b5d41

Please sign in to comment.