• Stars
    star
    190
  • Rank 203,739 (Top 5 %)
  • Language
    Swift
  • Created almost 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A reverse engineering tool to restore stripped symbol table and dump Objective-C class or Swift types for machO file.

resymbol

A reverse engineering tool to restore stripped symbol table and dump Objective-C class or Swift types for machO file.

class-dump

❯ git clone https://github.com/paradiseduo/resymbol.git
❯ cd resymbol
❯ ./build-macOS_x86.sh
❯ ./resymbol
OVERVIEW: resymbol v1.0.0

Restore symbol

USAGE: resymbol <file-path> [--ipa] [--symbol]

ARGUMENTS:
  <file-path>             The machO/IPA to restore symbol.

OPTIONS:
  -i, --ipa               If restore symbol ipa, please set this flag.
                          Default false mean is machO file path.
  -s, --symbol            Dump Symbol Table.
  --version               Show the version.
  -h, --help              Show help information.

Example

❯ ./resymbol resymbol > result
❯ cat result
struct Methods {
    let baseMethod: DataStruct
    let elementSize: DataStruct
    let elementCount: DataStruct
    let methods: Swift.Array<Method>?
}

struct MethodName {
    let name: DataStruct
    let methodName: DataStruct
}

struct segment_command_64 {
    let cmd: Swift.UInt32
    let cmdsize: Swift.UInt32
    let segname: Swift.Int8
    let vmaddr: Swift.UInt64
    let vmsize: Swift.UInt64
    let fileoff: Swift.UInt64
    let filesize: Swift.UInt64
    let maxprot: Swift.Int32
    let initprot: Swift.Int32
    let nsects: Swift.UInt32
    let flags: Swift.UInt32
}

struct mach_header_64 {
    let magic: Swift.UInt32
    let cputype: Swift.Int32
    let cpusubtype: Swift.Int32
    let filetype: Swift.UInt32
    let ncmds: Swift.UInt32
    let sizeofcmds: Swift.UInt32
    let flags: Swift.UInt32
    let reserved: Swift.UInt32
}
........

restore symbol table

To do...

Thanks

https://github.com/neil-wu/SwiftDump

https://github.com/nygard/class-dump

https://juejin.cn/post/6919034854159941645

Stargazers over time

Stargazers over time

More Repositories

1

ShadowsocksX-NG-R8

ShadowsocksX-NG-R for MacOS, ShadowsocksR
Swift
1,372
star
2

appdecrypt

appdecrypt is a tool to make decrypt application encrypted binaries on macOS when SIP-enabled (macOS 11.3 or below)
Swift
732
star
3

ApplicationScanner

An open source application scanning tool
Python
448
star
4

ClashXR

A rule based custom proxy with GUI for Mac base on clash.
Swift
446
star
5

IPAPatch

Patch iOS Apps, The Easy Way, Without Jailbreak.
Objective-C
375
star
6

tcping

tcping command, written with Objective-C, on macOS,tcping for mac,ping over a tcp connection
Objective-C
297
star
7

Trojan

GUI for trojan client on macOS, trojan for mac, written by Swift
Swift
171
star
8

inject

Command Line Tool for interacting with MachO binaries on OSX/iOS
Swift
149
star
9

dsdump

An improved nm + Objective-C & Swift class-dump
Python
129
star
10

GTA5-NativeTrainer

GTA5 Epic最新版修改器(汉化版)
33
star
11

AntiFrida

What is Frida,Why is Frida, How about Frida
JavaScript
31
star
12

Frida-Class-Dump

ios application class-dump use frida
Swift
30
star
13

Kcptun

GUI for kcptun client on macOS, kcptun for mac, written by Swift
Swift
26
star
14

Converter

Convert an IPA (iOS) to mac App (M1)
Swift
25
star
15

subweb

Utility to convert between various subscription format
HTML
24
star
16

Anti-Disassembly-On-Arm64

Objective-C
18
star
17

fridahook

常用测试脚本
JavaScript
17
star
18

TTNetworkManager

SSL pinning that TikTok/抖音
JavaScript
15
star
19

YSDTool

10
star
20

ClassView

一款适用于iOS的隐私合规检测工具
Swift
9
star
21

ida-swift-demangle

A tool to demangle Swift function names in IDA.
Python
5
star
22

dsc_extractor

dsc_extractor
C
5
star
23

FreeNovelDownload

听说你想下载免费小说?
Go
5
star
24

LetMeCode

LeetCode练习,每日一道,强身健体
Go
3
star
25

paradiseduo

3
star
26

Konverter

Konverter can help you quickly convert URL encode(decode), uppercase and lowercase, md5, sha256, Base64 encode(decode), Unicode encode(decode), Hex encode(decode), SSR encode(decode), SS encode(decode),HTML encode(decode) on macOS
Objective-C
3
star
27

mobileprovision

Quick search connect device in which mobileprovision
Python
3
star
28

EW

2
star
29

force

使用golang编写的服务弱口令检测
Go
2
star
30

PlistReader

An application can read other application's plist file.
Objective-C
2
star
31

AppleReview

A python tool to help apple review your code and ipa
Python
2
star
32

ImageHub

Shell
2
star
33

Tiktok

Tiktok是一个AST扫描器,用于发现敏感函数调用链,方便通过静态扫描的方式提前做隐私合规水位预警
Swift
2
star
34

QRcode

Mac QR Code scan application
C++
1
star
35

paradiseduo.github.io

HTML
1
star
36

RzUpdater

fix RzUpdater crash
1
star
37

puzzle

Objective-C
1
star