Could you enlight whether there is a way to print macros like
`synthesis_on
`synthesis_keep_hiear
into the RTL?
There currently is not. Would you mind filing an issue on the Firrtl repository with more details about your use case?
Related
Hello I have faced problem whenever I change language for workspace in erpnext it never fully translates everything. Any Advice how to make translations easy, fast and simple example
Please read the documentation.
https://frappeframework.com/docs/v13/user/en/guides/basics/contribute_translations
May be this documentation solve your problem.
Hi, I'm just wondering how you could obfuscate functions in iOS binary?
If you tried to reverse iOS binaries using tools like ida you will see part of the binaries have obfuscated functions like all or partly named sub_xxxxxxxx but the other have human readable functions
Someone said, add those lines to the top of your header without any further explaining:
#define SecurityClass ah7p
#define checkCopyProtection xcyc
What the methods used to secure your App?
Sorry for the dumb question, but I'm new there and I ended up with no answer explained what I need.
There are a couple of ways to obfuscate an iOS binary.
Open Source compiler named llvm-obfuscate (https://github.com/obfuscator-llvm/obfuscator/wiki) It has some nice features to obfuscate during compilation. You are replacing your default compiler with that one.
There are for Windows of course VMWare oder Themdia that can post process but that is not the case.
Besides that I just know one more which is Liasoft antispy. It is a very advanced anti analysis toolkit that allows you to encrypt functions and much more during compilation using mixed Objective-C and C++ code. ( https://www.liasoft.de/en/products/antispy/ )
Not sure if one of these is the right one for you. Except these things you are pretty lost since Objective-C is a compiled language with lots of metadata.
Hope I could help you, this is my first post.
If you only care about obfuscating method names then the easiest way is to write relevant parts of your application in C or C++. For instance, you can rewrite your SecurityClass as a C++ class instead of Objective-C class. This will not make your code reverse-engineering-proof, but it will at least raise the bar a bit. (NOTE: I'm not saying this is the right thing to do from software engineering point of view, though).
If you need to obfuscate code, then you are in a search for a tool that can do this. There are several such tools, both commercial and free. One project for doing exactly this is obfuscator-llvm.
In trying to use functions like zrvmul, vvsinf, and vvcosf (defined in vForce.h) I get "no matching function" errors. I am #including the accelerate framework, and have it linked in build phases. Moreover, I'm using other accelerate functions like vDSP_fft_zip with no trouble.
I can work around the problem using for loops, of course. But can anybody illuminate the situation for me? Is there a way to still use the vForce functions? If so how?
Solved:
My problem was that I passed some incorrect parameters to the functions - I needed to be more careful with pointers.
The error message was cryptic, and the issue of legacy macros was a red herring.
Recently I've done a small service (available in Github) to return a switch case structure from a given enum.
The next step is to achieve this behaviour as an Xcode code completion option when I begin typing the enumeration name.
What I want is to add a new option in this popup giving the possibility of generating a switch case with those three options.
I'm searching for documentation to make an Xcode plugin but I can't find much. My first question, and the most important is: is it possible to get the definition of a symbol while I'm typing it, to extract the data of the enum and generate the snippet?
You can have a look at KSImageNamed, an XCode plug-in used to add autocompletion on image name.
You can inspire yourself on its code.
KSImageNamed-Xcode
an alternative to what you are suggesting is to save it as a code snippet. it wont be dynamic like you probably want it, but if you are using the same enum over and over, it can work.
Does the Enumeration section here help?
https://developer.apple.com/library/ios/releasenotes/ObjectiveC/ModernizationObjC/AdoptingModernObjective-C/AdoptingModernObjective-C.html#//apple_ref/doc/uid/TP40014150
It states that NS_ENUM "improves code completion".
I just find a plugin that makes exactly what I wanted, SCXcodeSwitchExpander. It works like a charm :D
Are the clang C compiler's diagnostic messages (warning, errors, etc.) hard-coded, or does it provide a way to specify which language (as opposed to English) to emit them in? Could I provide a custom dictionary for it to use at runtime, without building my own clang from source?
Clang's diagnostics are currently hard-coded, but the system is designed to support localization. You can read some information about how it works here:
http://clang.llvm.org/docs/InternalsManual.html#Diagnostics
We'd really like help localizing. If this is an area that you're interested in helping out, please contact the cfe-dev mailing list!