Skip to main content

Questions tagged [control-flow-graph]

A control flow graph (CFG) is a representation, using graph notation, of all paths that might be traversed through a program during its execution. The control flow graph is due to Frances E. Allen, who notes that Reese T. Prosser used boolean connectivity matrices for flow analysis before.

0 votes
2 answers
51 views

I'm working on a decompiler for a language for which I only have the bytecode. I have this graph (and several others with similar patterns) for which I can't seem to figure out the actual pseudo-code ...
DeepQuantum's user avatar
-2 votes
1 answer
177 views

I am looking for efficient way to deobfuscate ollvm covered .so Android native lib. I was able to recover computed jumps (by manual patching), however I am struggling to recover control flow graph. Is ...
tart's user avatar
  • 3
2 votes
0 answers
91 views

When reverse engineering obfuscated javascript, it may be protected by anti-tamper mechanisms. I have a script which will work when run untouched, but cause a fatal javascript error when run in node ...
Semnodime's user avatar
  • 143
1 vote
0 answers
203 views

I need to make a dominator tree where I need to tell a function(a) dominates function(b). There is an API in GraphAlgorithms which needs GDirected graph and "vertex from" parameters, but I ...
Anzo Sasuke's user avatar
5 votes
2 answers
1k views

I've recently come across a binary that has been obfuscated with a very obscure protection. Obfuscation From what I understand, the obfuscator is effective in several ways. Multiple JMPs via relative ...
user avatar
1 vote
0 answers
493 views

I came into a problem, where I am unable to use a hardware due to a firmware incompatibility. As I have multiple sources and proofs that the hardware is indeed supported on the hardware level, and it ...
Fawkes's user avatar
  • 11
1 vote
0 answers
67 views

The Ethereum Virtual Machine uses a Virtual Instruction Set flavored for transaction processing that doesn’t use any registers and where all opcodes are a single byte long and have a single ABI for ...
user2284570's user avatar
3 votes
2 answers
2k views

I'm working on reverse engineering a firmware which I was able to get its functions control flow graphs to display successfully on Ghidra. I am trying to see if there is a way to save those control ...
Sparval's user avatar
  • 51
7 votes
1 answer
11k views

Lately I'm using Ghidra and I don't find the API to get the control flow graph of a given function. Can someone help me? Thank you in advance. EDIT: it is different from the other question (link) ...
Benny's user avatar
  • 73
1 vote
2 answers
2k views

I am looking to do some Data Flow Analysis via code. I have already the code that parses a binary and disassembles it (x86/x64) and creates Basic Blocks. Now what I would like to do is, for any Basic ...
fred26's user avatar
  • 319
3 votes
0 answers
91 views

There are some x86 instructions which containing a low-level** control flow in its semantics, for example div because its semantics is roughly as: if (source == 0) throw exception... else ...
Konstante's user avatar
  • 1,410
4 votes
2 answers
1k views

When I press the X key (list x-refs) on a function (sub_xyz) to see which functions call it, I only saw dd offset sub_xyz twice, with no call sub_xyz instructions. There is no another place that ...
Keystone's user avatar
  • 533
3 votes
1 answer
974 views

Is it possible to obtain a node and edge count for the IDA Pro graph overview? I'm able to obtain this if I generate a wingraph32 flowchart, but it seems that wingraph32 doesn't work for very large ...
user1118764's user avatar
3 votes
1 answer
2k views

I am trying to reverse engineer an executable that uses a lot of control flow flattening obfuscation (i.e, lots of subroutines that end with something like jmp esi, jmp eax) IDA Pro isn't able to ...
Jeremy's user avatar
  • 263
2 votes
2 answers
2k views

I'm reversing a binary dump of an older embedded target using IDA Pro 7.0. Now I have somehow managed to introduce a "pseudo graph node" that I for the love of god cannot make go away. The ...
RobitZee's user avatar

15 30 50 per page