Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What, if any, are the differences between Dynamic Code Analysis and Penetration Testing? Are they related?
These are two concepts which barely have any relation at all.
Dynamic Code Analysis is the observation of a program while it is being executed to gain insight into the program and see what it does and how it does it.
Penetration Testing is an attempt to try out common exploits and hacking techniques on a system by or with permission of the owner. The intention is to detect security flaws so they can be fixed. Penetration testing does not necessarily focus on software. A good penetration test should cover all components of a system. This includes hardware, operating system, software and also the vulnerability of any human components to social engineering attempts.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Hello I would like to know how I can justify the time taken to execute this algorithm
My proposition for this algorithm is: 150+180N (is the length of F[])
Use a tool for micro benchmarking. https://openjdk.java.net/projects/code-tools/jmh/ is a project page where they wrote JMH, a Java micro benchmark tool.
You can integrate this tool into various projects in various ways. One way (if you are using Apache's Maven) is detailed here https://www.baeldung.com/java-microbenchmark-harness
Do not attempt to build your own code to capture timings. The timings of the JVM are not stable, simple, or consistent; unless you want to learn about and account for warm-up, JIT, in-lining, permgen, and a lot of JVM internals, odds are any tool you build will report incorrect information.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I recently found out about Android Studio's decompiler and a few questions arose as I'm currently involved in an Android project. I just tried it and it generated near perfect code, surprisingly.
How good are Java decompilers nowadays? Are there protection mechanisms to prevent decompilation? Any security concerns to have in mind?
Best.
This questions is too broad. So I will split the questions and answers:
How good are Java decompilers nowadays?
Very good. You are likely to get readable classes back.
Are there protection mechanisms to prevent decompilation?
Yes, things like code obfuscators, or even other alternatives
Any security concerns to have in mind?
All security concerns are best kept in mind, depending on your application.
Against decompilers?
Not really, your code should be readable and still dont pose a threat to the system or its users. The best concept here would be the "white box" concept, in wich your code does not need to be hidden.
If you are handling something that should not be know, try executing it in a controlled enviromment, such as a controlled webservice.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to improve a JAVA program performances using GPU programming.
After some research on the internet I found that it is possible if i use jcuda or jocl, but the problem is that the kernel code must be written in C in both cases.
and the algorithm that i want every thread to execute is very complicated to be written in C (it does some computations to know if there will be an accident between two aircrafts) so an object-oriented language is necessery.
Is there a solution ? or must we translate the whole project to C++ ?
Thanks for your help !
Simple rule: if it needs object orientation, it looses its performance. Even if you are using GPU acceleration.
I would advise you to identify the parallel parts of your program code. You do not have to transfer all of your algorithm to the GPU device. Is there any aspect of paralellization, e.g. arrays or grids that are filled?
What kind is your simulation message exchange? Is it explicit, i.e. sending messages around your kernels, or implicit via synchronization.
You should at least give us some more information about you algorithm and its data layout.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have a Java application that has a GUI for user interactions.
The GUI is implemented with SWT.
Now I want to make some Functional Tests for the application. As whitebox as possible.
I have been trying some frameworks like Maveryx, and SWTbot. But Maveryx is just a pain to configure and it didn't seem to integrate very well with a CI server. SWTBot I simply wasn't able to get it to find all the necessary classes after installing it on eclipse.
I would like to know what are other people using to test their Java GUI applications. And if possible to point me towards some tutorials about that frameworks.
Ours is awt/swing/java2d application . We use jemmy for it. According to the documentation it works with SWT as well. Please give it a try.
If you are willing to pay some money, Rational Functional Tester (very expensive) or Squish could be considered. Both are very good products, squish is significantly cheaper (or it used to be)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create a Java Desktop Application and want to employ some mechanism to protect my software from illegal copy. What is the general best approach to implement the serial number and activation protection for Java Application? If the user can activate the software correctly, where to store the activation info?
Thanks.
There can almost be only one answer: On your server, together with a significant part of your algorithm(s). If all the code has to be on the client, then all that could work is
Trusted computing (ultimately a hardware barrier)
Steganography (obfuscating, scattering, hiding, deceiving, ...)