[all-commits] [llvm/llvm-project] d2b19d: [lldb/Utility] YAML validation should be orthogona...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jan 3 14:25:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d2b19d455de22fe3c8aa192320e1ff9a4eb1a365
      https://github.com/llvm/llvm-project/commit/d2b19d455de22fe3c8aa192320e1ff9a4eb1a365
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M lldb/source/Utility/GDBRemote.cpp

  Log Message:
  -----------
  [lldb/Utility] YAML validation should be orthogonal to packet semantics.

It's not up to YAML to validate the semantics of the GDB remote packet
struct. This is especially wrong here as there's nothing that says that
the amount of bytes transmitted  matches the packet payload size.




More information about the All-commits mailing list