-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
57 lines (43 loc) · 2.25 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Flow
----
Flow is a simple branch tracer for OSX (and iOS when I can be bothered to
write the ARM code)
Basically you run it like a debugger (because thats what it is); it can attach
or spawn a process. It halts the process and searches forward until it hits a
branch instruction; jmp, call, ret, syscall etc. It then sets a breakpoint on
that instruction and runs the program until the breakpoint. It then single
steps and starts again.
Basically, the output is trace log file with every block of code; a block
being a group of instructions starting with the destination of the last branch
and ending with the next branch (you also get the branch type).
You can then use FlowCalls.py to dump the call tree out in a terminal window.
Building
--------
Its an XCode project so nothing too difficult; you will need a self signed cert
created like this: https://llvm.org/svn/llvm-project/lldb/trunk/docs/code-signing.txt
and a built copy of distorm in the distorm directory: http://www.ragestorm.net/distorm/
TODO/Issues
-----------
* ARM Support
* Springboard Launch
* Log out thread info
* Check all threads are handled correctly when attaching to a running
multithreaded process
License (MIT style)
-------------------
Copyright (c) 2012 Mountainstorm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.