2012-10-04 01:20:00 +02:00
|
|
|
include ../config.mk
|
2012-08-14 13:14:54 +02:00
|
|
|
include ../../global.mk
|
|
|
|
|
2009-02-05 22:08:46 +01:00
|
|
|
NAME=r_bin
|
2016-06-17 12:14:39 +02:00
|
|
|
DEPS=r_util r_io r_socket r_magic
|
2009-03-09 13:03:42 +01:00
|
|
|
|
2012-10-04 01:20:00 +02:00
|
|
|
.PHONY: pre
|
|
|
|
|
|
|
|
pre: $(LIBSO) $(LIBAR)
|
2013-12-22 03:24:12 +01:00
|
|
|
$(MAKE) -C p
|
2014-12-21 04:38:25 +01:00
|
|
|
$(MAKE) -C d
|
2009-03-09 13:03:42 +01:00
|
|
|
|
2011-02-28 09:45:29 +01:00
|
|
|
CFLAGS+=-DCORELIB -Iformat -Imangling
|
2010-03-30 17:37:15 +02:00
|
|
|
|
2009-03-09 13:03:42 +01:00
|
|
|
include ${STATIC_BIN_PLUGINS}
|
2010-09-24 21:23:13 +02:00
|
|
|
include ${STATIC_BIN_XTR_PLUGINS}
|
2011-07-19 00:12:36 +02:00
|
|
|
|
2012-08-14 13:14:54 +02:00
|
|
|
STATIC_OBJS=$(addprefix $(LTOP)/bin/p/, $(STATIC_OBJ))
|
2015-07-04 23:42:48 +02:00
|
|
|
OBJS=bin.o dbginfo.o bin_write.o demangle.o dwarf.o filter.o
|
2012-10-03 14:31:35 +02:00
|
|
|
OBJS+=mangling/cxx/cp-demangle.o ${STATIC_OBJS}
|
Add Microsoft C++ demangler
- Contains 20 commits:
- init work of demangler
- add some comments
- add parsing of name, class_name, namespace of objects(class and global)
- refactor
- add parsing of some type codes
- add skeleton of state machine for type code parsing
- add parsing of standard type for type codes state machine
- add parsing of type codes: _{J,K,T,Z,W}
- add parsing of types __m** and union
- add parsing of type codes: _m***, struct *
- add parsing of W type codes: enums...
- refactor getting of namespaces and name variables
- add class type code parsing
- add parsing of long double and bool
- add parsing of X * const volatile
- add parsing of * and & ( Q, R, S, A )
- add parsing of array
- integrate some initial part of microsofr demangler to rabin2
- fix some small bugs
- add parsing of variable storage class and do some small fix
2015-01-17 22:15:20 +02:00
|
|
|
OBJS+=mangling/demangler.o
|
|
|
|
OBJS+=mangling/microsoft_demangle.o
|
2015-02-19 21:31:24 +02:00
|
|
|
OBJS+=mangling/objc.o mangling/cxx.o mangling/msvc.o
|
2015-01-02 04:32:53 +01:00
|
|
|
OBJS+=mangling/swift.o mangling/swift-sd.o
|
2015-02-11 02:05:22 +01:00
|
|
|
OBJS+=mangling/dlang.o
|
2015-12-28 18:30:54 +01:00
|
|
|
OBJS+=pdb/pdb_downloader.o pdb/omap.o pdb/stream_pe.o pdb/gdata.o
|
2015-10-29 13:55:03 +01:00
|
|
|
OBJS+=pdb/fpo.o pdb/dbi.o pdb/tpi.o pdb/stream_file.o pdb/pdb.o
|
2014-07-09 11:00:41 +02:00
|
|
|
LINK+=$(SHLR)/java/libr_java.a
|
2009-03-09 13:03:42 +01:00
|
|
|
|
2012-08-14 13:14:54 +02:00
|
|
|
include $(TOP)/libr/rules.mk
|