rdf-smart 0.0.164 → 0.0.165
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rdf-smart.gemspec +2 -2
- metadata +1 -7
- data/ext/Makefile +0 -238
- data/ext/extconf.h +0 -3
- data/ext/mkmf.log +0 -70
- data/ext/rsm.o +0 -0
- data/ext/smart.o +0 -0
- data/ext/smart.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35348b067444f702625a409c557b9c39b4252b92
|
4
|
+
data.tar.gz: a4029976048792cfd7f5860cf58c6ec757c44807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efa7e87d00dee4c3b0c729811a7dd0085594f9ec511f2c30fa81a347f3e28dbdded911c45db1f887903e25f1b332fd9d1a9de09ba885d97ac960567dd9fec713
|
7
|
+
data.tar.gz: d21298229c9eb464e3d3b156faba42fd13fa807da995d54801f0a0acdcfea0286c359e669ede87f92fc9e7a375075667d658f6eb3eaa868f778ac8c902ea4c92
|
data/rdf-smart.gemspec
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'rdf-smart'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.165'
|
4
4
|
s.date = '2014-06-17'
|
5
5
|
s.summary ="RDF.rb segfaults. A lot. We don't. RDF.rb has lots of features. We don't."
|
6
6
|
s.description ="Minimal sparql support for ruby. Basically the roqet tool from http://librdf.org, with always guessing input type, and always json output."
|
7
7
|
s.authors = ["Florian Stertz", "Juergen 'eTM' Mangler"]
|
8
8
|
s.email = ['florian.stertz@gmail.com', 'juergen.mangler@gmail.com']
|
9
|
-
s.files = Dir['ext
|
9
|
+
s.files = Dir['ext/extconf.rb'] + Dir['lib/**/*'] + ['rdf-smart.gemspec','README.md'] + Dir['ext/rsm.c'] + Dir['ext/rsm.h']
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.require_paths = ['lib']
|
12
12
|
s.extensions = Dir['ext/extconf.rb']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-smart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.165
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Stertz
|
@@ -22,15 +22,9 @@ extensions:
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
24
|
- README.md
|
25
|
-
- ext/Makefile
|
26
|
-
- ext/extconf.h
|
27
25
|
- ext/extconf.rb
|
28
|
-
- ext/mkmf.log
|
29
26
|
- ext/rsm.c
|
30
27
|
- ext/rsm.h
|
31
|
-
- ext/rsm.o
|
32
|
-
- ext/smart.o
|
33
|
-
- ext/smart.so
|
34
28
|
- lib/rdf/smart.rb
|
35
29
|
- rdf-smart.gemspec
|
36
30
|
homepage: https://github.com/Triarier/rdf-smart
|
data/ext/Makefile
DELETED
@@ -1,238 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
# V=0 quiet, V=1 verbose. other values don't work.
|
5
|
-
V = 0
|
6
|
-
Q1 = $(V:1=)
|
7
|
-
Q = $(Q1:0=@)
|
8
|
-
ECHO1 = $(V:1=@:)
|
9
|
-
ECHO = $(ECHO1:0=@echo)
|
10
|
-
|
11
|
-
#### Start of system configuration section. ####
|
12
|
-
|
13
|
-
srcdir = .
|
14
|
-
topdir = /usr/include/ruby-2.1.0
|
15
|
-
hdrdir = $(topdir)
|
16
|
-
arch_hdrdir = /usr/include/x86_64-linux-gnu/ruby-2.1.0
|
17
|
-
PATH_SEPARATOR = :
|
18
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
19
|
-
prefix = $(DESTDIR)/usr
|
20
|
-
rubysitearchprefix = $(sitearchlibdir)/$(RUBY_BASE_NAME)
|
21
|
-
rubyarchprefix = $(archlibdir)/$(RUBY_BASE_NAME)
|
22
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
23
|
-
exec_prefix = $(prefix)
|
24
|
-
vendorarchhdrdir = $(sitearchincludedir)/$(RUBY_VERSION_NAME)/vendor_ruby
|
25
|
-
sitearchhdrdir = $(sitearchincludedir)/$(RUBY_VERSION_NAME)/site_ruby
|
26
|
-
rubyarchhdrdir = $(archincludedir)/$(RUBY_VERSION_NAME)
|
27
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
28
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
29
|
-
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
30
|
-
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
31
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
32
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
33
|
-
sitearchdir = $(DESTDIR)/usr/local/lib/x86_64-linux-gnu/site_ruby
|
34
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
-
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
36
|
-
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
37
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
38
|
-
sitearchincludedir = $(includedir)/$(sitearch)
|
39
|
-
archincludedir = $(includedir)/$(arch)
|
40
|
-
sitearchlibdir = $(libdir)/$(sitearch)
|
41
|
-
archlibdir = $(libdir)/$(arch)
|
42
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
43
|
-
mandir = $(prefix)/share/man
|
44
|
-
localedir = $(datarootdir)/locale
|
45
|
-
libdir = $(exec_prefix)/lib
|
46
|
-
psdir = $(docdir)
|
47
|
-
pdfdir = $(docdir)
|
48
|
-
dvidir = $(docdir)
|
49
|
-
htmldir = $(docdir)
|
50
|
-
infodir = $(prefix)/share/info
|
51
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
52
|
-
oldincludedir = $(DESTDIR)/usr/include
|
53
|
-
includedir = $(prefix)/include
|
54
|
-
localstatedir = $(DESTDIR)/var
|
55
|
-
sharedstatedir = $(prefix)/com
|
56
|
-
sysconfdir = $(DESTDIR)/etc
|
57
|
-
datadir = $(datarootdir)
|
58
|
-
datarootdir = $(prefix)/share
|
59
|
-
libexecdir = $(prefix)/lib/ruby2.1
|
60
|
-
sbindir = $(exec_prefix)/sbin
|
61
|
-
bindir = $(exec_prefix)/bin
|
62
|
-
archdir = $(rubyarchdir)
|
63
|
-
|
64
|
-
|
65
|
-
CC = gcc
|
66
|
-
CXX = g++
|
67
|
-
LIBRUBY = $(LIBRUBY_SO)
|
68
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
69
|
-
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
70
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
71
|
-
empty =
|
72
|
-
OUTFLAG = -o $(empty)
|
73
|
-
COUTFLAG = -o $(empty)
|
74
|
-
|
75
|
-
RUBY_EXTCONF_H = extconf.h
|
76
|
-
cflags = $(optflags) $(debugflags) $(warnflags)
|
77
|
-
optflags = -O3 -fno-fast-math
|
78
|
-
debugflags = -ggdb3
|
79
|
-
warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration
|
80
|
-
CCDLFLAGS = -fPIC
|
81
|
-
CFLAGS = $(CCDLFLAGS) -DRSM_VERSION=\"0.0.164\" -std=c99 -I/usr/include/rasqal -I/usr/include/raptor2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC $(ARCH_FLAG)
|
82
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
83
|
-
DEFS =
|
84
|
-
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -D_FORTIFY_SOURCE=2 $(DEFS) $(cppflags)
|
85
|
-
CXXFLAGS = $(CCDLFLAGS) -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security $(ARCH_FLAG)
|
86
|
-
ldflags = -lrasqal -lraptor2 -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/buildd/ruby2.1-2.1.1/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic
|
87
|
-
dldflags =
|
88
|
-
ARCH_FLAG =
|
89
|
-
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
90
|
-
LDSHARED = $(CC) -shared
|
91
|
-
LDSHAREDXX = $(CXX) -shared
|
92
|
-
AR = ar
|
93
|
-
EXEEXT =
|
94
|
-
|
95
|
-
RUBY_INSTALL_NAME = ruby2.1
|
96
|
-
RUBY_SO_NAME = ruby-2.1
|
97
|
-
RUBYW_INSTALL_NAME =
|
98
|
-
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
99
|
-
RUBYW_BASE_NAME = rubyw
|
100
|
-
RUBY_BASE_NAME = ruby
|
101
|
-
|
102
|
-
arch = x86_64-linux-gnu
|
103
|
-
sitearch = $(arch)
|
104
|
-
ruby_version = 2.1.0
|
105
|
-
ruby = $(bindir)/ruby2.1
|
106
|
-
RUBY = $(ruby)
|
107
|
-
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
|
108
|
-
|
109
|
-
RM = rm -f
|
110
|
-
RM_RF = $(RUBY) -run -e rm -- -rf
|
111
|
-
RMDIRS = rmdir --ignore-fail-on-non-empty -p
|
112
|
-
MAKEDIRS = /bin/mkdir -p
|
113
|
-
INSTALL = /usr/bin/install -c
|
114
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
115
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
116
|
-
COPY = cp
|
117
|
-
TOUCH = exit >
|
118
|
-
|
119
|
-
#### End of system configuration section. ####
|
120
|
-
|
121
|
-
preload =
|
122
|
-
|
123
|
-
libpath = . $(archlibdir) /usr/lib
|
124
|
-
LIBPATH = -L. -L$(archlibdir) -L/usr/lib
|
125
|
-
DEFFILE =
|
126
|
-
|
127
|
-
CLEANFILES = mkmf.log
|
128
|
-
DISTCLEANFILES =
|
129
|
-
DISTCLEANDIRS =
|
130
|
-
|
131
|
-
extout =
|
132
|
-
extout_prefix =
|
133
|
-
target_prefix = /rdf
|
134
|
-
LOCAL_LIBS =
|
135
|
-
LIBS = $(LIBRUBYARG_SHARED) -lrasqal -lraptor2 -lpthread -lgmp -ldl -lcrypt -lm -lc
|
136
|
-
ORIG_SRCS = rsm.c
|
137
|
-
SRCS = $(ORIG_SRCS)
|
138
|
-
OBJS = rsm.o
|
139
|
-
HDRS = $(srcdir)/extconf.h $(srcdir)/rsm.h
|
140
|
-
TARGET = smart
|
141
|
-
TARGET_NAME = smart
|
142
|
-
TARGET_ENTRY = Init_$(TARGET_NAME)
|
143
|
-
DLLIB = $(TARGET).so
|
144
|
-
EXTSTATIC =
|
145
|
-
STATIC_LIB =
|
146
|
-
|
147
|
-
TIMESTAMP_DIR = .
|
148
|
-
BINDIR = $(bindir)
|
149
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
150
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
151
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
152
|
-
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
153
|
-
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
154
|
-
|
155
|
-
TARGET_SO = $(DLLIB)
|
156
|
-
CLEANLIBS = $(TARGET).so
|
157
|
-
CLEANOBJS = *.o *.bak
|
158
|
-
|
159
|
-
all: $(DLLIB)
|
160
|
-
static: $(STATIC_LIB)
|
161
|
-
.PHONY: all install static install-so install-rb
|
162
|
-
.PHONY: clean clean-so clean-static clean-rb
|
163
|
-
|
164
|
-
clean-static::
|
165
|
-
clean-rb-default::
|
166
|
-
clean-rb::
|
167
|
-
clean-so::
|
168
|
-
clean: clean-so clean-static clean-rb-default clean-rb
|
169
|
-
-$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
|
170
|
-
|
171
|
-
distclean-rb-default::
|
172
|
-
distclean-rb::
|
173
|
-
distclean-so::
|
174
|
-
distclean-static::
|
175
|
-
distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
176
|
-
-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
177
|
-
-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
178
|
-
-$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
179
|
-
|
180
|
-
realclean: distclean
|
181
|
-
install: install-so install-rb
|
182
|
-
|
183
|
-
install-so: $(DLLIB) $(TIMESTAMP_DIR)/.RUBYARCHDIR.-.rdf.time
|
184
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
185
|
-
clean-static::
|
186
|
-
-$(Q)$(RM) $(STATIC_LIB)
|
187
|
-
install-rb: pre-install-rb install-rb-default
|
188
|
-
install-rb-default: pre-install-rb-default
|
189
|
-
pre-install-rb: Makefile
|
190
|
-
pre-install-rb-default: Makefile
|
191
|
-
pre-install-rb-default:
|
192
|
-
$(ECHO) installing default smart libraries
|
193
|
-
$(TIMESTAMP_DIR)/.RUBYARCHDIR.-.rdf.time:
|
194
|
-
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
195
|
-
$(Q) $(TOUCH) $@
|
196
|
-
|
197
|
-
site-install: site-install-so site-install-rb
|
198
|
-
site-install-so: install-so
|
199
|
-
site-install-rb: install-rb
|
200
|
-
|
201
|
-
.SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
|
202
|
-
|
203
|
-
.cc.o:
|
204
|
-
$(ECHO) compiling $(<)
|
205
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
206
|
-
|
207
|
-
.mm.o:
|
208
|
-
$(ECHO) compiling $(<)
|
209
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
210
|
-
|
211
|
-
.cxx.o:
|
212
|
-
$(ECHO) compiling $(<)
|
213
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
214
|
-
|
215
|
-
.cpp.o:
|
216
|
-
$(ECHO) compiling $(<)
|
217
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
218
|
-
|
219
|
-
.C.o:
|
220
|
-
$(ECHO) compiling $(<)
|
221
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
222
|
-
|
223
|
-
.c.o:
|
224
|
-
$(ECHO) compiling $(<)
|
225
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
|
226
|
-
|
227
|
-
.m.o:
|
228
|
-
$(ECHO) compiling $(<)
|
229
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
|
230
|
-
|
231
|
-
$(DLLIB): $(OBJS) Makefile
|
232
|
-
$(ECHO) linking shared-object rdf/$(DLLIB)
|
233
|
-
-$(Q)$(RM) $(@)
|
234
|
-
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
$(OBJS): $(HDRS) $(ruby_headers)
|
data/ext/extconf.h
DELETED
data/ext/mkmf.log
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
have_library: checking for main() in -lraptor2... -------------------- yes
|
2
|
-
|
3
|
-
"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/buildd/ruby2.1-2.1.1/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm -lc"
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: #include "ruby.h"
|
7
|
-
2:
|
8
|
-
3: int main(int argc, char **argv)
|
9
|
-
4: {
|
10
|
-
5: return 0;
|
11
|
-
6: }
|
12
|
-
/* end */
|
13
|
-
|
14
|
-
"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/buildd/ruby2.1-2.1.1/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.1 -lraptor2 -lpthread -lgmp -ldl -lcrypt -lm -lc"
|
15
|
-
conftest.c: In function ‘t’:
|
16
|
-
conftest.c:13:32: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
|
17
|
-
int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
18
|
-
^
|
19
|
-
checked program was:
|
20
|
-
/* begin */
|
21
|
-
1: #include "ruby.h"
|
22
|
-
2:
|
23
|
-
3: /*top*/
|
24
|
-
4: extern int t(void);
|
25
|
-
5: int main(int argc, char **argv)
|
26
|
-
6: {
|
27
|
-
7: if (argc > 1000000) {
|
28
|
-
8: printf("%p", &t);
|
29
|
-
9: }
|
30
|
-
10:
|
31
|
-
11: return 0;
|
32
|
-
12: }
|
33
|
-
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
34
|
-
/* end */
|
35
|
-
|
36
|
-
--------------------
|
37
|
-
|
38
|
-
have_library: checking for main() in -lrasqal... -------------------- yes
|
39
|
-
|
40
|
-
"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.1.0 -I/usr/include/ruby-2.1.0/ruby/backward -I/usr/include/ruby-2.1.0 -I. -D_FORTIFY_SOURCE=2 -g -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/buildd/ruby2.1-2.1.1/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic -lraptor2 -lruby-2.1 -lrasqal -lraptor2 -lpthread -lgmp -ldl -lcrypt -lm -lc"
|
41
|
-
conftest.c: In function ‘t’:
|
42
|
-
conftest.c:13:32: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
|
43
|
-
int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
44
|
-
^
|
45
|
-
checked program was:
|
46
|
-
/* begin */
|
47
|
-
1: #include "ruby.h"
|
48
|
-
2:
|
49
|
-
3: /*top*/
|
50
|
-
4: extern int t(void);
|
51
|
-
5: int main(int argc, char **argv)
|
52
|
-
6: {
|
53
|
-
7: if (argc > 1000000) {
|
54
|
-
8: printf("%p", &t);
|
55
|
-
9: }
|
56
|
-
10:
|
57
|
-
11: return 0;
|
58
|
-
12: }
|
59
|
-
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
60
|
-
/* end */
|
61
|
-
|
62
|
-
--------------------
|
63
|
-
|
64
|
-
extconf.h is:
|
65
|
-
/* begin */
|
66
|
-
1: #ifndef EXTCONF_H
|
67
|
-
2: #define EXTCONF_H
|
68
|
-
3: #endif
|
69
|
-
/* end */
|
70
|
-
|
data/ext/rsm.o
DELETED
Binary file
|
data/ext/smart.o
DELETED
Binary file
|
data/ext/smart.so
DELETED
Binary file
|