mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
feature: show function size in dropdown
This commit is contained in:
@@ -79,10 +79,10 @@
|
|||||||
{% if exports != None %}
|
{% if exports != None %}
|
||||||
<select class="form-select" name="dllfunc" aria-label="DLLFUNC" onchange="this.form.submit()">
|
<select class="form-select" name="dllfunc" aria-label="DLLFUNC" onchange="this.form.submit()">
|
||||||
{% for export in exports %}
|
{% for export in exports %}
|
||||||
<option value="{{export}}"
|
<option value="{{export['name']}}"
|
||||||
{% if export in project.settings.dllfunc %} selected {% endif %}
|
{% if export["name"] in project.settings.dllfunc %} selected {% endif %}
|
||||||
>
|
>
|
||||||
{{export}}</option>
|
{{export['name']}} ({{export['size']}})</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ def project(name):
|
|||||||
is_64 = superpe.is_64()
|
is_64 = superpe.is_64()
|
||||||
is_dotnet = superpe.is_dotnet()
|
is_dotnet = superpe.is_dotnet()
|
||||||
if superpe.is_dll():
|
if superpe.is_dll():
|
||||||
exports = superpe.get_exports()
|
exports = superpe.get_exports_full()
|
||||||
|
|
||||||
project_dir = os.path.dirname(os.path.abspath(project.settings.inject_exe_out))
|
project_dir = os.path.dirname(os.path.abspath(project.settings.inject_exe_out))
|
||||||
log_files = get_logfiles(project.settings.main_dir)
|
log_files = get_logfiles(project.settings.main_dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user