<commit_before><template lang="jade">
    li
        a(v-on:click='onClick()') {{ Number(func.address).toString(16).padStart(8, '0') }}
</template>

<style lang="scss" scoped>
li {
    display: block;
}
</style>

<script lang="ts">
module.exports = {
    props: ['func'],
    methods: {
        onClick() {
            this.$emit('functionClick', this.func)
        }
    }
}
</script><commit_msg>Mark functions that failed to decompile in GUI<commit_after><template lang="jade">
    li(v-bind:class='classObj')
        a(v-on:click='onClick()') {{ Number(func.address).toString(16).padStart(8, '0') }}
</template>

<style lang="scss" scoped>
li {
    display: block;
}

.decompile-fail {
    background-color: darkred;
}
</style>

<script lang="ts">
module.exports = {
    props: ['func'],
    computed: {
        classObj() {
            return {
                'decompile-fail': this.func.status != 'BoundsResolved'
            }
        },
    },
    methods: {
        onClick() {
            this.$emit('functionClick', this.func)
        }
    },
}
</script>
{'fraction_non_alphanumeric': 0.18574108818011256, 'fraction_numerical': 0.0075046904315197, 'mean_word_length': 2.4869281045751634, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2112438', 'n_tokens_mistral': 360, 'n_tokens_neox': 358, 'n_words': 63}