Open Jackson070919 opened 1 year ago
DEVICE:
name end
def ==(o) o.class == self.class and o.name == self.name end
end
class Library < ObjectTarget attr_accessor :unknown,:warned,:shared
def initialize() super @unknown=[] @warned=false @shared=false @srcs=nil end def to_s libname end def libname @name.sub(/.*\//,'').sub(/\..*$/,'') end
class Executable < Library
def exename libname end
def cflags_re / (-[Df] ?[^ ]+)/ end def ldflags_re / (-(rdynamic|s|static|static-libgcc|static-libstdc++|shared|shared-libgcc|symbolic) )/ end def ldflags_opt_re / (-(Wl,|Xlinker|u) ?[^ ]+)/ end def include_re / -I([^ ]+)/ end def topwd_re /#{File.absolute_path(Dir.pwd).sub(/\/[^\/]+$/,'')+'/'}/ end def libs_re / -l([^\s]+)/ end def libsearch_re / -L([^\s]+)/ end def abslib_re /\/[^\s]+.(a|so(.[0-9]+)*)/ end def system_libs ["m","z","c","dl","stc++","gcc","gnustl_static","stlport_static","gnustl_shared","stlport_shared"] end def system_includes /sources\/cxx-stl\// end def system_cflags ["-fpie","-fpic","-fPIE","-fPIC"] end def system_ldflags ["-static","-shared"] end def extra_cflags ["-ffunction-sections", "-fdata-sections"] end def extra_ldflags [" -Wl,--gc-sections","-static"] end def cd_re /^cd\s+(?
cSploit version:
busybox (installed or not):
Rooted with supersu?
logcat (filter it!): How-to guide
Daemon specific questions
Go version:
OS:
Using Docker (incase of unofficial build.)
Actions performed:
Issue: Remember to search for issues alike before creating new one!
DEVICE:
name end
end
class Library < ObjectTarget attr_accessor :unknown,:warned,:shared
end
class Executable < Library
end
static variables...
def cflags_re / (-[Df] ?[^ ]+)/ end def ldflags_re / (-(rdynamic|s|static|static-libgcc|static-libstdc++|shared|shared-libgcc|symbolic) )/ end def ldflags_opt_re / (-(Wl,|Xlinker|u) ?[^ ]+)/ end def include_re / -I([^ ]+)/ end def topwd_re /#{File.absolute_path(Dir.pwd).sub(/\/[^\/]+$/,'')+'/'}/ end def libs_re / -l([^\s]+)/ end def libsearch_re / -L([^\s]+)/ end def abslib_re /\/[^\s]+.(a|so(.[0-9]+)*)/ end def system_libs ["m","z","c","dl","stc++","gcc","gnustl_static","stlport_static","gnustl_shared","stlport_shared"] end def system_includes /sources\/cxx-stl\// end def system_cflags ["-fpie","-fpic","-fPIE","-fPIC"] end def system_ldflags ["-static","-shared"] end def extra_cflags ["-ffunction-sections", "-fdata-sections"] end def extra_ldflags [" -Wl,--gc-sections","-static"] end def cd_re /^cd\s+(?
cSploit version:
busybox (installed or not):
Rooted with supersu?
logcat (filter it!): How-to guide
Daemon specific questions
Go version:
OS:
Using Docker (incase of unofficial build.)
Actions performed:
Logs:
Issue: Remember to search for issues alike before creating new one!