This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POSTFIX=64 | |
ABI=armeabi-v7a | |
ANDROID_NDK=${ANDROID_NDK_ROOT} | |
CMAKE=${ANDROID_SDK_ROOT}/cmake/3.18.1/bin/CMAKE | |
BUILD_DIR=_build_${ABI} | |
WORKSPACE=`pwd` | |
[ -d ${BUILD_DIR} ] || mkdir ${BUILD_DIR} | |
cd ${BUILD_DIR} && ${CMAKE} -G "Unix Makefiles" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int print_map_list() | |
{ | |
struct mm_struct *mm; | |
struct vm_area_struct *vma; | |
char path_buf[PATH_MAX]; | |
// DEFINE_HASHTABLE(htable, 3); | |
// hash_init(htable); | |
mm = get_task_mm(current); | |
if (!mm) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ linux_elf git:(master) ✗ ./ftrace -s ./test2 -v -e | |
[+] 64bit ELF mode enabled! | |
[+] get_address_space from /proc/958020/maps | |
55953aae9000-55953aaea000 r--p 00000000 08:02 6566014 /share/linux_elf/test2 | |
[TRACE]addrstr = 55953aae9000 | |
[TRACE]addrstr = 55953aaea000 | |
55953aaea000-55953aaeb000 r-xp 00001000 08:02 6566014 /share/linux_elf/test2 | |
55953aaeb000-55953aaec000 r--p 00002000 08:02 6566014 /share/linux_elf/test2 | |
55953aaec000-55953aaee000 rw-p 00002000 08:02 6566014 /share/linux_elf/test2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"browser":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36","version":"0.0.3","createDate":1625188538869,"bookmarks":[{"children":[{"children":[{"title":"HeapDump","url":"https://www.one-tab.com/page/B7Q4RjP3QES96vzw5l1V5g"},{"title":"光照模型","url":"https://www.one-tab.com/page/ll0k2dZqTZKt_QdVlY0eeg"},{"title":"brrrrrf","url":"https://www.bilibili.com/"},{"title":"OneTab shared tabs","url":"https://www.one-tab.com/page/-RKJeEdZTXe7_d7Dxr7DYw"}],"title":"OneTab"},{"title":"增加到 ownCloud","url":"javascript:(function(){var a=window,b=document,c=encodeURIComponent,e=c(document.title),d=a.open('https://cloud.alphaz.cn/index.php/apps/bookmarks/bookmarklet?output=popup&url='+c(b.location)+'&title='+e,'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=400px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300);})();"},{"children":[{"title":"fir.im - Free beta app hosting servic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "offsets.h" | |
#include "math.h" | |
#include "utils.h" | |
struct Rect { | |
float x, y, width, heigh; | |
}; | |
struct Il2CppString; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "il2cpp.h" | |
#include <dlfcn.h> | |
#include "base/log.h" | |
namespace il2cpp | |
{ | |
// variables | |
intptr_t libbase; | |
void* libhandler = nullptr; | |
// api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Namespace: UnityEngine | |
public sealed class Mesh : Object // TypeDefIndex: 3069 | |
{ | |
// Properties | |
public IndexFormat indexFormat { get; set; } | |
public Int32 vertexBufferCount { get; } | |
public Int32 blendShapeCount { get; } | |
public Matrix4x4[] bindposes { get; set; } | |
public Boolean isReadable { get; } | |
internal Boolean canAccess { get; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* How to Hook with Logos | |
Hooks are written with syntax similar to that of an Objective-C @implementation. | |
You don't need to #include <substrate.h>, it will be done automatically, as will | |
the generation of a class list and an automatic constructor. | |
%hook ClassName | |
// Hooking a class method | |
+ (id)sharedInstance { | |
return %orig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** $Id: lauxlib.c,v 1.286 2016/01/08 15:33:09 roberto Exp $ | |
** Auxiliary functions for building Lua libraries | |
** See Copyright Notice in lua.h | |
*/ | |
#define lauxlib_c | |
#define LUA_LIB | |
#include "lprefix.h" |
NewerOlder