Skip to content

Commit

Permalink
This is the rest of the implementation.
Browse files Browse the repository at this point in the history
Yep, I suck at git. Should have added again after I fixed the bugs in my
original implementation...
  • Loading branch information
fuzyll committed Apr 13, 2017
1 parent 772034f commit 30f3113
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion export.cc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export_bin2binja(std::string &fname, Binary *bin, std::list<DisasmSection> *disa
fprintf(f, " bv.remove_function(f)\n");
fprintf(f, " for f in functions:\n");
fprintf(f, " print 'nucleus: defining function 0x%%x' %% (f)\n");
fprintf(f, " bv.add_function(f):\n");
fprintf(f, " bv.add_function(f)\n");
fprintf(f, "\n");
fprintf(f, "mark_functions()\n");

Expand Down
2 changes: 1 addition & 1 deletion options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int
parse_options(int argc, char *argv[])
{
int i, opt;
char optstr[] = "vwhd:t:a:fb:Dpg:i:e:";
char optstr[] = "vwhd:t:a:fb:Dpg:i:n:e:";
extern const char *binary_types_descr[][2];
extern const char *binary_arch_descr[][2];
std::string s;
Expand Down
1 change: 1 addition & 0 deletions options.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ struct options {

struct {
std::string ida;
std::string binja;
std::string dot;
} exports;

Expand Down

0 comments on commit 30f3113

Please sign in to comment.