General :: Looking For Tools To Analyze Code Complexity / Unit Testing For Embedded
Sep 11, 2010
I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps) with ARM-based processor. We use Eclipse IDE and C++ lanuage for development. Does anybody have recommendation for tools to analyze code complexity? The tools is better to support McCabe complexity metric, however, we may also consider others. Does anybody have recommendation for unit testing?
I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps). We will use Eclipse IDE and C++ lanuage. I hope the tools are easy-to-use, reliable, popular, better with good supports, and not-too-expensive. I already find a list of tools at WiKi, however, I don't have time to try them all. Could anyboy please recommend me a few? If you can tell me briefly about their pros and cons, that will be the bet.
i've put together a slackware box that acts as a "virtual web" to answer pings from devices that ping various pages (such as www.yahoo.com) to test their connectivity. this is for bench testing the devices to verify such complaints as "cannot connect to the internet" or "fails connectivity test". so far, so good, except for a few devices that seem to be also try to load a particular page wirh an embedded browser. this i need help with. currently, all that's needed to return a ping is to look at the DNS requests the device makes and add the requested web address (www.yahoo.com for instance) to the hosts file. what i need is a redirect to a particular html file based on the address requested (i.e. yahoopage.html for www.yahoo.com, lgepage.html for www.lge.com, etc) any deas on how to accomplish this?
what are the testing tools available to check the NS2 project.I have completed my network security project in network simulator for documentation i should submit testing report also. so i need to know any testing tools available for NS2 projects..
I would like to test network performance, to get statistic information. Is there any tools where I could specify partikular message size send as a constant for many times and in an output I could get time for each transaction? There is a tool called ApacheBench, it is for webserver testing, but I would like to find something similar for network testing. I have also tried Netpipe, Netperf, Iperf, but they do not show information in an output, which I would like to see.
I am trying to set up to serve Linux kernels and filesystems disklessly, and find the startup and test procedure a bit tedious.Can anyone point to a tool or tools to allow me to see what is going on with my DHCP/TFTP/PXE setup, which I'm trying to get working? Ideally, I'd like a tool that can do something like grab an IP from a DHCP/BOOTP server, tell me all about all that it found, and then if it was told to download a file, it could do that and tell me about how that went, and so on. Between the information reported by the tool and the droppings left in logfiles on the server side, I would hope to simplify the configuration process, as well as let me experiment with various options, etc. Even a PXE client tool that I can use to exercise my tftp PXE server configuration from a shell commandline would be extremely useful.If no such tool already exists, would anyone else find something like this useful?
I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.
What are some major rolling release distros? I know I've heard Debian testing is/can be, is this just a matter of changing "code-name whatever" to stable/testing? Arch was good but it just seemed a little to bleeding edge for my tastes (Though the documentation is far and away the best I've seen) What are some other rolling release distros?
Whenever I had to go through the source of particular open source project, first I need to find out the actual site or the developer of the project which/who contributes to open source, then I should download the source from that site.Is there any single site where I can download the source of any open source tools or open source projects .For ex: If I need to view the source of tool netstat I should be able to download from a site(could be tgz,tar.bz2...) and understand the code.
All the packages are maintained in debian but only as binary packages. May be I should look at source packages. Is there anything else available.Plz don't say sourceforge.net and freshmeat.com - since it does not maintain all the open source tools running in linux platform.I want to view the source of netstat command but unable to get the source from anywhere.
I want to write some script to do a job which is post some data to the website every one hours .I find some information say the Perl can do this job .I know I can write by the vim.but is these any tools can help for coding .may be it will prompt the class .what tools you use ?
I am currently looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps). We will use Eclipse IDE and C++ lanuage. I hope the tools are easy-to-use, reliable, popular, better with good supports, and not-too-expensive. I already find a list of tools at WiKi, however, I don't have time to try them all. Could anyboy please recommend me a few? If you can tell me briefly about their pros and cons, that will be the bet.
I have just set up my web server for the first time in Linux (used to be Windows 2003). I have a web site [URL], could someone with experience please check this web site to see if the PHP files are hidden (and therefor my PHP code can't be seen). If they can be seen then how do I hide the PHP files?
This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.
I need a tool to analyse the output of sar command. just like sarg which analyses the log files for http , squid etc . I need a similar tool for sar output analysis.
I have installed on my computer Solaris10 (64bit version), PCBSD8 (64bit) on 2 primary partitions and 7 Linux distributions (Redhat,Debian,OpenSuse,Fedora,LinuxMint,Slackware,Ubuntu) on the extended partition. I know this might be a stupid question, but here it goes: I have a problem with my actual power supply unit (the fan doesn't work as it should) and I will change it soon. Is there a problem with any of the Linux distributions if I change my power supply unit? I mean, will the Linux operating systems work properly with a new power supply unit or do I have to reinstall all Linux distributions?
I want to ensure I have done all I can to configure a system's disks for serious database use. The three areas I know of (any others?) to be concerned about are: I/O size: The database engine and disk's native size should either match, or the database's native I/O size should be a multiple of the disk's native I/O size. DMA: Disks that are capable of Direct Memory Access (eg. IDE) should be configured for it. Write-caching: When a disk says it has written data persistently, it must be so! No keeping it in cache and lying about it.
I have been looking for information on how to ensure these are so for CentOS and Ubuntu, but can't seem to find anything at all. I want to be able to check these things and change them if needed. The actual hardware involved is very modest. The point is to get the most out of what hardware we do have, even though it's "not very serious hardware" from a broader perspective.
I believe this should require new passwords to be 4 character classes only with minimum size =8 (uppercase, lowercase, digits, special chars) however running passwd also gives option of using word:word,word which only contains 2 of the required classes. Is there any way to fix this so only 4 character class passwords can be generated ?
I have deployed complexity before on other releases w/o problems.This one is a NIS server, but I have other NIS servers working fine. I even tried copying system-auth from a RH4/U2 NIS server which performs complexity to the RH4/U5 system - no luck. When I attempt to change a user password from a user acct, get message that password must be at least 6 characters. The system-auth file I am using dictates 12 characters with 4 different character cases. /etc/login.defs also has minimum length set to 12 - no idea where the 6 character limit is coming from. I also tried using cracklib.so with minlen=12 , no luck there either.
I must be losing it because I can't seem to find my answer on the google mechine. I need to enforce password complexity in ubuntu. I need min length, upper case, number and or special characters. I don't want to have to install pam_cracklib on all these boxes. I have looked at he common-password and it's not much.
I'm looking for a script which is testing how complex an "added" string is, for example like the user is changing his password and check how complex it is, if it included letters (lower/upper case), numbers and other characters.Im doing this for password check, the user type's the password and must be 6 characters long, have upper case letters lets say and numbers and so on.If anyone knows where I could find some bash script which is doing this, it would be really cool.