Coder Social home page Coder Social logo

richardleandro1 / assembly_ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xlsn0w/__asm__

0.0 0.0 0.0 169.13 MB

Shell 0.15% JavaScript 5.95% Ruby 0.01% C++ 11.81% Python 1.64% Perl 0.11% C 65.85% Objective-C 9.82% Lua 0.03% C# 0.01% Assembly 1.37% MATLAB 0.01% Awk 0.01% TypeScript 0.54% Forth 0.01% Logos 0.25% CSS 0.07% Objective-C++ 1.49% Swift 0.06% Makefile 0.85%

assembly_ios's Introduction

嵌入汇编代码

通过使用__asm__指令能够将汇编代码嵌入C函数中,构成反调试方法

int add(int num) {//内嵌汇编
    __asm__ __volatile__(
        "lsl x0, x0, 1\n"
        "str x0, [sp, #12]\n"
    );
    return num;
}

XNU内核是Darwin操作系统的一部分,可在macOS和iOS操作系统中使用。

XNU是X is Not Unix的缩写。

XNU是一个混合内核,它结合了卡内基梅隆大学开发的Mach内核,FreeBSD的组件以及用于编写称为IOKit的驱动程序的C ++ API。

XNU在x86_64上单处理器和多处理器配置运行。

XNU 源码树

config - 导出的api的配置以支持受支持的体系结构和平台
SETUP - 用于配置内核,版本控制和kextsymbol管理的基本工具集。
EXTERNAL_HEADERS - 标头来自其他项目,以避免在构建时出现依赖循环。 更新源时,应定期同步这些标头。
libkern - 用于处理驱动程序和kext的C ++ IOKit库代码。
libsa - 用于启动的内核引导程序代码
libsyscall - 用户空间程序的syscall库接口
libkdd - 用户库的源,用于解析内核数据(如内核组块数据)。
makedefs - 顶层规则并为内核构建定义。
osfmk - 基于Mach内核的子系统
pexpert - 平台特定的代码,例如中断处理,原子等。
security - 强制访问检查策略接口和相关实施。
bsd - BSD子系统代码
tools - 一组用于测试,调试和配置内核的实用程序。

assembly_ios's People

Contributors

xlsn0w avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.