Struct retdec::decompilation::Decompilation [] [src]

pub struct Decompilation { /* fields omitted */ }

Decompilation from the decompiler service.

Methods

impl Decompilation
[src]

Returns the ID of the decompilation.

Does not access the API.

Has the decompilation finished?

Does not access the API, so the returned value may be outdated. In a greater detail, when it returns true, the decompilation has surely finished. However, when it returns false, the decompilation might or might not have finished. If you want to have an up-to-date information, use has_finished() instead.

Has the decompilation finished?

Accesses the API.

Has the decompilation succeeded?

Does not access the API, so the returned value may be outdated. If you want to have an up-to-date information, use has_succeeded() instead.

The returned value makes sense only when the decompilation has finished.

Has the decompilation succeeded?

Accesses the API.

The returned value makes sense only when the decompilation has finished.

Has the decompilation failed?

Does not access the API, so the returned value may be outdated. If you want to have an up-to-date information, use has_failed() instead.

The returned value makes sense only when the decompilation has finished.

Has the decompilation failed?

Accesses the API.

The returned value makes sense only when the decompilation has finished.

Returns the error message (if any).

Does not access the API, so the returned value may be outdated. If you want to have an up-to-date information, use get_error() instead.

Calling this method makes sense only when the decompilation has failed. Otherwise, it will always return None.

Returns the error message (if any).

Accesses the API.

Calling this method makes sense only when the decompilation has failed. Otherwise, it will always return None.

Waits until the decompilation has finished.

When this method returns Ok(), the decompilation has finished.

Accesses the API.

Returns the output code in the target high-level language (HLL).

The HLL type (C, Python') depends on the used decompilation arguments.

This function should be called only after the decompilation has successfully finished.

Accesses the API.

Returns the output code in the target high-level language (HLL) as a file.

The HLL type (C, Python') depends on the used decompilation arguments.

This function should be called only after the decompilation has successfully finished.

Accesses the API.