Skip to content

Instantly share code, notes, and snippets.

:electron:
开源是因为开元

Youssef paradiseduo

:electron:
开源是因为开元
Block or report user

Report or block paradiseduo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@paradiseduo
paradiseduo / main.m
Created Feb 28, 2019 — forked from Skifary/main.m
替换所有block的实现
View main.m
//
// main.m
// TestObjc
//
// Created by Skifary on 14/03/2018.
// Copyright © 2018 skifary. All rights reserved.
//
#import <Foundation/Foundation.h>
@paradiseduo
paradiseduo / main.m
Created Feb 28, 2019 — forked from Skifary/main.m
修改block的实现,先打印参数,再输出原有实现
View main.m
#import <Foundation/Foundation.h>
#import "ffi.h"
NSMutableArray *g_allocations;
ffi_cif g_cif;
ffi_closure *g_closure;
void *g_replacement_invoke;
void *g_origin_invoke;
You can’t perform that action at this time.