This file contains 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
// | |
// Created by rainyx on 2022/4/16. | |
// | |
#include "IRMaker.h" | |
using namespace llvm; | |
using namespace std; | |
static bool hasTerminator(BasicBlock *BB) { |
This file contains 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
// | |
// main.cpp | |
// GoogleEarthHttpProxy | |
// | |
// Created by admin on 2021/4/22. | |
// | |
#include <stdio.h> | |
#include <Foundation/Foundation.h> | |
#import <mach-o/dyld.h> |
This file contains 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
#/bin/bash | |
echo Please type an input file path. \(e.g. "/Applications/ida750/ida.app/Contents/MacOS/libida64.dylib"\) | |
read input_file | |
#input_file='/Applications/ida750/ida.app/Contents/MacOS/libida64.dylib' | |
sym_addr=$(nm -a -P -t d $input_file | grep -m 1 '__ZN12tls_stream_t18verify_certificateEv' | awk '{print $3}') | |
if [ ! $sym_addr ] | |
then | |
echo Symbol \"tls_stream_t::verify_certificate\" can not found in the input file. | |
exit | |
fi |
This file contains 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
// | |
// main.c | |
// swinjector | |
// | |
// Created by rainyx on 13-7-24. | |
// Copyright (c) 2013年 __MyCompanyName__. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> |