Skip to content

Commit

Permalink
Handle Kotlin as an alias for Java in icc classdump ##bin
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored and trufae committed Oct 30, 2023
1 parent 40c9f50 commit ea6a155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/core/cbin.c
Original file line number Diff line number Diff line change
Expand Up @@ -3804,7 +3804,7 @@ static bool bin_classes(RCore *r, PJ *pj, int mode) {
const char *vlang = r_config_get (r->config, "bin.lang");
r_str_var (lang, 16, vlang);
if (*lang) {
if (!strcmp (lang, "java")) {
if (!strcmp (lang, "java") || !strcmp (lang, "kotlin")) {
classdump_java (r, c);
} else if (!strcmp (lang, "swift")) {
classdump_swift (r, c);
Expand Down

0 comments on commit ea6a155

Please sign in to comment.