LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2009, 04:05 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
program for scanning libraries


Hi all,
i'd like to scan a set of (C++ linux static) libraries for some specific type definitions/structures. I am trying to do that via a script- see post also, but my knowledge or rather the lack of it doesn't help a lot. So, i am also asking if there is a tool/program, that could help me out. A command-line one preferably, so that i could use it in a bash script maybe.

Thanks in advance.
 
Old 07-30-2009, 04:26 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You could use grep. Works in shell scripts too.
 
Old 07-30-2009, 04:29 AM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Unfortunately grep seems to work only for text files. My small search showed, that it's not the right tool for binary files. I'd be happy to be wrong by the way
 
Old 07-31-2009, 04:51 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Depending on what you want from the output of grep, it will work with binary files. Take a look at the man page.
 
  


Reply

Tags
definition, library, scan, structure, type



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to see which libraries a binary program needs r00tb33r Linux - Software 4 02-23-2008 05:22 AM
Hardware Scanning program errol_rufo Linux - Software 4 10-19-2005 10:03 PM
A Scanning Program The Stranger SUSE / openSUSE 2 07-12-2005 11:10 PM
Linking program with .a libraries rudy2 Programming 2 04-22-2005 05:36 AM
How to check which libraries does a program use? sceadu Programming 7 12-27-2004 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration