From: Chris J. <ja...@ac...> - 2017-05-12 19:00:22
|
Hello All, I am trying to use Capstone.NET from my C# program, and I failed just running the unmodified basic example in Capstone.NET. Making CapstoneCMD the startup project didn't work and it crashes at runtime. I am not clear on the readme file. Here are my questions: What does X86 version of Capstone 3 mean? Is this about disassembling to (target?) but I'm more interested in Arm64, not X86. Is this about the machine running the program (host?)? My PC has a 64 processor, so both X86_32 and X64 should be executable. What does bitness mean here? There is only one version of C# and I build it for X86. -Capstone.NET alone fails. -capstone-3.0.5-rc2-win32>cstool.exe alone does NOT work on my machine, -capstone-3.0.5-rc2-win64>cstool.exe alone seems to work. -Adding either of 32 or 64 bit DLL ("capstone.dll") into Capstone.NET fails, because those dll-s don’t do the PInvoke. Please explain why that is necessary, I thought the base capstone.dll is only used indirectly from Gee.External.Capstone.Proxy.dll and specialization is done there? The nugget version looks like 2 years old. I'm not only learning capstone, capstone.net, and the Arm ISA architecture; I'm also just getting used to visual studio configuration and project files. And another question: Could Capstone.NET be built and used with Mono on Linux? Thank you for your support, Chris Chris Jacobi cj...@wh... |