• Stars
    star
    168
  • Rank 218,242 (Top 5 %)
  • Language
    Swift
  • Created over 2 years ago
  • Updated 8 months 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,361
star
2

appdecrypt

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

ClashXR

A rule based custom proxy with GUI for Mac base on clash.
Swift
440
star
4

ApplicationScanner

An open source application scanning tool
Python
417
star
5

IPAPatch

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

tcping

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

Trojan

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

inject

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

dsdump

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

GTA5-NativeTrainer

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

Kcptun

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

Converter

Convert an IPA (iOS) to mac App (M1)
Swift
23
star
13

subweb

Utility to convert between various subscription format
HTML
20
star
14

Frida-Class-Dump

ios application class-dump use frida
Swift
19
star
15

AntiFrida

What is Frida,Why is Frida, How about Frida
JavaScript
19
star
16

Anti-Disassembly-On-Arm64

Objective-C
17
star
17

TTNetworkManager

SSL pinning that TikTok/抖音
JavaScript
11
star
18

YSDTool

10
star
19

ClassView

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

dsc_extractor

dsc_extractor
C
5
star
21

FreeNovelDownload

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

LetMeCode

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

paradiseduo

3
star
24

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
25

mobileprovision

Quick search connect device in which mobileprovision
Python
3
star
26

EW

2
star
27

force

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

PlistReader

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

AppleReview

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

ImageHub

Shell
2
star
31

Tiktok

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

QRcode

Mac QR Code scan application
C++
1
star
33

RzUpdater

fix RzUpdater crash
1
star
34

paradiseduo.github.io

HTML
1
star
35

puzzle

Objective-C
1
star