language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/issue2328/debuggable-false/apktool.yml
version: 2.0.0 apkFileName: issue2328.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/issue2328/debuggable-missing/apktool.yml
version: 2.0.0 apkFileName: issue2328.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/issue2328/debuggable-true/apktool.yml
version: 2.0.0 apkFileName: issue2328.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/network_config/apktool.yml
version: 2.0.0 apkFileName: testapp.apk isFrameworkApk: false usesFramework: ids: - 1 versionInfo: versionCode: '1' versionName: '1.0'
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/network_config/smali/HelloWorld.smali
.class public LHelloWorld; .super Ljava/lang/Object; .method public static main([Ljava/lang/String;)V .registers 2 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; const/high16 v1, 0x7f020000 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V return-void ...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/pkgid8/apktool.yml
version: 2.0.0 apkFileName: pkgid8.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '128' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/apktool.yml
version: 2.3.2 apkFileName: testapp.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false doNotCompress: - assets/0byte_file.jpg sparseResources: false unknownFiles: AssetBundle/assets/a.txt: '8' AssetB...
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/res/xml/ww_box_styles_schema.xsd
<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="test"> <xs:complexType> <xs:sequence> <xs:element name="person" type="xs:string"/> <xs:element name="address"> <xs:complexType> ...
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/smali/HelloWorld.smali
.class public LHelloWorld; .super Ljava/lang/Object; .method public static main([Ljava/lang/String;)V .registers 2 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; const/high16 v1, 0x7f020000 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V return-void ...
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/smali_classes2/HelloDualDexSupport.smali
.class public LHelloDualDexSupport; .super Ljava/lang/Object; .method public static main([Ljava/lang/String;)V .registers 2 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; const/high16 v1, 0x7f020000 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V ret...
Apktool/brut.apktool/apktool-lib/src/test/resources/aapt2/testapp/smali_classes3/HelloTripleDexSupport.smali
.class public LHelloTripleDexSupport; .super Ljava/lang/Object; .method public static main([Ljava/lang/String;)V .registers 2 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; const/high16 v1, 0x7f020000 invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V r...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/basic.yml
!!brut.androlib.meta.MetaInfo apkFileName: basic.apk compressionType: false doNotCompress: - resources.arsc - png isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: 'com.test.basic' sdkInfo: minSdkVersion: '4' maxSdkVersion: '30' targetSdkVersion: '22' sharedLib...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/cve20220476.yml
!!brut.androlib.meta.MetaInfo apkFileName: cve20220476.apk compressionType: false some_var: !!javax.script.ScriptEngineManager [!!java.net.URLClassLoader [[!!java.net.URL ["https://127.0.0.1:8000"]]]] doNotCompress: - resources.arsc isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: nu...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/donotcompress_with_hieroglyph.yml
version: 2.0.0 apkFileName: testapp.apk doNotCompress: - assets/AllAssetBundles/Andriod/tx_1001_冰原1 - assets/AllAssetBundles/Andriod/tx_1001_冰原1.manifest
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/first_incorrect_indent.yml
!!brut.androlib.meta.MetaInfo version: 2.0.0 apkFileName: standard.apk compressionType: false doNotCompress: - resources.arsc isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: null sdkInfo: minSdkVersion: '25' targetSdkVersion: '30' sharedLibrary: false sparseResources: false us...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/list_with_indent.yml
!!brut.androlib.meta.MetaInfo apkFileName: basic.apk compressionType: false doNotCompress: - resources.arsc - png isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: 'com.test.basic' sdkInfo: minSdkVersion: '4' maxSdkVersion: '30' targetSdkVersion: '22' sharedLib...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/skip_incorrect_indent.yml
!!brut.androlib.meta.MetaInfo apkFileName: standard.apk version: 2.0.0 compressionType: false doNotCompress: - resources.arsc isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: null sdkInfo: minSdkVersion: '25' targetSdkVersion: '30' sharedLibrary: false sparseResources: false us...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/standard.yml
!!brut.androlib.meta.MetaInfo apkFileName: standard.apk compressionType: false doNotCompress: - resources.arsc isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: null sdkInfo: minSdkVersion: '25' targetSdkVersion: '30' sharedLibrary: false sparseResources: false usesFramework: id...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/unknown_fields.yml
!!brut.androlib.meta.MetaInfo apkFileName: standard.apk compressionType: false test: test doNotCompress: - resources.arsc isFrameworkApk: false packageInfo: forcedPackageId: '127' renameManifestPackage: null test2: test2 sdkInfo: minSdkVersion: '25' targetSdkVersion: '30' sharedLibrary: false sparseResources:...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/apk/unknown_files.yml
version: 2.0.0 apkFileName: testapp.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false doNotCompress: - assets/0byte_file.jpg - arsc - png - mp3 unknownFiles: AssetBundle/assets/a.txt: '8' AssetBundl...
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/decode/doctype/apktool.yml
version: 2.0.0 apkFileName: doctype.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
YAML
Apktool/brut.apktool/apktool-lib/src/test/resources/decode/issue2543/apktool.yml
version: 2.0.0 apkFileName: issue2543.apk isFrameworkApk: false usesFramework: ids: - 1 packageInfo: forcedPackageId: '127' versionInfo: versionCode: '1' versionName: '1.0' compressionType: false
Java
Apktool/brut.j.common/src/main/java/brut/common/BrutException.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.common/src/main/java/brut/common/InvalidUnknownFileException.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.common/src/main/java/brut/common/RootUnknownFileException.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.common/src/main/java/brut/common/TraversalUnknownFileException.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Text
Apktool/brut.j.common/src/templates/apache2.0-header.txt
Copyright (C) ${year} ${brut} <${brutEmail}> Copyright (C) ${year} ${ibot} <${ibotEmail}> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unl...
Apktool/brut.j.dir/build.gradle.kts
val commonsIoVersion: String by rootProject.extra dependencies { implementation(project(":brut.j.common")) implementation(project(":brut.j.util")) implementation("commons-io:commons-io:$commonsIoVersion") }
Java
Apktool/brut.j.dir/src/main/java/brut/directory/AbstractDirectory.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/Directory.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/DirectoryException.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/DirUtil.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/ExtFile.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/FileDirectory.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/PathAlreadyExists.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/PathNotExist.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/ZipRODirectory.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.dir/src/main/java/brut/directory/ZipUtils.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Apktool/brut.j.util/build.gradle.kts
val commonsIoVersion: String by rootProject.extra val guavaVersion: String by rootProject.extra dependencies { implementation(project(":brut.j.common")) implementation("commons-io:commons-io:$commonsIoVersion") implementation("com.google.guava:guava:$guavaVersion") }
Java
Apktool/brut.j.util/src/main/java/brut/util/AaptManager.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/BrutIO.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/DataInputDelegate.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/Duo.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/ExtCountingDataInput.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/ExtDataInput.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/Jar.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/OS.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Java
Apktool/brut.j.util/src/main/java/brut/util/OSDetection.java
/* * Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
Apktool/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
Apktool/scripts/linux/apktool
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
Apktool/scripts/osx/apktool
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
Apktool/scripts/windows/apktool.bat
@echo off setlocal set BASENAME=apktool_ chcp 65001 2>nul >nul set java_exe=java.exe if defined JAVA_HOME ( set "java_exe=%JAVA_HOME%\bin\java.exe" ) rem Find the highest version .jar available in the same directory as the script setlocal EnableDelayedExpansion pushd "%~dp0" if exist apktool.jar ( set BASENAME=a...
hhvm/.gitignore
*.[oad] *.hhbc *.rej *.orig .merlin .mkdir .DS_Store hphp.log /_build hphp/hack/_build/ hphp/hack/cargo_home/ /deps /hphp/test/test /hphp/test/test_fast.inc /hphp/test/test_mysql_info.inc /hphp/test/test_suite.inc /hphp/test/real_mysql_info.inc /hphp/test/*.tmp /hphp/test/vm/*.out /hphp/test/vm/*.diff /hphp/test/vm/*....
hhvm/.gitmodules
[submodule "__FORKS__"] path = third-party/forks url = https://github.com/hhvm/hhvm-third-party.git [submodule "fastlz"] path = third-party/fastlz/src url = https://github.com/ariya/FastLZ [submodule "fatal"] path = third-party/fatal url = https://github.com/facebook/fatal [submodule "fb303"] path = third-party/...
hhvm/clang.code-workspace
{ "folders": [ { "path": "." } ], "settings": { "nixEnvSelector.nixFile": "${workspaceRoot}/shell_clang.nix", "nix.enableLanguageServer": true, "terminal.integrated.profiles.linux": { "Nix Shell": { "path": "nix-shell", "args": [ "shell_clang.nix" ...
Text
hhvm/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7 FATAL_ERROR) # Make `get_target_property()` on a target that does not exist a fatal error # https://cmake.org/cmake/help/v3.0/policy/CMP0045.html cmake_policy(SET CMP0045 NEW) # ditto for add_dependencies(): https://cmake.org/cmake/help/v3.0/policy/CMP0046.html cmake_policy(SET CMP0...
Markdown
hhvm/CODE_OF_CONDUCT.md
# Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender i...
hhvm/configure
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ "$1" = '--help' ] || [ "$1" = '-h' ]; then echo "usage: $0 -Dvariable=argument ..." echo '' echo 'Variables: ' options=`cat $DIR/CMake/Options.cmake | grep option | sed -e 's/^[ \t]*//' | sed 's/\s*option(/ -D/; s/ "/...
Markdown
hhvm/CONTRIBUTING.md
# Contributing to HHVM We'd love to have your help in making HHVM better. Before jumping into the code, please familiarize yourself with our [coding conventions](hphp/doc/coding-conventions.md). We're also working on a [Hacker's Guide to HHVM](hphp/doc/hackers-guide). It's still very incomplete, but if there's a speci...
hhvm/default.nix
(import ( let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; sha256 = lock.nodes.flake-compat.locked.narHash; } ) { src = builtins.fetchGit { url = ./.; subm...
hhvm/flake.lock
{ "nodes": { "flake-compat": { "flake": false, "locked": { "lastModified": 1650374568, "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "owner": "edolstra", "repo": "flake-compat", "rev": "b4a34015c698c7793d592d66adbab377907a2be8", "type...
hhvm/flake.nix
{ inputs = { flake-utils.url = "github:numtide/flake-utils"; flake-compat.url = "github:edolstra/flake-compat"; flake-compat.flake = false; nixpkgs-mozilla.url = "github:mozilla/nixpkgs-mozilla"; }; outputs = { self, nixpkgs, flake-utils, flake-compat, nixpkgs-mozilla }: flake-utils.lib.ea...
hhvm/hhvm.code-workspace
{ "folders": [ { "path": "." } ], "settings": { "nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix", "nix.enableLanguageServer": true, "terminal.integrated.profiles.linux": { "Nix Shell": { "path": "nix-shell" } }, "terminal.integrated.profiles.osx": { ...
hhvm/hhvm.nix
{ bison , boost , brotli , bzip2 , cacert , cmake , curl , darwin , double-conversion , editline , expat , flex , fmt_8 , freetype , fribidi , gcc-unwrapped , gd , gdb , gettext , gflags , git , glog , gmp , gperf , gperftools , hostPlatform , icu , imagemagick6 , jemalloc , lastModifiedDate , lib , libcap , libdwarf_2...
PHP
hhvm/LICENSE.PHP
-------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2010 The PHP Group. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modi...
hhvm/LICENSE.ZEND
-------------------------------------------------------------------- The Zend Engine License, version 2.00 Copyright (c) 1999-2002 Zend Technologies Ltd. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or ...
Markdown
hhvm/README.md
# HHVM [HHVM page](https://hhvm.com) | [HHVM documentation](https://docs.hhvm.com/hhvm/) | [Hacklang page](http://hacklang.org) | [General group](https://www.facebook.com/groups/hhvm.general/) | [Dev group](https://www.facebook.com/groups/hhvm.dev/) | [Twitter](https://twitter.com/HipHopVM) HHVM is an open-source vir...
Markdown
hhvm/SECURITY.md
# Reporting and Fixing Security Issues Please do not open GitHub issues or pull requests - this makes the problem immediately visible to everyone, including malicious actors. Security issues in HHVM can be safely reported via HHVM's Whitehat Bug Bounty program: [facebook.com/whitehat](https://www.facebook.com/whiteha...
hhvm/shell.nix
( import ( let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; sha256 = lock.nodes.flake-compat.locked.narHash; } ) { src = ./...
hhvm/shell_clang.nix
( import ( let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; sha256 = lock.nodes.flake-compat.locked.narHash; } ) { src = ./...
JSON
hhvm/.devcontainer/devcontainer.json
// @lint-ignore-every JSONSYNTAX because the format of this file is JSONC, not strict JSON // For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at // https://github.com/microsoft/vscode-dev-containers/tree/master/containers/docker-existing-dockerfile { "name": "devcontain...
Markdown
hhvm/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **Standalone code, or other way to reproduce the problem** > This should not depend on installing any libraries or frameworks. Ideally, it sho...
Markdown
hhvm/.github/ISSUE_TEMPLATE/feature_request.md
--- name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and con...
YAML
hhvm/.github/workflows/ubuntu.yml
name: Ubuntu CI on: push: branches-ignore: # Exclude the push event for exported diffs, because the CI for export # should have been covered by GitHub Actions triggered by pull requests. - 'export-D+' pull_request: concurrency: # If the workflow is triggered by a pull request, then cancel ...
hhvm/build/fbcode_builder/.gitignore
# Facebook-internal CI builds don't have write permission outside of the # source tree, so we install all projects into this directory. /facebook_ci __pycache__/ *.pyc
Python
hhvm/build/fbcode_builder/getdeps.py
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import argparse import json import os import shutil import subprocess import sys import tarfile import tempfile # We...
hhvm/build/fbcode_builder/LICENSE
MIT License Copyright (c) Facebook, Inc. and its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
Markdown
hhvm/build/fbcode_builder/README.md
# Easy builds for Facebook projects This directory contains tools designed to simplify continuous-integration (and other builds) of Facebook open source projects. In particular, this helps manage builds for cross-project dependencies. The main entry point is the `getdeps.py` script. This script has several subcomma...
CMake
hhvm/build/fbcode_builder/CMake/FBBuildOptions.cmake
# Copyright (c) Facebook, Inc. and its affiliates. function (fb_activate_static_library_option) option(USE_STATIC_DEPS_ON_UNIX "If enabled, use static dependencies on unix systems. This is generally discouraged." OFF ) # Mark USE_STATIC_DEPS_ON_UNIX as an "advanced" option, since enabling it # is gener...
CMake
hhvm/build/fbcode_builder/CMake/FBCMakeParseArgs.cmake
# # Copyright (c) Facebook, Inc. and its affiliates. # # Helper function for parsing arguments to a CMake function. # # This function is very similar to CMake's built-in cmake_parse_arguments() # function, with some improvements: # - This function correctly handles empty arguments. (cmake_parse_arguments() # ignores...
CMake
hhvm/build/fbcode_builder/CMake/FBCompilerSettings.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # This file applies common compiler settings that are shared across # a number of Facebook opensource projects. # Please use caution and your best judgement before making changes # to these shared compiler settings in order to avoid accidentally # breaking a build in ...
CMake
hhvm/build/fbcode_builder/CMake/FBCompilerSettingsMSVC.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # This file applies common compiler settings that are shared across # a number of Facebook opensource projects. # Please use caution and your best judgement before making changes # to these shared compiler settings in order to avoid accidentally # breaking a build in ...
CMake
hhvm/build/fbcode_builder/CMake/FBCompilerSettingsUnix.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # This file applies common compiler settings that are shared across # a number of Facebook opensource projects. # Please use caution and your best judgement before making changes # to these shared compiler settings in order to avoid accidentally # breaking a build in ...
CMake
hhvm/build/fbcode_builder/CMake/FBPythonBinary.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FBCMakeParseArgs) # # This file contains helper functions for building self-executing Python # binaries. # # This is somewhat different than typical python installation with # distutils/pip/virtualenv/etc. We primarily want to build a standalone # executable...
CMake
hhvm/build/fbcode_builder/CMake/FBPythonTestAddTests.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # Add a command to be emitted to the CTest file set(ctest_script) function(add_command CMD) set(escaped_args "") foreach(arg ${ARGN}) # Escape all arguments using "Bracket Argument" syntax # We could skip this for argument that don't contain any special ...
CMake
hhvm/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FBCMakeParseArgs) # Generate a C++ library from a thrift file # # Parameters: # - SERVICES <svc1> [<svc2> ...] # The names of the services defined in the thrift file. # - DEPENDS <dep1> [<dep2> ...] # A list of other thrift C++ libraries that this library...
CMake
hhvm/build/fbcode_builder/CMake/FBThriftLibrary.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FBCMakeParseArgs) include(FBThriftPyLibrary) include(FBThriftCppLibrary) # # add_fbthrift_library() # # This is a convenience function that generates thrift libraries for multiple # languages. # # For example: # add_fbthrift_library( # foo foo.thrift # ...
CMake
hhvm/build/fbcode_builder/CMake/FBThriftPyLibrary.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FBCMakeParseArgs) include(FBPythonBinary) # Generate a Python library from a thrift file function(add_fbthrift_py_library LIB_NAME THRIFT_FILE) # Parse the arguments set(one_value_args NAMESPACE THRIFT_INCLUDE_DIR) set(multi_value_args SERVICES DEPENDS ...
Python
hhvm/build/fbcode_builder/CMake/fb_py_test_main.py
#!/usr/bin/env python # # Copyright (c) Facebook, Inc. and its affiliates. # """ This file contains the main module code for Python test programs. """ import contextlib import ctypes import fnmatch import json import logging import optparse import os import platform import re import sys import tempfile import time im...
C
hhvm/build/fbcode_builder/CMake/fb_py_win_main.c
// Copyright (c) Facebook, Inc. and its affiliates. #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <stdio.h> #include <stdlib.h> #define PATH_SIZE 32768 typedef int (*Py_Main)(int, wchar_t**); // Add the given path to Windows's DLL search path. // For Windows DLL search path resolution, see: // https://...
CMake
hhvm/build/fbcode_builder/CMake/FindDoubleConversion.cmake
# Copyright (c) Meta Platforms, Inc. and affiliates. # Finds libdouble-conversion. # # This module defines: # DOUBLE_CONVERSION_INCLUDE_DIR # DOUBLE_CONVERSION_LIBRARY # find_path(DOUBLE_CONVERSION_INCLUDE_DIR double-conversion/double-conversion.h) find_library(DOUBLE_CONVERSION_LIBRARY NAMES double-conversion) incl...
CMake
hhvm/build/fbcode_builder/CMake/FindGflags.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # Find libgflags. # There's a lot of compatibility cruft going on in here, both # to deal with changes across the FB consumers of this and also # to deal with variances in behavior of cmake itself. # # Since this file is named FindGflags.cmake the cmake convention # is...
CMake
hhvm/build/fbcode_builder/CMake/FindGlog.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # - Try to find Glog # Once done, this will define # # GLOG_FOUND - system has Glog # GLOG_INCLUDE_DIRS - the Glog include directories # GLOG_LIBRARIES - link these to use Glog include(FindPackageHandleStandardArgs) include(SelectLibraryConfigurations) find_library(G...
CMake
hhvm/build/fbcode_builder/CMake/FindGMock.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # Find libgmock # # LIBGMOCK_DEFINES - List of defines when using libgmock. # LIBGMOCK_INCLUDE_DIR - where to find gmock/gmock.h, etc. # LIBGMOCK_LIBRARIES - List of libraries when using libgmock. # LIBGMOCK_FOUND - True if libgmock found. IF (LIBGMOCK...
CMake
hhvm/build/fbcode_builder/CMake/FindLibEvent.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # - Find LibEvent (a cross event library) # This module defines # LIBEVENT_INCLUDE_DIR, where to find LibEvent headers # LIBEVENT_LIB, LibEvent libraries # LibEvent_FOUND, If false, do not try to use libevent set(LibEvent_EXTRA_PREFIXES /usr/local /opt/local "$ENV{HOM...
CMake
hhvm/build/fbcode_builder/CMake/FindLibUnwind.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
CMake
hhvm/build/fbcode_builder/CMake/FindPCRE.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FindPackageHandleStandardArgs) find_path(PCRE_INCLUDE_DIR NAMES pcre.h) find_library(PCRE_LIBRARY NAMES pcre) find_package_handle_standard_args( PCRE DEFAULT_MSG PCRE_LIBRARY PCRE_INCLUDE_DIR ) mark_as_advanced(PCRE_INCLUDE_DIR PCRE_LIBRARY)
CMake
hhvm/build/fbcode_builder/CMake/FindPCRE2.cmake
# Copyright (c) Facebook, Inc. and its affiliates. include(FindPackageHandleStandardArgs) find_path(PCRE2_INCLUDE_DIR NAMES pcre2.h) find_library(PCRE2_LIBRARY NAMES pcre2-8) find_package_handle_standard_args( PCRE2 DEFAULT_MSG PCRE2_LIBRARY PCRE2_INCLUDE_DIR ) set(PCRE2_DEFINES "PCRE2_CODE_UNIT_WIDTH=8") mark_...
CMake
hhvm/build/fbcode_builder/CMake/FindRe2.cmake
# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2. find_library(RE2_LIBRARY re2) mark_as_advanced(RE2_LIBRARY) find_path(RE2_INCLUDE_DIR NAMES re2/re2.h) mark_as_advanced(RE2_INCLUDE_DIR) include(FindP...
CMake
hhvm/build/fbcode_builder/CMake/FindSodium.cmake
# Written in 2016 by Henrik Steffen Gaßmann <henrik@gassmann.onl> # # To the extent possible under law, the author(s) have dedicated all # copyright and related and neighboring rights to this software to the # public domain worldwide. This software is distributed without any warranty. # # You should have received a co...