<commit_before>class Zydis < Formula
  desc "Fast and lightweight x86/x86_64 disassembler library"
  homepage "https://zydis.re"
  license "MIT"
  head "https://github.com/zyantific/zydis.git", branch: "master"

  stable do
    url "https://github.com/zyantific/zydis.git",
        tag:      "v3.2.1",
        revision: "4022f22f9280650082a9480519c86a6e2afde2f3"

    # Fix build on ARM Monterey. Remove in the next release.
    patch do
      url "https://github.com/zyantific/zydis/commit/29bb0163342b782b0c07134f989c0a9bb76beec0.patch?full_index=1"
      sha256 "8a23636bee945f9397367c65b4c0559e33f40a7650942047f5aca5c18b3601f6"
    end
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "01dd5cd1a0e66fb458faa8943ac9a2e3d210448bfcc82a98a322c4923ef117ec"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f01f220780d4e708d2aa15705aa8d9358fa5c928a2489c6fe788a124b48341c7"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "cda576fd8a15844bc23d45416e7af7c11911caa13bf079a2e8beda0636b815b2"
    sha256 cellar: :any_skip_relocation, monterey:       "b1f6b23dbb37b6f22f4073f8307d20a9a5b5d71f6d1cd903c58b003ffff7e7a3"
    sha256 cellar: :any_skip_relocation, big_sur:        "e920fabe882010a8cb9f9ab06e665a4e0ebc11b6938f164ce88f5df6c4c95206"
    sha256 cellar: :any_skip_relocation, catalina:       "3f7f89f59c2b0b998a5d5b8a2c95230b0946ff8c5ad0157bc8c7db7e5f670ff3"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3ecade881925407475f39e351262f5d95bac6e8775978f6cc50d3f841a7be4e3"
  end

  depends_on "cmake" => :build

  def install
    system "cmake", "-S", ".", "-B", "build", *std_cmake_args
    system "cmake", "--build", "build"
    system "cmake", "--install", "build"
  end
<commit_msg>zydis 4.0.0<commit_after>class Zydis < Formula
  desc "Fast and lightweight x86/x86_64 disassembler library"
  homepage "https://zydis.re"
  url "https://github.com/zyantific/zydis.git",
      tag:      "v4.0.0",
      revision: "1ba75aeefae37094c7be8eba07ff81d4fe0f1f20"
  license "MIT"
  head "https://github.com/zyantific/zydis.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_ventura:  "01dd5cd1a0e66fb458faa8943ac9a2e3d210448bfcc82a98a322c4923ef117ec"
    sha256 cellar: :any_skip_relocation, arm64_monterey: "f01f220780d4e708d2aa15705aa8d9358fa5c928a2489c6fe788a124b48341c7"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "cda576fd8a15844bc23d45416e7af7c11911caa13bf079a2e8beda0636b815b2"
    sha256 cellar: :any_skip_relocation, monterey:       "b1f6b23dbb37b6f22f4073f8307d20a9a5b5d71f6d1cd903c58b003ffff7e7a3"
    sha256 cellar: :any_skip_relocation, big_sur:        "e920fabe882010a8cb9f9ab06e665a4e0ebc11b6938f164ce88f5df6c4c95206"
    sha256 cellar: :any_skip_relocation, catalina:       "3f7f89f59c2b0b998a5d5b8a2c95230b0946ff8c5ad0157bc8c7db7e5f670ff3"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3ecade881925407475f39e351262f5d95bac6e8775978f6cc50d3f841a7be4e3"
  end

  depends_on "cmake" => :build

  def install
    system "cmake", "-S", ".", "-B", "build", *std_cmake_args
    system "cmake", "--build", "build"
    system "cmake", "--install", "build"
  end

{'fraction_non_alphanumeric': 0.09005037783375315, 'fraction_numerical': 0.23772040302267003, 'mean_word_length': 5.392354124748491, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5852622', 'n_tokens_mistral': 1811, 'n_tokens_neox': 1453, 'n_words': 185}