Skip to content

Instantly share code, notes, and snippets.

@FloatingGuy
FloatingGuy / Add_Break_Points.py
Created October 27, 2022 07:29
python 脚本 ReplaceBpt() 设置上次 调试时某个地址(oldFunAddr) 和本次地址空间中与上次调试对应代码的地址(newFunAddr);代码会自动修正 所有断点的位置 AutoReStoreBreaks() 设置 某个函数的起始地址(这里这个地址要和下次调试的位置对应上)从静态分析的 IDA中导出 断点信息到文件,再重新加载断点 动态调试 AutoAddBreaks() 设置 上次某个函数对应的起始地址。
from idc import *
'''
在ASLR 开启是每次调试的地址发生变化,修正 IDA 中断点的地址
'''
def ReplaceBpt():
numBpt = GetBptQty() - 1
oldFunAddr = 0xB648BD90 #上次动态调试 函数的地址
newFunAddr = 0xB6483D90 #本次函数的地址
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""@package docstring
模块注释Test some restrucutred Text docstrings.
It should process them into valid doxygen tags and formatings.
"""
import sys
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Tests the doxypypy filter.
These tests may all be executed by running tox from the
root level of the project.
"""
import unittest
from argparse import Namespace
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''@package docstring
这个模块的Documentation
More details.
@author 叫爸爸
@since 2022/6/1 宇宙大爆炸
@FloatingGuy
FloatingGuy / RTRouter.h
Last active October 18, 2018 06:52 — forked from rickytan/RTRouter.h
A app router designation
#import <Foundation/Foundation.h>
@class RTRouter;
typedef void(^RTRouteCompleteBlock)(void);
@protocol RTRoutable <NSObject>
@optional
+ (BOOL)routerDidRoutePattern:(NSString *)pattern
withParameters:(id)parameters