Skip to content

How do i turn off specific auto analysis in headless? I need mangled name of a function #5848

Closed Answered by ryanmkurtz
anzosasuke asked this question in Q&A
Discussion options

You must be logged in to vote

From a GhidraScript passed into headless with -prescript:

setAnalysisOption(currentProgram, "Demangler GNU", "false");

I did not test this, but used this existing script as an example:

public class TurnOffStackAnalysis extends GhidraScript {
public void run() throws Exception {
setAnalysisOption(currentProgram, "Stack", "false");
setAnalysisOption(currentProgram, "Function ID", "false");
/*if(currentProgram.getCompilerSpec().getCompilerSpecID().getIdAsString().equals("windows")){
setAnalysisOption(currentProgram, "Find and Create ASCII Strings", "t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@anzosasuke
Comment options

@ryanmkurtz
Comment options

@anzosasuke
Comment options

Answer selected by anzosasuke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants