We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f6be0 commit 2e2387dCopy full SHA for 2e2387d
CodeHawk/CHB/bchlibarm32/bCHDisassembleARM.ml
@@ -877,6 +877,24 @@ let record_call_targets_arm () =
877
finfo#set_call_target
878
ctxtiaddr (mk_app_target tgt#get_absolute_address)
879
end
880
+ | Branch _
881
+ | BranchExchange _
882
+ when system_info#has_call_target faddr instr#get_address ->
883
+ let calltgt = system_info#get_call_target faddr instr#get_address in
884
+ let ctinfo = mk_call_target_info calltgt in
885
+ let _ =
886
+ chlog#add
887
+ "call-back table target"
888
+ (LBLOCK [
889
+ STR "(";
890
+ faddr#toPretty;
891
+ STR ", ";
892
+ STR ctxtiaddr;
893
+ STR "): ";
894
+ ctinfo#toPretty
895
+ ]) in
896
+ finfo#set_call_target ctxtiaddr ctinfo
897
+
898
| _ -> ())
899
900
with
0 commit comments