Index: lnt/server/ui/static/lnt_profile.js =================================================================== --- lnt/server/ui/static/lnt_profile.js +++ lnt/server/ui/static/lnt_profile.js @@ -102,6 +102,21 @@ // TODO: add all control-flow-changing instructions. ], + X86_64JumpTargetRegexps: [ + // (regexp, noFallThru?) + // branch conditional: + [new RegExp("^\\s*j(?:(?:a)|(?:ae)|(?:b)|(?:be)|(?:c)|(?:ecxz)|(?:rcxz)" + "|(?:e)|(?:g)|(?:ge)|(?:l)|(?:le)|(?:na)|(?:nae)|(?:nb)" + "|(?:nbe)|(?:nc)|(?:ne)|(?:ng)|(?:nge)|(?:nl)|(?:nle)" + "|(?:no)|(?:np)|(?:ns)|(?:nz)|(?:o)|(?:p)|(?:pe)|(?:po)" + "|(?:s)|(?:z))?\\s+([^\\s]+)"), false], + [new RegExp("^\\s*loop(?:(?:e)|(?:ne)|(?:nz)|(?:z))?\\s+([^\\s]+)"), false], + // branch unconditional: + [new RegExp("^\\s*jmp\\s+([^\\s]+)"), true], + // ret + [new RegExp("^\\s*retq"), true], + ], + getJumpTargets: function(instruction, nextInstruction, cfg) { for(var i=0; iControl-Flow Graph (AArch64) +