add LEB128 types

This commit is contained in:
Jean-Marie Mineau 2023-08-22 15:46:14 +02:00
parent 1a9030267c
commit 33e770e04a
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
5 changed files with 430 additions and 17 deletions

31
flake.nix Normal file
View file

@ -0,0 +1,31 @@
{
description = "An android bytecode manipulation library";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
# packages = {
# androscalpel = { };
# docker = pkgs.dockerTools.buildImage {
# name = "androscalpel";
# tag = "latest";
# copyToRoot = pkgs.buildEnv {
# name = "androscalpel_root_img";
# paths = [ self.packages.${system}.androscalpel ];
# pathsToLink = [ "/bin" ];
# };
# };
# default = self.packages.${system}.androscalpel;
# };
devShells.default = pkgs.mkShell {
packages = [ pkgs.rustc pkgs.cargo ];
};
});
}