tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

libfuzzer_options.py (449B)


      1 #!/usr/bin/env python
      2 # This Source Code Form is subject to the terms of the Mozilla Public
      3 # License, v. 2.0. If a copy of the MPL was not distributed with this
      4 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
      5 
      6 import sys
      7 import toml
      8 
      9 
     10 def main():
     11    with open(sys.argv[1], "r") as f:
     12        data = toml.load(f)
     13 
     14    for key, value in data["libfuzzer"].items():
     15        print(f"-{key}={value}")
     16 
     17 
     18 if __name__ == "__main__":
     19    main()