[Lldb-commits] [lldb] [lldb][Docs] Document vFile:exists and vFile:MD5 (PR #89357)
Will Hawkins via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 19 16:46:07 PDT 2024
================
@@ -429,7 +429,43 @@ incompatible with the flags that gdb specifies.
//
// Response is F, followed by the number of bytes written (base 16)
+//----------------------------------------------------------------------
+// vFile:MD5:
+//
+// BRIEF
+// Generate an MD5 hash of the file at the given path.
+//
+// EXAMPLE
+//
+// receive: vFile:MD5:2f746d702f61
+// send (success): F,00000000000000001111111111111111
+// send (failure): F,x
+//
+// request packet contains the ASCII hex encoded filename
+//
+// If the hash succeeded, the response is "F," followed by the low 64
+// bits of the result, then the high 64 bits of the result. Both are hex
----------------
hawkinsw wrote:
```suggestion
// bits of the result, and finally the high 64 bits of the result. Both are in hex format
```
https://github.com/llvm/llvm-project/pull/89357
More information about the lldb-commits
mailing list