executable

What are possible causes of “failed to map segment from shared object: operation not permitted”, and how to debug?

浪子不回头ぞ 提交于 2019-12-18 04:35:12
问题 I have two executables, both cross compiled to run in Android. I have put both on the device in the same directory. I have put all the shared libraries that they are dependent on in the same directory, including ld-linux.so.3. I run the executables by using: ld-linux.so.3 --library-path /path/to/libraries executable_name both work on older versions of Android when running as any user. The both work on the latest version of Android if running as root. Only one works on the latest version of

Not a valid Win32 application

流过昼夜 提交于 2019-12-18 04:09:51
问题 I have a project I have built in Visual Studio 2010 on a Windows 7 machine. It compiles and runs without a problem. When I place the application on a XP machine with .NET 4 it does not run with the error "is not a valid Win32 application" I tried everything here with no luck: http://blogs.msdn.com/b/dsvc/archive/2009/06/19/troubleshooting-not-a-valid-win32-application-error-at-the-startup.aspx I have no idea what is wrong. Any ideas? Thanks FYI: bindump: Microsoft (R) COFF/PE Dumper Version

How to convert a .java or a .jar file into a Linux executable file ( without a .jar extension, which means it's not a .jar file )

你说的曾经没有我的故事 提交于 2019-12-18 03:44:23
问题 I have been searching for many similar posts about this but I still can't find my answer. I want to convert a .java program into a Linux executable file, without the .jar extension. How can I do it? I am trying to use Launch4j java wrapper, JWrapper, IzPack, making a .sh, making a .bat, running it using java -jar myFile.jar etc. but none of them worked. Some procedures are complicated and difficult to debug. Is there any straightforward way to convert a .java file or .jar file into a Linux

How to convert a .java or a .jar file into a Linux executable file ( without a .jar extension, which means it's not a .jar file )

元气小坏坏 提交于 2019-12-18 03:44:04
问题 I have been searching for many similar posts about this but I still can't find my answer. I want to convert a .java program into a Linux executable file, without the .jar extension. How can I do it? I am trying to use Launch4j java wrapper, JWrapper, IzPack, making a .sh, making a .bat, running it using java -jar myFile.jar etc. but none of them worked. Some procedures are complicated and difficult to debug. Is there any straightforward way to convert a .java file or .jar file into a Linux

How to determine a windows executables DLL dependencies programmatically?

江枫思渺然 提交于 2019-12-17 18:38:27
问题 How to determine what DLL's a binary depends on using programmatic methods? To be clear, I am not trying to determine the DLL dependencies of the running exec, but of any arbitrary exec (that may be missing a required DLL). I'm looking for a solution to implement in a C/C++ application. This is something that needs to be done by my application at runtime and can't be done by a third party app (like depends). 回答1: Take a look at the IMAGE_LOAD_FUNCTION API. It will return a pointer to a LOADED

How does DOS load a program into memory?

*爱你&永不变心* 提交于 2019-12-17 18:18:56
问题 What steps does MS-DOS take to load a COM or EXE file into memory? Are there still references online as to how this happens? The best I can think of is possibly referring to dosbox source. 回答1: When command.com is asked to execute a .com or .exe file, it will call the interrupt service 21h/AH=4B, the EXEC service. It is up to the calling program to: build a DOS EXEC parameter block (see http://www.delorie.com/djgpp/doc/rbinter/it/90/15.html ) (includes information on environment variables,

Encryption for Executable

房东的猫 提交于 2019-12-17 16:23:32
问题 Can anyone recommend what's a good way to encrypt an executable? I was trying to use AxCrypt but I don't like the usage, i.e. you specify a passcode and the person who launches the exe needs to specify the passcode. Is there someway to encrypt it once and users just run the exe without specifying any passwords? 回答1: It's basically pointless. If it's a .NET or Java program, obfuscators can improve performance and decrease the executable size and make it difficult to reverse engineer. Packers

How do I tell if a win32 application uses the .NET runtime

不打扰是莪最后的温柔 提交于 2019-12-17 16:23:29
问题 How do I tell if an executable is a .NET application? I prefer not to have to install Visual Studio. But if I have to I will. A commandline program is preferred. 回答1: PEVerify will do that :) 回答2: An application is a .NET executable if it requires mscoree.dll to run. You can check for this using the Dependency Walker, but in general any tool that gives you the list of required DLL's to run will do. If you want to know if a running process is a .NET process, I can only recommend Process

How can I convert a VBScript to an executable (EXE) file? [closed]

你说的曾经没有我的故事 提交于 2019-12-17 15:55:19
问题 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 last year . I'd looked around for information to convert a VBScript (*.vbs) to an executable and realised that most of the tools available are actually wrapping the script in the executable. Tried a few tools and it didn't worked as well as expected. I tried IExpress (in Windows XP) to create

Executable war file that starts jetty without maven

与世无争的帅哥 提交于 2019-12-17 15:00:08
问题 I'm trying to make an "executable" war file ( java -jar myWarFile.war ) that will start up a Jetty webserver that hosts the webapp contained in the WAR file I executed. I found a page that described how to make what I'm looking for: However, following that advice along with how I think I'm supposed to make an executable jar (war) isn't working. I have an Ant task creating a WAR file with a manifest that looks like: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 1.5.0_18-b02