wabt
wabt copied to clipboard
Shall the objdump API be included in libwabtjs target
currently the target libwabtjs will export APIs:
validate(): void;
resolveNames(): void;
generateNames(): void;
applyNames(): void;
toText(options: ToTextOptions): string;
toBinary(options: ToBinaryOptions): ToBinaryResult;
destroy(): void;
is it possible to export the objdump API for the JS side, so if user want to get the objdump info, they do not need to start up a process?
I suppose the objDump() just return the text will be good, how do you think? Thank you.