
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
remogatto-ffi-generator
Advanced tools
ffi-generator by Andrea Fazzi http://github.com/remogatto/ffi-generator/tree/master
== DESCRIPTION:
ffi-generator is a ruby-ffi wrapper code generator based on SWIG interface files.
ffi-generator is able to traverse a XML parse tree file generated by SWIG and to produce a ruby-ffi interface file from it.
ffi-generator is shipped with a command line tool (ffi-gen) and a rake task that automates the code generation process.
ffi-generator XML capabilities are provided by nokogiri.
== FEATURES/PROBLEMS:
== SYNOPSIS:
From command line:
ffi-gen mylib.xml mylib.rb
From a Rakefile:
require 'ffi-generator' FFI::Generator::Task.new :input_fn => 'my_interface_dir/*.i' output_dir => 'my_output_dir'
== REQUIREMENTS:
== DOWNLOAD/INSTALL:
To download and install the gem from github:
[sudo] gem sources -a http://gems.github.com [sudo] gem install remogatto-ffi-generator
To download the develpment trunk:
git clone git://github.com/remogatto/ffi-generator.git
== EXAMPLES:
See the examples in examples/ folder.
libc.i is an interface file containing some excerpt of libc functions.
wiiuse.i is a enough complex example of a C header file interface. It reproduces the content of wiiuse.h, the header file of the wiiuse library. wiiuse is a C library that handles the connection with Nintendo Wiimote devices. The interface file is almost a mere copy/paste from the original header file.
== QUICK START:
git clone git://github.com/remogatto/ffi-generator.git sudo apt-get install swig sudo gem install nokogiri rake cd ffi-generator/examples && rake ffi:generate
== LICENSE:
(The MIT License)
Copyright (c) 2008 Andrea Fazzi
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.
FAQs
Unknown package
We found that remogatto-ffi-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.