Skip to content

Commit

Permalink
The work with mac0 coredumps so far
Browse files Browse the repository at this point in the history
  • Loading branch information
0xddom committed Mar 23, 2016
1 parent e3b182a commit bc4de53
Show file tree
Hide file tree
Showing 9 changed files with 844 additions and 17 deletions.
175 changes: 175 additions & 0 deletions binr/radare2/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Info.plist</key>
<data>
oR0LqYr2wE6s4Vd0vnIbnuWE53w=
</data>
<key>Jamroot</key>
<data>
hGukvPnv9gGrE+ngizAbc8Uua7I=
</data>
<key>Makefile</key>
<data>
j8mWULTqA+BUBlns31HvRAiR2rg=
</data>
<key>radare2.c</key>
<data>
7Brr9CBmbr7D7WXQ4KBWwTns8k8=
</data>
<key>radare2.d</key>
<data>
jiF7GvtlezccSezL56yaxOcIWU8=
</data>
<key>radare2.dSYM/Contents/Info.plist</key>
<data>
CDbbo2VKCrCavaX0w+ZGouU7ZOI=
</data>
<key>radare2.dSYM/Contents/Resources/DWARF/radare2</key>
<data>
N28qQjm5qza76HuRzK+uX/aSccQ=
</data>
<key>radare2.o</key>
<data>
nHLxMbdyqt0PNsFnO3Mt3O/+ras=
</data>
<key>radare2.xml</key>
<data>
dzdhECtGBVz2Mk4lhgUb0vyrz3Y=
</data>
</dict>
<key>files2</key>
<dict>
<key>Jamroot</key>
<data>
hGukvPnv9gGrE+ngizAbc8Uua7I=
</data>
<key>Makefile</key>
<data>
j8mWULTqA+BUBlns31HvRAiR2rg=
</data>
<key>radare2.c</key>
<data>
7Brr9CBmbr7D7WXQ4KBWwTns8k8=
</data>
<key>radare2.d</key>
<data>
jiF7GvtlezccSezL56yaxOcIWU8=
</data>
<key>radare2.dSYM/Contents/Info.plist</key>
<data>
CDbbo2VKCrCavaX0w+ZGouU7ZOI=
</data>
<key>radare2.dSYM/Contents/Resources/DWARF/radare2</key>
<data>
N28qQjm5qza76HuRzK+uX/aSccQ=
</data>
<key>radare2.o</key>
<data>
nHLxMbdyqt0PNsFnO3Mt3O/+ras=
</data>
<key>radare2.xml</key>
<data>
dzdhECtGBVz2Mk4lhgUb0vyrz3Y=
</data>
</dict>
<key>rules</key>
<dict>
<key>^</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
3 changes: 2 additions & 1 deletion libr/core/cmd_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -3131,7 +3131,8 @@ static int cmd_debug(void *data, const char *input) {
r_core_debug_esil (core, input + 1);
break;
case 'g':
r_debug_gcore(NULL,"");
if (core->dbg->h && core->dbg->h->gcore) core->dbg->h->gcore (core->dbg, input + 1);
eprintf ("Se ha llamado al plugin");
break;
default: {
const char* help_msg[] = {
Expand Down
2 changes: 1 addition & 1 deletion libr/debug/Jamroot
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DBG_OBJS = signal.c map.c trace.c arg.c debug.c plugin.c ;
DBG_OBJS += pid.c reg.c desc.c core.c ;
DBG_OBJS += pid.c reg.c desc.c ;

DBG_OBJS +=
p/debug_bf.c
Expand Down
2 changes: 1 addition & 1 deletion libr/debug/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CFLAGS+=-DXNU_USE_PTRACE=$(XNU_USE_PTRACE)
STATIC_OBJS=$(subst ..,p/..,$(subst debug_,p/debug_,$(STATIC_OBJ)))

OBJS=signal.o map.o trace.o arg.o debug.o plugin.o snap.o
OBJS+=pid.o reg.o desc.o esil.o core.o ${STATIC_OBJS}
OBJS+=pid.o reg.o desc.o esil.o ${STATIC_OBJS}

ifeq (${OSTYPE},darwin)
OBJS+= p/${NATIVE_OBJS}
Expand Down
Loading

0 comments on commit bc4de53

Please # to comment.