Skip to content

Commit

Permalink
add frida
Browse files Browse the repository at this point in the history
  • Loading branch information
XLsn0w committed Sep 3, 2019
1 parent 56889b2 commit f7cace9
Show file tree
Hide file tree
Showing 224 changed files with 68,828 additions and 0 deletions.
34 changes: 34 additions & 0 deletions frida/frida-build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/.vs
/autoconf
/automake
/build
/elfutils
/gettext
/glib
/glib-openssl
/glib-schannel
/gn
/ipch
/json-glib
/libdwarf
/libffi
/libgee
/libiconv
/libpsl
/libsoup
/libtool
/libunwind
/libxml2
/m4
/openssl
/pkg-config
/releng/*.user
/releng/__pycache__/
/releng/modules/frida-gadget-ios/*.dylib
/releng/modules/frida-gadget-ios/node_modules
/sqlite
/stlport
/v8-checkout
/vala
/xz
/zlib
30 changes: 30 additions & 0 deletions frida/frida-build/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[submodule "capstone"]
path = capstone
url = git://github.com/frida/capstone.git
[submodule "frida-gum"]
path = frida-gum
url = git://github.com/frida/frida-gum.git
[submodule "frida-core"]
path = frida-core
url = git://github.com/frida/frida-core.git
[submodule "frida-python"]
path = frida-python
url = git://github.com/frida/frida-python.git
[submodule "frida-node"]
path = frida-node
url = git://github.com/frida/frida-node.git
[submodule "frida-swift"]
path = frida-swift
url = git://github.com/frida/frida-swift.git
[submodule "frida-clr"]
path = frida-clr
url = git://github.com/frida/frida-clr.git
[submodule "frida-qml"]
path = frida-qml
url = git://github.com/frida/frida-qml.git
[submodule "releng/meson"]
path = releng/meson
url = git://github.com/frida/meson.git
[submodule "frida-tools"]
path = frida-tools
url = git://github.com/frida/frida-tools.git
50 changes: 50 additions & 0 deletions frida/frida-build/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
wxWindows Library Licence, Version 3.1
======================================

Copyright (c) 1998-2005 Julian Smart, Robert Roebling et al

Everyone is permitted to copy and distribute verbatim copies
of this licence document, but changing it is not allowed.

WXWINDOWS LIBRARY LICENCE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public Licence as published by
the Free Software Foundation; either version 2 of the Licence, or (at your
option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
Licence for more details.

You should have received a copy of the GNU Library General Public Licence
along with this software, usually in a file named COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Floor, Boston, MA 02110-1301 USA.

EXCEPTION NOTICE

1. As a special exception, the copyright holders of this library give
permission for additional uses of the text contained in this release of the
library as licenced under the wxWindows Library Licence, applying either
version 3.1 of the Licence, or (at your option) any later version of the
Licence as published by the copyright holders of version 3.1 of the Licence
document.

2. The exception is that you may use, copy, link, modify and distribute
under your own terms, binary object code versions of works based on the
Library.

3. If you copy code from files distributed under the terms of the GNU
General Public Licence or the GNU Library General Public Licence into a
copy of this library, as this licence permits, the exception does not apply
to the code that you add in this way. To avoid misleading anyone as to the
status of such modified files, you must delete this exception notice from
such code and/or adjust the licensing conditions notice accordingly.

4. If you write modifications of your own for this library, it is your
choice whether to permit this exception to apply to your modifications. If
you do not wish that, you must delete the exception notice from such code
and/or adjust the licensing conditions notice accordingly.
35 changes: 35 additions & 0 deletions frida/frida-build/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
modules = capstone frida-gum frida-core frida-python frida-node frida-tools

all $(MAKECMDGOALS):
@build_os=$$(uname -s | tr '[A-Z]' '[a-z]' | sed 's,^darwin$$,macos,'); \
$(MAKE) -f Makefile.$$build_os.mk $(MAKECMDGOALS)

git-submodules:
@if [ ! -f frida-core/meson.build ]; then \
git submodule init; \
git submodule update; \
fi
-include git-submodules

define make-update-submodule-stamp
$1-update-submodule-stamp: git-submodules
@mkdir -p build
@cd $1 \
&& git log -1 --format=%H > ../build/.$1-submodule-stamp.tmp \
&& git status >> ../build/.$1-submodule-stamp.tmp \
&& git diff >> ../build/.$1-submodule-stamp.tmp
@if [ -f build/.$1-submodule-stamp ]; then \
if cmp -s build/.$1-submodule-stamp build/.$1-submodule-stamp.tmp; then \
rm build/.$1-submodule-stamp.tmp; \
else \
mv build/.$1-submodule-stamp.tmp build/.$1-submodule-stamp; \
fi \
else \
mv build/.$1-submodule-stamp.tmp build/.$1-submodule-stamp; \
fi
endef
$(foreach m,$(modules),$(eval $(call make-update-submodule-stamp,$m)))
git-submodule-stamps: $(foreach m,$(modules),$m-update-submodule-stamp)
-include git-submodule-stamps

.PHONY: all $(MAKECMDGOALS)
Loading

0 comments on commit f7cace9

Please sign in to comment.